CN113158170A - Equipment authentication method, device, computer equipment and storage medium - Google Patents

Equipment authentication method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN113158170A
CN113158170A CN202110365545.2A CN202110365545A CN113158170A CN 113158170 A CN113158170 A CN 113158170A CN 202110365545 A CN202110365545 A CN 202110365545A CN 113158170 A CN113158170 A CN 113158170A
Authority
CN
China
Prior art keywords
input source
media content
target
authentication
server
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.)
Pending
Application number
CN202110365545.2A
Other languages
Chinese (zh)
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.)
Miracle Intelligent Network Co ltd
Original Assignee
Miracle Intelligent Network 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 Miracle Intelligent Network Co ltd filed Critical Miracle Intelligent Network Co ltd
Priority to CN202110365545.2A priority Critical patent/CN113158170A/en
Publication of CN113158170A publication Critical patent/CN113158170A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a device authentication method, a device, a computer device and a storage medium. The method comprises the following steps: acquiring a target input source device identifier corresponding to the target input source device; receiving target authentication data sent by a server based on an authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes authentication and corresponds to the input source equipment; when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment; and triggering the media content playing equipment to play the media content to be played. By adopting the method, the media content playing device plays the media content to be played corresponding to the target input source device only when the target input source device is authenticated by the server, thereby effectively preventing the media content to be played of the illegal input source device from being accessed and ensuring the legality of the media content played by the media content playing device.

Description

Equipment authentication method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of information security technologies, and in particular, to a device authentication method, apparatus, computer device, and storage medium.
Background
Currently, most media content playing devices can realize the function of playing corresponding media content. The media content playing device can be used for playing media content in scenes such as party propaganda, advertisement announcement, festival celebration and the like.
In the conventional technology, when receiving data related to media content sent by a sending source device, a media content playing device cannot judge the identity of the data sending source device, which may cause that illegal media content may be easily played as long as an illegal device is accessed to the media content playing device, and the validity of the media content played by the media content playing device cannot be guaranteed.
Disclosure of Invention
In view of the above, it is necessary to provide a device authentication method, apparatus, computer device and storage medium for solving the above technical problems.
A method of device authentication, the method comprising: acquiring a target input source device identifier corresponding to the target input source device; receiving target authentication data sent by a server based on an authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes authentication and corresponds to the input source equipment; when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment; and triggering the media content playing equipment to play the media content to be played.
In one embodiment, the receiving the target authentication data sent by the server based on the authentication number includes: sending an authentication data acquisition request to a server; to trigger the server to respond to the authentication data acquisition request and return target authentication data based on the authentication number; and receiving the target authentication data returned by the server.
In one embodiment, the receiving the target authentication data sent by the server based on the authentication number further includes: receiving target authentication data sent by a server; and the target authentication data is generated by the server based on the authentication number after the input source equipment passes the authentication and is sent when the timing time is up.
In one embodiment, the target authentication data is generated by the server based on the input source device identification when the input source device identification matches the input source device registration number, and is generated based on the authentication number; the input source device registration number is generated by the server after the input source device completes registration.
In one embodiment, the obtaining the media content to be played corresponding to the target input source device when it is determined that the authentication number corresponding to the target authentication data matches the identifier of the target input source device includes: comparing the identifier of the target input source equipment with the identifier of the input source equipment in the target authentication data; when the target authentication data is consistent with the identification of the target input source equipment in comparison, judging the target input source equipment as legal equipment; acquiring media content to be played corresponding to the target input source device; and sending a playing instruction to the media content playing device so as to enable the media content playing device to play the media content to be played.
In one embodiment, the sending a playing instruction to a media content playing device to make the media content playing device play the media content to be played further includes: when the identification of the target input source equipment exists in the target authentication data, at least one of the size, the resolution and the content form of the media content to be played is checked; and when the media content to be played passes the verification, sending a playing instruction to the media content playing device so as to enable the media content playing device to play the media content to be played.
In one embodiment, the method further comprises the following steps: when the authentication number corresponding to the target authentication data is not matched with the target input source equipment identifier, sending a registration instruction to the target input source equipment, wherein the registration instruction comprises a registration page address; triggering the target input source equipment to acquire registration page data from the registration page address and displaying a target registration page based on the registration page data, and sending a registration request to a server when receiving registration triggering operation based on the target registration page; receiving target authentication data which is responded by the server to the registration request and returned based on the generated authentication number when the registration is completed; when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment; and triggering the media content playing equipment to play the media content to be played.
An apparatus for device authentication, the apparatus comprising: the device identifier receiving module is used for receiving a media content playing signal of the target input source device, wherein the media content playing signal carries the target input source device identifier and the media content to be played; the authentication data receiving module is used for receiving target authentication data sent by a server based on an authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes authentication and corresponds to the input source equipment; the identification matching module is used for receiving target authentication data returned by the server, and acquiring media content to be played corresponding to the target input source equipment when the authentication number corresponding to the target authentication data is determined to be matched with the identification of the target input source equipment; and the media content sending module is used for triggering the media content playing equipment to play the media content to be played carried in the media content playing signal.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program: acquiring a target input source device identifier corresponding to the target input source device; receiving target authentication data sent by a server based on an authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes authentication and corresponds to the input source equipment; when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment; and triggering the media content playing equipment to play the media content to be played.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of: acquiring a target input source device identifier corresponding to the target input source device; receiving target authentication data sent by a server based on an authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes authentication and corresponds to the input source equipment; when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment; and triggering the media content playing equipment to play the media content to be played.
The device authentication method, the device, the computer device and the storage medium acquire the target input source device identification, match the target input source device identification with the authentication number generated by the server after the input source device authentication is passed, acquire the media content to be played corresponding to the target input source device after the matching is successful, and forward the media content to be played to the media content playing device for playing.
Drawings
FIG. 1 is a diagram of an application environment of a method for device authentication in one embodiment;
FIG. 2 is a flow diagram illustrating a method for device authentication in one embodiment;
FIG. 3 is a flowchart illustrating the device identifier receiving step in one embodiment;
FIG. 4 is a schematic flow chart of the identification matching step in another embodiment;
FIG. 5 is a flow diagram illustrating a method for device authentication in one embodiment;
FIG. 6 is a block diagram showing the structure of an apparatus authentication device according to an embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The device authentication method provided by the application can be applied to the application environment shown in fig. 1. Server 102, input source device 104, digital signal processor 106, media content playback device 108. The server 102 is connected to the input source device 104 through a network, the server 104 is connected to the digital signal processor 106 through a network, and the digital signal processor 106 is connected to the media content playing device 108 through a private protocol. The digital signal processor acquires a target input source device identification corresponding to the target input source device; receiving target authentication data sent by a server based on an authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes authentication and corresponds to the input source equipment; when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment; and triggering the media content playing equipment to play the media content to be played. The server 102 may be implemented by an independent server or a server cluster composed of a plurality of servers; the input source device 104 may be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices; the digital signal processor 106 may be, but is not limited to, a personal computer, a notebook computer, a smart phone, a tablet computer, a portable wearable device, and a control card, wherein the control card may be a display screen control card, etc.; the media content playing device 108 may be implemented with an information screen or a terminal with a display screen, wherein the terminal with a display screen may be, but is not limited to, a personal computer, a notebook computer, a smart phone, a tablet computer, and a portable wearable device.
In one embodiment, as shown in fig. 2, a device authentication method is provided, which is described by taking the digital signal processor in fig. 1 as an example, and includes the following steps:
s202, acquiring a target input source device identification corresponding to the target input source device.
The target input source identifier is used to distinguish the input source device, and the identifier may be a number corresponding to the input source device, a hardware identification code of the input source device, an IP (Internet Protocol) Address where the input source device is located, a Media Access Control Address (MAC) Address, and the like. In one embodiment, taking a hardware identification code as an example, the target input source identification may be obtained by: the method comprises the steps of firstly obtaining a mainboard serial number, a central processing unit serial number and a hard disk serial number of target input source equipment, then encrypting the mainboard serial number, the central processing unit serial number and the hard disk serial number by using a Hash algorithm to generate a unique identification code, and finally splicing the mainboard serial number, the central processing unit serial number, the hard disk serial number and a universal unique identification code to generate a target input source equipment identifier. In one embodiment, the digital signal processor may also receive a target input source device identification that was previously transmitted by the target input source device.
Specifically, the digital signal processor obtains at least two of a mainboard serial number, a central processing unit serial number and a hard disk serial number of the target input source device, and encrypts at least two of the mainboard serial number, the central processing unit serial number and the hard disk serial number to obtain a target input source device identifier.
And S204, receiving target authentication data sent by the server based on the authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes the authentication and corresponds to the input source equipment.
The authentication number is a number corresponding to the input source device generated after all the input source devices pass the authentication on the server. The server can generate target authentication data based on the authentication number after obtaining the authentication number, wherein the authentication number can be directly determined as the target authentication data, or the authentication number and the authentication passing time and other information are integrated, and the integrated data is determined as the target authentication data, or the input source equipment identification and the authentication number are spliced back and forth to determine the target authentication data. In one embodiment, the identifier corresponding to the input source device is stored in the authentication table of the server corresponding to the corresponding authentication number. The server sends the authentication table to the digital signal processor.
In one embodiment, the target authentication data may correspond to all or part of the authentication number entered into the source device that the server has passed the authentication. Therefore, the authentication number corresponding to the target authentication data may be at least one.
Specifically, taking a digital signal processor as a control card as an example, after the input source device passes authentication on the server, the server sends the generated authentication number to the control card, and the control card receives authentication data sent by the server based on the authentication number and then selects target authentication data from the authentication data.
S206, when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identification, the media content to be played corresponding to the target input source equipment is obtained.
In one embodiment, after receiving the specified target authentication data sent by the server, the digital signal processor extracts an authentication number from the target authentication data, performs matching judgment on the authentication number and the target input source device identifier, and when it is determined that the target authentication data corresponds to the authentication number corresponding to the target input source device identifier, determines that the target input source device passes the authentication, and at this time, can play the media content to be played of the target input source device, thereby obtaining the media content to be played corresponding to the target input source device.
Specifically, taking a digital signal processor as an example of a control card, the control card traverses authentication data sent by a server, when an authentication number matched with the identifier of the target input source device is found from the authentication data, a to-be-played media content acquisition request is sent to the target input source device, and the target input source sends to-be-played media content to the control card based on the request.
S208, triggering the media content playing device to play the media content to be played.
The media content to be played can be local audio/video media content clipped by the user, or television programs and network audio/video media content. The input source device which passes the authentication can send the edited audio-video media content to the digital signal processor for storage. When a certain input source device uploads the edited audio and video media content to the digital signal processor, other input source devices can also upload the edited audio and video media content to the digital signal processor. The digital signal processor can sequentially forward the edited digital signal processors to the media content playing device according to the sequence of the uploading time of the media content, so that the media content playing device plays the media content to be played.
In one embodiment, the digital signal processor may send a play instruction to the media content playing device, and carry the media content to be played in the play instruction, so that the media content playing device plays the media content to be played carried in the media content playing device when receiving the play instruction.
In the device authentication method, the target input source device identification is obtained and matched with the authentication number generated by the server after the input source device authentication is passed, the media content to be played corresponding to the target input source device is obtained after the matching is successful, the media content to be played is forwarded to the media content playing device for playing, and the media content playing device plays the media content to be played corresponding to the target input source device only when the target input source device is authenticated by the server, so that the access of the media content to be played of the illegal input source device can be effectively prevented, and the legality of the media content played by the media content playing device is ensured.
In one embodiment, as shown in fig. 3, the receiving of the target authentication data sent by the server based on the authentication number includes:
s302, sending an authentication data acquisition request to a server; the trigger server responds to the authentication data acquisition request and returns target authentication data based on the authentication number;
in one embodiment, the digital signal processor sends an authentication data request to the server, triggering the server to return the authentication numbers of all input source devices that have passed the authentication at the server.
Specifically, taking a digital signal processor as an example of a control card, after the control card acquires a target input source device identifier corresponding to a target input source device, the control card sends an authentication data acquisition request to a server, and the server returns target authentication data to the control card in response to the authentication data acquisition request.
S304, receiving the target authentication data returned by the server.
In one embodiment, after the digital signal processor sends an authentication data request to the server, the server returns all the input source device hardware serial numbers, authentication completion time and corresponding authentication number digital signal processors that pass the authentication.
In one embodiment, the receiving the target authentication data sent by the server based on the authentication number further includes: receiving target authentication data sent by a server; and the target authentication data is generated by the server based on the authentication number after the input source equipment passes the authentication and is sent when the timing time is up.
That is, the digital signal processor may also directly receive the target authentication data transmitted from the server. The server may send the target authentication data to the dsp at intervals, for example, the server may send the target authentication data to the control card at intervals of 5 minutes. The control card receives and stores the target authentication data sent by the server, and when a new input source device completes authentication in the server, the server sends the updated target authentication data to the digital signal processor, and the digital signal processor replaces the original target authentication data according to the updated target authentication data.
In this embodiment, the media content playing device is ensured to receive only the media content to be played of the target input source device authenticated by the server by obtaining the authentication data composed of the authentication number of the target input source device that passes the authentication, thereby preventing the access of the illegal input source device.
In one embodiment, the target authentication data is generated by the server based on the input source device identification when the input source device identification matches the input source device registration number, and is generated based on the authentication number; the input source device registration number is generated by the server after the input source device completes registration.
Specifically, when the input source device sends a registration request to the server, the registration request includes an input source device identifier, the server responds to the registration request and returns target registration page data to the input source device, the target input source device displays a target registration page based on the target registration page data, information prompting successful registration is returned to the server after registration is completed, and the server generates a registration number corresponding to the input source device identifier based on the prompting information. In one embodiment, a server stores a target input source device identifier and a corresponding registration number in a registry of the server, where the target input source device identifier corresponds to the registration number one to one, and in another embodiment, when a user of an input source device registers using a mobile phone number, one user may correspond to multiple input source devices, and at this time, the multiple input source devices of the user may correspond to the same registration number after successful registration, that is, multiple target input source device identifiers may correspond to one registration number.
In an embodiment, when the server receives an authentication request of the target input source device, the authentication request carries a target input source device identifier, the server compares the target input source device identifier with the registry, and when target input source device identifier information exists in the registry, an authentication number corresponding to the target input source device identifier is generated.
In this embodiment, the input source device can be authenticated successfully on the server only after the input source device is registered on the server, and the input source device is authenticated through the registration information, thereby ensuring the validity of accessing the media content player device.
In an embodiment, as shown in fig. 4, when it is determined that the authentication number corresponding to the target authentication data matches the identifier of the target input source device, acquiring the media content to be played corresponding to the target input source device includes:
s402, comparing the identification of the target input source equipment with the identification of the input source equipment in the target authentication data.
In one embodiment, the target authentication data is formed by splicing the input source device identification and the authentication number. Specifically, the digital signal processor compares the obtained identifier of the target input source device with the number of the previous preset value bit in the target authentication data, and determines whether the authentication data corresponding to the identifier of the target input source device exists in the target authentication data.
S404, when the target authentication data is consistent with the identification of the target input source device, the target input source device is judged to be a legal device.
And when the authentication number corresponding to the identifier of the target input source equipment exists in the target authentication data, judging that the target input source equipment is legal equipment.
S406, the media content to be played corresponding to the target input source device is obtained.
In one embodiment, after determining that the target input source device is a legal device according to S404, the digital signal processor sends the media content to be played to the target input source device, and the target input source device returns the media content to be played to the digital signal processor in response to the request.
S408, sending a playing instruction to the media content playing device, so that the media content playing device plays the media content to be played.
Specifically, after acquiring the media content to be played corresponding to the target input source device, the digital signal processor sends a playing instruction to the media content playing device, and after receiving the instruction, the media content playing device plays the media content to be played.
In this embodiment, when it is determined that the authentication number corresponding to the target authentication data matches the identifier of the target input source device, the corresponding media content to be played is obtained from the target input source device, so that the illegal device is effectively prevented from accessing the media content player to play the illegal content.
In one embodiment, the method for playing media content includes obtaining media content to be played corresponding to a target input source device, and sending a playing instruction to a media content playing device, so that the media content playing device plays the media content to be played, and the method further includes:
when the identification of the target input source equipment exists in the target authentication data, at least one item of the size, the resolution and the content form of the media content to be played is checked; and when the media content to be played passes the verification, sending a playing instruction to the media content playing device so that the media content playing device plays the media content to be played.
Specifically, when it is determined that the authentication number corresponding to the target authentication data matches the identifier of the target input source device, the dsp acquires the media content to be played corresponding to the target input source device, and checks the media content to be played. The digital signal processor is provided with threshold values of the size and the resolution of the media content, and when the size and the resolution of the media content to be played are within the threshold values, the size and the resolution of the media content pass the inspection. In one embodiment, a video content auditing module is further provided for verifying whether the media content contains illegal contents such as yellow gambling poison or not by auditing the media content. And when the media content to be played passes the verification, the server sends the media content to be played to the intelligent gateway for storage. And after the media content to be played passes the verification, the digital signal processor sends a playing instruction to the media content playing device, wherein the playing instruction carries the verified media content with playing.
In this embodiment, the digital signal processor may verify the media content to be played, limit the size, resolution, and content form of the media content, and intercept the illegal media content, thereby providing better viewing experience for the user.
In one embodiment, the method further comprises: when the authentication number corresponding to the target authentication data is not matched with the target input source equipment identifier, sending a registration instruction to the target input source equipment, wherein the registration instruction comprises a registration page address; acquiring registration page data from the registration page address by triggering the target input source device, displaying a target registration page based on the registration page data, and sending a registration request to the server when receiving registration triggering operation based on the target registration page;
specifically, taking a digital signal processor as an example of a control card, when an authentication number corresponding to the target authentication data does not match with the identifier of the target input source device, the control card sends a registration instruction to the target input source device. The input source equipment receives the registration instruction, sends a target registration page data acquisition request to the server according to the registration address in the registration instruction, receives target registration page data returned by the server, displays a target registration page based on the target registration page data, and completes registration after filling related information on the page.
Receiving target authentication data which is responded by the server to the registration request and returned based on the generated authentication number when the registration is completed;
specifically, after the input source device completes registration, an authentication request is sent to the server, and when the input source device identifier is matched with the input source device registration number, the server generates a corresponding authentication number based on the input source device identifier and returns target authentication data generated based on the authentication number to the control card.
When the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identification, media content to be played corresponding to the target input source equipment is obtained; and triggering the media content playing device to play the media content to be played.
Specifically, when the control card determines that the authentication number corresponding to the target authentication data matches the identifier of the target input source device, media content to be played corresponding to the target input source device is acquired; and triggering the media content playing device to play the media content to be played.
In this embodiment, a registration page is provided for the input source device that does not pass the authentication, so that the input source device that does not pass the authentication has the possibility of passing the authentication, and the user experience is enhanced.
In one embodiment, a device authentication method is provided, as shown in fig. 5, which is applied to a system consisting of a server 502, an input source device 504, and an information screen 506. The information screen 506 includes a control card module 508 and a display screen module 510, wherein the control card module 508 is configured to process an input digital signal and can be implemented by a control card configured on the information screen; the display screen module is used for playing media contents and can be realized through a liquid crystal display screen or an electronic ink display screen and the like. Input source devices 504 include legitimate input source device 512 and illegitimate input source device 514. The Control card module 508 communicates with the display screen module 510 through a private Protocol, the information screen 506 communicates with the server 502 through a standard TCP/IP (Transmission Control Protocol/Internet Protocol), the server 502 communicates with the legal input source device 512 through a standard TCP/IP Protocol, and the legal input source device 512 communicates through a TMDS (Transition Minimized Differential Signaling) Protocol. The information screen may be implemented by a display screen of the terminal device, for example, a display screen configured in a mobile phone, a personal computer, an intelligent television, or the like, and in some cases, the information screen may also be implemented by an intelligent screen having an information processing function.
Specifically, the input source device 504 needs to first send a registration request to the server to register and authenticate with the server 502. The authenticated legitimate input source device 508 will have a corresponding device authentication ID in the server 502, and the server 502 will synchronize this device authentication ID to the control card module 508 in the information screen 506.
The display screen 510 interfaces the control card module 508 through a proprietary protocol. The control card module 508 can check whether the input source device accessed through the high-definition multimedia interface is legal, that is, the information screen only receives the program signal of the legal input source device authenticated by the server and plays the program through the display screen module 510.
If the input source device is not registered and device-authenticated in the server 502, the input source device 504 is regarded as an illegal input source device 508, after the illegal input source device 508 is connected to the information screen 506 through the high-definition multimedia interface, the control card module 508 in the information screen 506 identifies whether the device possesses a device authentication ID, and if the input source device does not possess the device authentication ID, the information screen 506 does not receive the program signal of the input source device.
In this embodiment, the authentication number generated by the legal input source device after the input source device passes the authentication is synchronized with the authentication data to the information screen, and the information screen receives the program information sent by the legal input source device, while the illegal input source device cannot pass the authentication and cannot send the program information to the information screen, thereby effectively preventing the media content to be played of the illegal input source device from being accessed, and ensuring the validity of the media content played by the media content playing device.
It should be understood that although the various steps in the flow charts of fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 6, there is provided a device authentication apparatus 600, including: a device identification receiving module 602, an authentication data receiving module 604, an identification matching module 608, and a media content transmitting module 610, wherein:
the device identifier receiving module is used for receiving a media content playing signal of the target input source device, wherein the media content playing signal carries the target input source device identifier and the media content to be played.
And the authentication data receiving module is used for sending an authentication data acquisition request to the server so as to trigger the server to return target authentication data based on an authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes authentication and corresponds to the input source equipment.
And the identification matching module is used for receiving target authentication data returned by the server, and triggering the media content playing device to play the media content to be played carried in the media content playing signal when the authentication number corresponding to the target authentication data is determined to be matched with the identification of the target input source device.
And the media content sending module is used for triggering the media content playing equipment to play the media content to be played carried in the media content playing signal.
The device authentication method, the device, the computer device and the storage medium acquire the target input source device identification, match the target input source device identification with the authentication number generated by the server after the input source device authentication is passed, acquire the media content to be played corresponding to the target input source device after the matching is successful, and forward the media content to be played to the media content playing device for playing.
In an embodiment, the device identifier receiving module is configured to send an authentication data acquisition request to a server; to trigger the server to respond to the authentication data acquisition request and return target authentication data based on the authentication number; and receiving the target authentication data returned by the server.
In an embodiment, the device identifier receiving module is further configured to receive target authentication data sent by the server; and the target authentication data is generated by the server based on the authentication number after the input source equipment passes the authentication and is sent when the timing time is up.
In one embodiment, the target authentication data is generated by the server based on the input source device identification when the input source device identification is matched with the input source device registration number, and is generated based on the authentication number; the input source device registration number is generated by the server after the input source device completes registration.
In one embodiment, an identification matching module includes: the identification comparison submodule is used for comparing the identification of the target input source equipment with the identification of the input source equipment in the target authentication data; the legal device judging submodule is used for judging the target input source device to be legal device when the target authentication data is consistent with the identification comparison of the target input source device; the media content acquisition submodule is used for acquiring the media content to be played corresponding to the target input source equipment; and the playing instruction sending submodule is used for sending a playing instruction to the media content playing device so as to enable the media content playing device to play the media content to be played.
In one embodiment, the identification matching module further comprises: a media content checking module, configured to check at least one of a size, a resolution, and a content format of the media content to be played when the identifier of the target input source device exists in the target authentication data; and the playing instruction sending submodule is used for sending a playing instruction to the media content playing device when the media content to be played passes the verification so as to enable the media content playing device to play the media content to be played.
In one embodiment, the apparatus further comprises: a registration instruction sending module, configured to send a registration instruction to the target input source device when the authentication number corresponding to the target authentication data is not matched with the target input source device identifier, where the registration instruction includes a registration page address; triggering the target input source equipment to acquire registration page data from the registration page address and displaying a target registration page based on the registration page data, and sending a registration request to a server when receiving registration triggering operation based on the target registration page; the authentication data receiving module is used for receiving target authentication data which is returned by the server in response to the registration request and based on the generated authentication number when the registration is completed; the media content acquisition module is used for acquiring the media content to be played corresponding to the target input source equipment when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier; and triggering the media content playing equipment to play the media content to be played.
For the specific limitations of the device authentication apparatus, reference may be made to the above limitations of the device authentication method, which is not described herein again. The modules in the device authentication device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing device authentication data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a device authentication method.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: acquiring a target input source device identifier corresponding to the target input source device; receiving target authentication data sent by a server based on an authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes authentication and corresponds to the input source equipment; when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment; and triggering the media content playing equipment to play the media content to be played.
In one embodiment, the processor, when executing the computer program, further performs the steps of: sending an authentication data acquisition request to a server; to trigger the server to respond to the authentication data acquisition request and return target authentication data based on the authentication number; and receiving the target authentication data returned by the server.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving target authentication data sent by a server; and the target authentication data is generated by the server based on the authentication number after the input source equipment passes the authentication and is sent when the timing time is up.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the target authentication data is generated by the server based on the input source equipment identification when the input source equipment identification is matched with the input source equipment registration number, and is generated based on the authentication number; the input source device registration number is generated by the server after the input source device completes registration.
In one embodiment, the processor, when executing the computer program, further performs the steps of: comparing the identifier of the target input source equipment with the identifier of the input source equipment in the target authentication data; when the target authentication data is consistent with the identification of the target input source equipment in comparison, judging the target input source equipment as legal equipment; acquiring media content to be played corresponding to the target input source device; and sending a playing instruction to the media content playing device so as to enable the media content playing device to play the media content to be played.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the identification of the target input source equipment exists in the target authentication data, at least one of the size, the resolution and the content form of the media content to be played is checked; and when the media content to be played passes the verification, sending a playing instruction to the media content playing device so as to enable the media content playing device to play the media content to be played.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the authentication number corresponding to the target authentication data is not matched with the target input source equipment identifier, sending a registration instruction to the target input source equipment, wherein the registration instruction comprises a registration page address; triggering the target input source equipment to acquire registration page data from the registration page address and displaying a target registration page based on the registration page data, and sending a registration request to a server when receiving registration triggering operation based on the target registration page; receiving target authentication data which is responded by the server to the registration request and returned based on the generated authentication number when the registration is completed; when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment; and triggering the media content playing equipment to play the media content to be played.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a target input source device identifier corresponding to the target input source device; receiving target authentication data sent by a server based on an authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes authentication and corresponds to the input source equipment; when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment; and triggering the media content playing equipment to play the media content to be played.
In one embodiment, the computer program when executed by the processor further performs the steps of: sending an authentication data acquisition request to a server; to trigger the server to respond to the authentication data acquisition request and return target authentication data based on the authentication number; and receiving the target authentication data returned by the server.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving target authentication data sent by a server; and the target authentication data is generated by the server based on the authentication number after the input source equipment passes the authentication and is sent when the timing time is up.
In one embodiment, the computer program when executed by the processor further performs the steps of: the target authentication data is generated by the server based on the input source equipment identification when the input source equipment identification is matched with the input source equipment registration number, and is generated based on the authentication number; the input source device registration number is generated by the server after the input source device completes registration.
In one embodiment, the computer program when executed by the processor further performs the steps of: comparing the identifier of the target input source equipment with the identifier of the input source equipment in the target authentication data; when the target authentication data is consistent with the identification of the target input source equipment in comparison, judging the target input source equipment as legal equipment; acquiring media content to be played corresponding to the target input source device; and sending a playing instruction to the media content playing device so as to enable the media content playing device to play the media content to be played.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the identification of the target input source equipment exists in the target authentication data, at least one of the size, the resolution and the content form of the media content to be played is checked; and when the media content to be played passes the verification, sending a playing instruction to the media content playing device so as to enable the media content playing device to play the media content to be played.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the authentication number corresponding to the target authentication data is not matched with the target input source equipment identifier, sending a registration instruction to the target input source equipment, wherein the registration instruction comprises a registration page address; triggering the target input source equipment to acquire registration page data from the registration page address and displaying a target registration page based on the registration page data, and sending a registration request to a server when receiving registration triggering operation based on the target registration page; receiving target authentication data which is responded by the server to the registration request and returned based on the generated authentication number when the registration is completed; when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment; and triggering the media content playing equipment to play the media content to be played.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of device authentication, the method comprising:
acquiring a target input source device identifier corresponding to the target input source device;
receiving target authentication data sent by a server based on an authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes authentication and corresponds to the input source equipment;
when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment;
and triggering the media content playing equipment to play the media content to be played.
2. The method as claimed in claim 1, wherein receiving the target authentication data transmitted by the server based on the authentication number comprises:
sending an authentication data acquisition request to a server; to trigger the server to respond to the authentication data acquisition request and return target authentication data based on the authentication number;
and receiving the target authentication data returned by the server.
3. The method of claim 1, wherein receiving the target authentication data returned by the server based on the authentication number further comprises:
receiving target authentication data sent by a server; and the target authentication data is generated by the server based on the authentication number after the input source equipment passes the authentication and is sent when the timing time is up.
4. The method of claim 2 or 3, wherein the target authentication data is generated by the server based on the input source device identification when the input source device identification matches the input source device registration number, and based on the authentication number; the input source device registration number is generated by the server after the input source device completes registration.
5. The method as claimed in claim 1, wherein when it is determined that the authentication number corresponding to the target authentication data matches the target input source device identifier, acquiring the media content to be played corresponding to the target input source device comprises:
comparing the identifier of the target input source equipment with the identifier of the input source equipment in the target authentication data;
when the target authentication data is consistent with the identification of the target input source equipment in comparison, judging the target input source equipment as legal equipment;
acquiring media content to be played corresponding to the target input source device;
and sending a playing instruction to the media content playing device so as to enable the media content playing device to play the media content to be played.
6. The method according to claim 5, wherein the sending a playing instruction to a media content playing device to cause the media content playing device to play the media content to be played further comprises:
when the identification of the target input source equipment exists in the target authentication data, at least one of the size, the resolution and the content form of the media content to be played is checked;
and when the media content to be played passes the verification, sending a playing instruction to the media content playing device so as to enable the media content playing device to play the media content to be played.
7. The method of claim 1, further comprising:
when the authentication number corresponding to the target authentication data is not matched with the target input source equipment identifier, sending a registration instruction to the target input source equipment, wherein the registration instruction comprises a registration page address; triggering the target input source equipment to acquire registration page data from the registration page address and displaying a target registration page based on the registration page data, and sending a registration request to a server when receiving registration triggering operation based on the target registration page;
receiving target authentication data which is responded by the server to the registration request and returned based on the generated authentication number when the registration is completed;
when the authentication number corresponding to the target authentication data is determined to be matched with the target input source equipment identifier, acquiring media content to be played corresponding to the target input source equipment; and triggering the media content playing equipment to play the media content to be played.
8. An apparatus for authenticating a device, the apparatus comprising:
the device identifier receiving module is used for receiving a media content playing signal of the target input source device, wherein the media content playing signal carries the target input source device identifier and the media content to be played;
the authentication data receiving module is used for sending an authentication data acquisition request to a server so as to trigger the server to return target authentication data based on an authentication number, wherein the authentication number is a number which is generated by the server after the input source equipment passes authentication and corresponds to the input source equipment;
the identification matching module is used for receiving target authentication data returned by the server, and triggering the media content playing device to play the media content to be played carried in the media content playing signal when the authentication number corresponding to the target authentication data is determined to be matched with the identification of the target input source device;
and the media content sending module is used for triggering the media content playing equipment to play the media content to be played carried in the media content playing signal.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110365545.2A 2021-04-06 2021-04-06 Equipment authentication method, device, computer equipment and storage medium Pending CN113158170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110365545.2A CN113158170A (en) 2021-04-06 2021-04-06 Equipment authentication method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110365545.2A CN113158170A (en) 2021-04-06 2021-04-06 Equipment authentication method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113158170A true CN113158170A (en) 2021-07-23

Family

ID=76888733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110365545.2A Pending CN113158170A (en) 2021-04-06 2021-04-06 Equipment authentication method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113158170A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186101A (en) * 2011-04-18 2011-09-14 青岛海大新星计算机工程中心 Digital home video and service resource protecting method
CN104581212A (en) * 2014-12-31 2015-04-29 航天数字传媒有限公司 On-demand authentication method and system of satellite digital business
CN104837035A (en) * 2015-04-30 2015-08-12 华为软件技术有限公司 Video playing method and terminal
CN107070914A (en) * 2017-04-11 2017-08-18 北京小米移动软件有限公司 Authorization method, device and equipment based on wearable device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186101A (en) * 2011-04-18 2011-09-14 青岛海大新星计算机工程中心 Digital home video and service resource protecting method
CN104581212A (en) * 2014-12-31 2015-04-29 航天数字传媒有限公司 On-demand authentication method and system of satellite digital business
CN104837035A (en) * 2015-04-30 2015-08-12 华为软件技术有限公司 Video playing method and terminal
CN107070914A (en) * 2017-04-11 2017-08-18 北京小米移动软件有限公司 Authorization method, device and equipment based on wearable device

Similar Documents

Publication Publication Date Title
US20210081551A1 (en) Method, apparatus, and electronic device for blockchain-based recordkeeping
US11165579B2 (en) Decentralized data authentication
US10135824B2 (en) Method and system for determining whether a terminal logging into a website is a mobile terminal
US10650119B2 (en) Multimedia data processing method, apparatus, system, and storage medium
CN108632253B (en) Client data security access method and device based on mobile terminal
US20140115340A1 (en) Unique device identifier provision method and apparatus
US11184174B2 (en) System and method for decentralized digital structured data storage, management, and authentication using blockchain
WO2014111022A1 (en) Mobile terminal user information display method, mobile terminal, and service system
US20210306329A1 (en) User authentication through registered device communications
US10992460B2 (en) Blockchain-based advertisement monitoring method and apparatus, and electronic device
CN110995446B (en) Evidence verification method, device, server and storage medium
US11838281B1 (en) Secure authentication of devices
US20230051561A1 (en) Method for processing live broadcast information stream
US20200382498A1 (en) Method and device for portal authentication
CN110072127B (en) Media stream playing processing method, device, system, storage medium and equipment
CN110955909B (en) Personal data protection method and block link point
CN110290097B (en) Data processing method and device, storage medium and electronic device
US20220353081A1 (en) User authentication techniques across applications on a user device
CN111177674A (en) Device verification method and device
US20200364317A1 (en) Method and system for identifying a user terminal in order to receive streaming protected multimedia content
US20230198760A1 (en) Verified presentation of non-fungible tokens
CN113158170A (en) Equipment authentication method, device, computer equipment and storage medium
US20230055835A1 (en) Systems and Methods for Using a Non-Fungible Digital Asset to Facilitate Accessing an Access-Restricted Resource
CN112770144B (en) Video file downloading method, video file playing method, device and terminal equipment
CN114595465A (en) Data encryption processing method and device and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210723

RJ01 Rejection of invention patent application after publication