CN116436905B - 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 PDF

Info

Publication number
CN116436905B
CN116436905B CN202310427890.3A CN202310427890A CN116436905B CN 116436905 B CN116436905 B CN 116436905B CN 202310427890 A CN202310427890 A CN 202310427890A CN 116436905 B CN116436905 B CN 116436905B
Authority
CN
China
Prior art keywords
communication
terminal
identifier
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.)
Active
Application number
CN202310427890.3A
Other languages
Chinese (zh)
Other versions
CN116436905A (en
Inventor
王恒
郭远林
何永华
肖国海
欧喜鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou DSPPA Audio Co Ltd
Original Assignee
Guangzhou DSPPA Audio Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou DSPPA Audio Co Ltd filed Critical Guangzhou DSPPA Audio Co Ltd
Priority to CN202310427890.3A priority Critical patent/CN116436905B/en
Publication of CN116436905A publication Critical patent/CN116436905A/en
Application granted granted Critical
Publication of CN116436905B publication Critical patent/CN116436905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a network broadcast communication method, a device, a storage medium and a computer device, wherein when the computer device receives registration communication data sent by a current terminal, the computer device determines whether the registration communication data contains a communication identifier, and if the registration communication data contains the communication identifier, the computer device 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

Network broadcast communication method and device, storage medium and computer equipment
Technical Field
The present application 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, especially 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 application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the application, and that other drawings can be obtained from these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic flow chart of a networked broadcast communication method 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 for 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 structure 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 completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
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 equipment associated in the networked broadcast system platform, and fig. 1 shows a flow schematic diagram of the networked broadcast communication method, and specifically comprises the following steps:
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 carried out 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 the embodiment of the application, the computer equipment further determines whether the communication identifier is a valid identifier under the condition that the registered communication data sent by the current terminal contains 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 the embodiment of the application, if the registered communication data sent by the current terminal does not contain the communication identifier, the registered 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 the embodiment of the application, under the condition that the communication identifier is determined to be an effective identifier, the computer equipment further judges whether the communication identifier is included in the identifiers corresponding to all registered terminals which have completed registration, each registered terminal corresponds to one identifier, and judges whether the communication identifier is included in each identifier corresponding to all registered terminals which have been registered, so as to further determine whether the communication identifier is the same as the 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, and prevent the current terminal from impersonating the identifiers corresponding to other registered terminals.
In the embodiment of the application, if the communication identifier is a non-effective 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, 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, 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 networked broadcast communication between each networked terminal and the networked host in the same local area network, the terminal needs to apply for registration to the computer equipment first when the terminal performs the broadcast communication with the computer equipment corresponding to the networked host.
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 the embodiment of the application, when the terminal sends communication data to the computer equipment for broadcast communication, the terminal encrypts the communication data to be sent according to the secret key in the allocated communication identifier, and the communication data needs to contain 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 carrying out broadcast communication with the computer equipment, and only the communication data sent to the computer equipment can be accepted in the process of carrying out broadcast communication through the terminal registered in the computer equipment, so that the effectiveness of the terminal accessed to the computer equipment in the process of carrying out broadcast communication is ensured, and the safety of broadcast communication is improved.
Referring to fig. 2, in a specific implementation process of the method for network broadcast communication provided by 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 equipment can traverse the character segments of each preset position in the registration communication data, and the identification number and the secret key can exist at the specific position 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 secret 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 application, if the identification number and the secret key exist in the registered communication data at the same time, the existence of the communication identification in the registered communication data can be determined.
The network broadcast communication method provided by the embodiment of the application, the process for determining whether the communication identifier is an effective identifier, comprises the following steps:
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, 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 the embodiment of the application, the process of distributing the identity to the current terminal comprises the following steps:
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 the computer equipment needs to apply a preset decryption algorithm to decrypt the registration communication data in the process of verifying whether the registration communication data sent by the terminal contains the corresponding communication identifier or not, and then the character string traversal is carried out, so that each data character in the decrypted registration communication data is traversed, and whether the registration communication data contains the communication identifier or not is determined.
Referring to fig. 3, a specific example diagram provided by 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 the embodiment of the application, the terminal which is successfully registered can contain the own electronic identity 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.
The networked broadcast communication method provided by the embodiment of the application aims at the phenomenon that in the actual use of the prior technical scheme, abnormal networked terminal products are accessed into the 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 by 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 application further provides a networked broadcast communication device. 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 the registered communication data sent by the current terminal is received, whether the registered communication data contains a communication identifier or not is determined, and if the registered communication data contains the communication identifier, whether the communication identifier is an effective identifier or not 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 by 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 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.
Fig. 5 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application, and 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 present application and does not constitute a limitation of the computer device to which the present application is applied, and that a specific computer device may include more or less components than those shown in the drawings, or may combine some components, or have different arrangements of 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 (9)

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, and the identifier number is an electronic identity card number distributed to the terminal and is used for corresponding identity authentication of the terminal;
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 comprise the communication identity, determining the communication identity as the identity which is pre-allocated to the current terminal, executing corresponding registration operation on the current terminal to finish registration of the current terminal, and carrying out broadcast communication with the current terminal which finishes registration when receiving broadcast communication data sent by the current terminal which finishes registration;
the determining that the communication identifier is an identity identifier pre-allocated to the current terminal comprises the following steps:
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.
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 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.
5. 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.
6. A networked broadcast communication apparatus, comprising:
the first determining unit is used for determining whether the registered communication data comprise a communication identifier or not when receiving the registered communication data sent by the current terminal, wherein the communication identifier comprises an identifier number and a secret key, and the identifier number is an electronic identity card number distributed to the terminal and is used for corresponding identity authentication of the terminal;
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;
a communication unit, 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, so as to complete registration of the current terminal, and perform broadcast communication with the current terminal that has completed registration when broadcast communication data sent by the current terminal that has completed registration is received;
the determining that the communication identifier is an identity identifier pre-allocated to the current terminal comprises the following steps:
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.
7. The networked broadcast communication apparatus according to claim 6, 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.
8. 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 5.
9. 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 5.
CN202310427890.3A 2023-04-19 2023-04-19 Network broadcast communication method and device, storage medium and computer equipment Active CN116436905B (en)

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 CN116436905A (en) 2023-07-14
CN116436905B true 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 (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 珠海格力电器股份有限公司 A kind of method for message transmission, apparatus 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
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

Patent Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 珠海格力电器股份有限公司 A kind of method for message transmission, apparatus 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)

* Cited by examiner, † Cited by third party
Title
"SpringBoot注册登录(三):注册——验证账号密码是否符合格式及后台完成注册功能";野狼谷,;《www.cnblogs.com/yelanggu/p/ 10215875.html》;全文 *

Also Published As

Publication number Publication date
CN116436905A (en) 2023-07-14

Similar Documents

Publication Publication Date Title
EP3550783B1 (en) Internet of things device burning verification method and apparatus
CN109359691B (en) Identity verification method and system based on block chain
CN107979514B (en) Method and device for binding devices
CN108259502B (en) Authentication method for obtaining interface access authority, server and storage medium
CN106657152B (en) Authentication method, server and access control device
CN102955700A (en) System and method for upgrading software
CN113099443A (en) Equipment authentication method, device, equipment and system
CN110113355B (en) Internet of things cloud access method and device
CN111131300B (en) Communication method, terminal and server
CN107872445B (en) Access authentication method, device and authentication system
WO2006024216A1 (en) A method for implementing certificating and a system thereof
CN112565281B (en) Information processing method, server and system of service key
CN110995710A (en) Smart home authentication method based on eUICC
CN108881280B (en) Access method, content distribution network system and access system
KR20100101887A (en) Method and system for authenticating in communication system
CN114499999B (en) Identity authentication method, device, platform, vehicle, equipment and medium
CN110943840A (en) Signature verification method and system
CN108063748B (en) User authentication method, device and system
CN110598469A (en) Information processing method and device and computer storage medium
CN116436905B (en) Network broadcast communication method and device, storage medium and computer equipment
CN109743283B (en) Information transmission method and equipment
CN112818329B (en) Authentication method and device, user side, equipment side and storage medium
CN111835765B (en) Verification method and device
CN113326483A (en) Application program authorization method and related product
CN110381505B (en) Method and device for accessing network hard disk video recorder

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