Content sharing authentication method, device, electronic device and storage medium
By detecting the time and space information on the sharing end on the TV side and determining whether to authorize the sharing of content, the problem of low security of content sharing on the TV side is solved, and the authentication accuracy and security of content sharing are improved.
Patent Information
- Application Number
- CN202211576201.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-07
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-12-07
AI Technical Summary
In the prior art, when sharing content through the TV side, the security of content sharing is low, making it difficult to effectively authenticate and control sharing permissions.
By detecting the sharing trigger operation on the sharing end, it obtains its time and space information, including time information, spatial information and historical sharing times, and determines whether to authorize the sharing of content based on this information, thereby improving the authentication accuracy and security of content sharing.
Through the authentication of space-time information on the sharing side, the authentication accuracy and security in the content sharing scenario are improved, and the legality and compliance of content sharing are ensured.
Smart Images

Figure CN116248960B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of television, and in particular to an authentication method, device, electronic device and storage medium for content sharing. Background Art
[0002] Television (TV) refers to a device that uses electronic technology to transmit moving images and audio signals, that is, a television receiver. In addition, television is also an important broadcasting and video communication tool. In the prior art, television plays an increasingly important role in people's lives. For example, images, videos and other content can be shared through the TV terminal.
[0003] However, currently, when content is shared through a TV, the security of the content sharing is relatively low. Summary of the invention
[0004] In view of this, in order to solve some or all of the above technical problems, the embodiments of the present application provide a content sharing authentication method, device, electronic device and storage medium.
[0005] In a first aspect, an embodiment of the present application provides a content sharing authentication method, the method being applied to a television end, the method comprising:
[0006] Detecting a sharing trigger operation performed by a sharing end on target content, wherein the sharing trigger operation is used to request sharing of the target content;
[0007] When the sharing trigger operation is detected, obtaining sharing time and space information of the sharing end, wherein the sharing time and space information includes at least one of time information and space information of the target content shared by the sharing end;
[0008] Based on the sharing time and space information, determine whether to authorize the sharing end to share the target content.
[0009] In a possible implementation manner, the sharing spatiotemporal information includes spatial information, and the spatial information indicates whether the sharing terminal and the TV terminal are located in the same local area network; and
[0010] The determining whether to authorize the sharing end to share the target content based on the sharing time and space information includes:
[0011] When the space information indicates that the sharing terminal and the TV terminal are located in the same local area network, the sharing terminal is authorized to share the target content.
[0012] In a possible implementation manner, when the spatial information indicates that the sharing terminal and the TV terminal are located in the same local area network, authorizing the sharing terminal to share the target content includes:
[0013] In the case where the space information indicates that the sharing terminal and the TV terminal are located in the same local area network, displaying authorization request information, wherein the authorization request information indicates whether the user authorizes the sharing terminal to share the target content;
[0014] In a case where an authorization operation for the authorization request information is detected, the sharing end is authorized to share the target content.
[0015] In a possible implementation manner, the sharing spatiotemporal information includes time information, and the time information indicates the time when the sharing end shares the target content; and
[0016] The determining whether to authorize the sharing end to share the target content based on the sharing time and space information includes:
[0017] Determining whether the time indicated by the time information reaches a preset time threshold;
[0018] When the time indicated by the time information does not reach the preset time threshold, the sharing terminal is authorized to share the target content.
[0019] In a possible implementation manner, the sharing time and space information further includes the historical number of times the target content is shared by the sharing end; and
[0020] The determining whether to authorize the sharing end to share the target content based on the sharing time and space information includes:
[0021] Determine whether the historical sharing times are less than or equal to a preset times threshold;
[0022] When the historical sharing times is less than or equal to the preset times threshold, the sharing end is authorized to share the target content.
[0023] In a possible implementation manner, the target content is stored on a server; and
[0024] The method further comprises:
[0025] In the case of authorizing the sharing end to share the target content, the content information of the target content is obtained from the service end, so that the sharing end can share the target content through the content information.
[0026] In a possible implementation manner, the target content includes at least one of the following:
[0027] The audio recorded by the TV end, the video shot by the TV end, and the image shot by the TV end.
[0028] In a second aspect, an embodiment of the present application provides an authentication device for content sharing, the device being arranged on a TV end, and the device comprising:
[0029] A detection unit, configured to detect a sharing trigger operation performed by a sharing terminal on target content, wherein the sharing trigger operation is used to request sharing of the target content;
[0030] A first acquisition unit is configured to acquire sharing time and space information of the sharing end when the sharing trigger operation is detected, wherein the sharing time and space information includes at least one of time information and space information of the target content shared by the sharing end;
[0031] A determination unit is used to determine whether to authorize the sharing end to share the target content based on the sharing time and space information.
[0032] In a possible implementation manner, the sharing spatiotemporal information includes spatial information, and the spatial information indicates whether the sharing terminal and the TV terminal are located in the same local area network; and
[0033] The determining whether to authorize the sharing end to share the target content based on the sharing time and space information includes:
[0034] When the space information indicates that the sharing terminal and the TV terminal are located in the same local area network, the sharing terminal is authorized to share the target content.
[0035] In a possible implementation manner, when the spatial information indicates that the sharing terminal and the TV terminal are located in the same local area network, authorizing the sharing terminal to share the target content includes:
[0036] In the case where the space information indicates that the sharing terminal and the TV terminal are located in the same local area network, displaying authorization request information, wherein the authorization request information indicates whether the user authorizes the sharing terminal to share the target content;
[0037] In a case where an authorization operation for the authorization request information is detected, the sharing end is authorized to share the target content.
[0038] In a possible implementation manner, the sharing spatiotemporal information includes time information, and the time information indicates the time when the sharing end shares the target content; and
[0039] The determining whether to authorize the sharing end to share the target content based on the sharing time and space information includes:
[0040] Determining whether the time indicated by the time information reaches a preset time threshold;
[0041] When the time indicated by the time information does not reach the preset time threshold, the sharing terminal is authorized to share the target content.
[0042] In a possible implementation manner, the sharing time and space information further includes the historical number of times the target content is shared by the sharing end; and
[0043] The determining whether to authorize the sharing end to share the target content based on the sharing time and space information includes:
[0044] Determine whether the historical sharing times are less than or equal to a preset times threshold;
[0045] When the historical sharing times is less than or equal to the preset times threshold, the sharing end is authorized to share the target content.
[0046] In a possible implementation manner, the target content is stored on a server; and
[0047] The device also includes:
[0048] The second acquisition unit is used to acquire content information of the target content from the server when the sharing end is authorized to share the target content, so that the sharing end can share the target content through the content information.
[0049] In a possible implementation manner, the target content includes at least one of the following:
[0050] The audio recorded by the TV end, the video shot by the TV end, and the image shot by the TV end.
[0051] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0052] Memory for storing computer programs;
[0053] The processor is used to execute the computer program stored in the memory, and when the computer program is executed, the method of any embodiment of the content sharing authentication method of the first aspect of the present application is implemented.
[0054] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method of any embodiment of the content sharing authentication method of the first aspect described above is implemented.
[0055] In a fifth aspect, an embodiment of the present application provides a computer program, which includes a computer-readable code. When the computer-readable code is executed on a device, a processor in the device implements a method of any embodiment of the authentication method for content sharing in the first aspect described above.
[0056] The content sharing authentication method provided in the embodiment of the present application is applied to a TV terminal, and the method can detect a sharing trigger operation performed by the sharing terminal on the target content, wherein the sharing trigger operation is used to request sharing of the target content, and then, when the sharing trigger operation is detected, the sharing time and space information of the sharing terminal is obtained, wherein the sharing time and space information includes at least one of the time information and space information of the sharing terminal sharing the target content, and then, based on the sharing time and space information, it is determined whether the sharing terminal is authorized to share the target content. Thus, by using the sharing time and space information of the sharing terminal, it is determined whether the sharing terminal is authorized to share the target content through the TV terminal, which improves the accuracy of content sharing authentication in the content sharing scenario through the TV terminal, and thus improves the security of content sharing through the TV terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A flowchart of a content sharing authentication method provided in an embodiment of the present application;
[0058] Figure 2 A flowchart of another content sharing authentication method provided in an embodiment of the present application;
[0059] Figure 3 A flowchart of another content sharing authentication method provided in an embodiment of the present application;
[0060] Figure 4 A schematic diagram of the structure of an authentication device for content sharing provided in an embodiment of the present application;
[0061] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application.
[0063] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present application are only used to distinguish between different steps, devices, modules and other objects, and do not represent any specific technical meanings, nor do they indicate the logical order between them.
[0064] It should also be understood that in this embodiment, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.
[0065] It should also be understood that any component, data or structure mentioned in the embodiments of the present application can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0066] In addition, the term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the associated objects before and after are in an "or" relationship.
[0067] It should also be understood that the description of the various embodiments in this application focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0068] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0069] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above-mentioned technologies, methods, and equipment should be considered as part of the specification.
[0070] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0071] It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other. To facilitate the understanding of the embodiments of the present application, the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0072] Figure 1 A flowchart of a content sharing authentication method provided in an embodiment of the present application is provided. The method is applied to a TV terminal, such as Figure 1 As shown, the method includes:
[0073] Step 101 : detecting a sharing trigger operation performed by a sharing terminal on target content, wherein the sharing trigger operation is used to request sharing of the target content.
[0074] In this embodiment, the sharing end may be a hardware device or software application that requests to share the target content. As an example, the sharing end may be a mobile phone, a tablet computer, etc.
[0075] The target content may be the content to be shared by the sharing end. In some cases, the target content may be the content produced by the sharing end.
[0076] In some optional implementations of this embodiment, the target content includes at least one of the following:
[0077] The audio recorded by the TV end, the video shot by the TV end, and the image shot by the TV end.
[0078] It can be understood that in the above-mentioned optional implementation method, the sharing time and space information of the sharing end can be used to determine whether to authorize the sharing end to share at least one of the audio recorded by the TV end, the video shot by the TV end, and the image shot by the TV end through the TV end, thereby improving the accuracy of sharing authentication of content produced by the TV end in the content sharing scenario through the TV end, and thereby improving the security of sharing content produced by the TV end.
[0079] The sharing trigger operation may be an operation such as a user clicking a button for sharing the target content. Here, before the sharing trigger operation is performed, the sharing end has not yet completed sharing the target content.
[0080] Step 102 : when the sharing trigger operation is detected, obtaining the sharing time and space information of the sharing end, wherein the sharing time and space information includes at least one of the time information and space information of the target content shared by the sharing end.
[0081] In this embodiment, illustratively, when the sharing spatiotemporal information includes the above time information, the time information may indicate the execution time of the sharing trigger operation. It may also indicate the time when the above sharing terminal shared the above target content in the historical time period. When the sharing spatiotemporal information includes the above space information, the space information may indicate the location of the above sharing terminal.
[0082] Step 103: Determine whether to authorize the sharing terminal to share the target content based on the sharing time and space information.
[0083] In this embodiment, the specific implementation method of the above step 103 is described below and will not be repeated here.
[0084] In some optional implementations of this embodiment, the sharing spatiotemporal information includes time information, and the time information indicates the time when the sharing terminal shares the target content.
[0085] On this basis, the above step 103 may be performed in the following manner, so as to determine whether to authorize the sharing end to share the target content based on the sharing time and space information:
[0086] First, it is determined whether the time indicated by the time information reaches a preset time threshold.
[0087] Afterwards, when the time indicated by the time information does not reach the preset time threshold, the sharing terminal is authorized to share the target content.
[0088] Optionally, when the time indicated by the time information has reached or exceeded the preset time threshold, the sharing terminal may be prohibited from sharing the target content.
[0089] It can be understood that in the above optional implementation, whether to authorize the sharing terminal to share the target content can be determined by judging whether the moment indicated by the time information reaches a preset moment threshold, thereby further improving the security of content sharing through the TV terminal.
[0090] In some optional implementations of this embodiment, the sharing time and space information also includes the historical number of times the target content has been shared by the sharing end.
[0091] On this basis, the above step 103 may be performed in the following manner, so as to determine whether to authorize the sharing end to share the target content based on the sharing time and space information:
[0092] First, it is determined whether the historical sharing times is less than or equal to a preset times threshold.
[0093] Afterwards, when the number of historical sharing times is less than or equal to the preset number threshold, the sharing end is authorized to share the target content.
[0094] Optionally, when the number of historical sharing times is greater than the preset number threshold, the sharing end is authorized to share the target content.
[0095] It can be understood that in the above optional implementation, whether to authorize the sharing terminal to share the target content is determined by judging whether the number of historical sharing times is less than or equal to the preset number threshold, thereby further improving the security of content sharing through the TV terminal.
[0096] In some optional implementations of this embodiment, the target content is stored on the server.
[0097] On this basis, after executing the above step 103, the following steps may also be executed:
[0098] In the case of authorizing the sharing end to share the target content, the content information of the target content is obtained from the service end, so that the sharing end can share the target content through the content information.
[0099] It can be understood that in the above optional implementation method, the TV end does not store the target content locally, but stores the target content on the server end. When the sharing end requests to share the target content, the content information of the target content is obtained from the server end, and then the target content is shared. During the entire sharing process, from detecting the sharing trigger operation to completing the sharing, the TV end never obtains the target content itself, that is, the sharing of the target content through the TV end is realized, thereby further improving the security of content sharing through the TV end.
[0100] The content sharing authentication method provided in the embodiment of the present application is applied to a TV terminal, and the method can detect a sharing trigger operation performed by the sharing terminal on the target content, wherein the sharing trigger operation is used to request sharing of the target content, and then, when the sharing trigger operation is detected, the sharing time and space information of the sharing terminal is obtained, wherein the sharing time and space information includes at least one of the time information and space information of the sharing terminal sharing the target content, and then, based on the sharing time and space information, it is determined whether the sharing terminal is authorized to share the target content. Thus, by using the sharing time and space information of the sharing terminal, it is determined whether the sharing terminal is authorized to share the target content through the TV terminal, which improves the accuracy of content sharing authentication in the content sharing scenario through the TV terminal, and thus improves the security of content sharing through the TV terminal.
[0101] Figure 2 A flowchart of another content sharing authentication method provided in an embodiment of the present application is provided. The method is applied to a TV terminal, such as Figure 2 As shown, the method includes:
[0102] Step 201 : detecting a sharing trigger operation performed by a sharing terminal on target content, wherein the sharing trigger operation is used to request sharing of the target content.
[0103] In this embodiment, step 201 and Figure 1 Step 101 in the corresponding embodiment is basically the same and will not be described again here.
[0104] Step 202, when the sharing trigger operation is detected, obtaining sharing time and space information of the sharing end, wherein the sharing time and space information includes space information, and the space information indicates whether the sharing end and the TV end are located in the same local area network.
[0105] Step 203 , when the space information indicates that the sharing terminal and the TV terminal are located in the same local area network, authorize the sharing terminal to share the target content.
[0106] In some optional implementations of this embodiment, the above step 203 may be performed in the following manner, so as to authorize the sharing terminal to share the target content when the spatial information indicates that the sharing terminal and the TV terminal are located in the same local area network:
[0107] First, when the space information indicates that the sharing terminal and the TV terminal are located in the same local area network, the authorization request information is displayed.
[0108] The authorization request information indicates whether the user authorizes the sharing terminal to share the target content.
[0109] Afterwards, when an authorization operation for the authorization request information is detected, the sharing end is authorized to share the target content.
[0110] It can be understood that in the above optional implementation, whether to authorize the sharing end to share the target content can be determined by determining whether an authorization operation for the authorization request information is detected, thereby further improving the security of content sharing through the TV end.
[0111] Optionally, when the spatial information indicates that the sharing terminal and the TV terminal are located in different local area networks, the sharing terminal may be prohibited from sharing the target content.
[0112] It should be noted that, in addition to the above contents, this embodiment may also include Figure 1 The corresponding technical features described in the corresponding embodiments are realized Figure 1 For details, please refer to the technical effect of the authentication method for content sharing shown in Figure 1 For the sake of brevity, the relevant description is not repeated here.
[0113] The content sharing authentication method provided in the embodiment of the present application can determine whether the sharing terminal is authorized to share the target content by judging whether the sharing terminal and the TV terminal are located in the same local area network, thereby further improving the security of content sharing through the TV terminal.
[0114] Figure 3A flowchart of another content sharing authentication method provided for an embodiment of the present application. This method can be applied to one or more electronic devices such as smart phones, laptops, desktop computers, portable computers, servers, etc. In addition, the execution subject of this method can be hardware or software. When the above-mentioned execution subject is hardware, the execution subject can be one or more of the above-mentioned electronic devices. For example, a single electronic device can execute this method, or multiple electronic devices can cooperate with each other to execute this method. When the above-mentioned execution subject is software, this method can be implemented as multiple software or software modules, or as a single software or software module. No specific limitation is made here.
[0115] The following is an illustrative description of the embodiments of the present application, but it should be noted that the embodiments of the present application may have the features described below, but the following description does not constitute a limitation on the scope of protection of the embodiments of the present application.
[0116] Specifically, if Figure 3 As shown, the method specifically includes:
[0117] The content (ie, the target content) generated by the TV (ie, the TV end) is not stored locally on the TV, but is sent to the server (ie, the server end) for storage after the TV produces the content.
[0118] When the mobile phone (ie the above-mentioned sharing terminal) scans the QR code displayed on the TV to share content, the HttpServer (embedded device) on the TV terminal determines whether the TV terminal and the mobile phone belong to the same local area network.
[0119] If they are not in the same local area network, it is determined that the sharing fails (i.e., sharing is prohibited). If they belong to the same local area network, the TV terminal displays a user confirmation interface. Among them, the interface can be used to display the above authorization request information. Then, it is determined whether the TV terminal confirms, that is, whether the authorization operation for the authorization request information is detected.
[0120] If the TV does not confirm (for example, the authorization operation is not performed within the preset time), the sharing is confirmed to have failed. If the TV confirms (for example, the authorization operation is detected within the preset time), it is further determined whether the upper limit of the sharing times has been reached, that is, whether the historical sharing times are less than or equal to the preset times threshold.
[0121] If the upper limit of the number of sharing times is reached, it is determined that the sharing has failed. If the upper limit of the number of sharing times is not reached, it is further determined whether the upper limit of the sharing time is reached, that is, whether the moment indicated by the time information reaches the preset moment threshold. If the upper limit of the sharing time is reached, it is determined that the sharing has failed. If the upper limit of the sharing time is not reached, the sharing is authorized.
[0122] Among them, the above-mentioned preset number thresholds and preset time thresholds will have default values in the system and can also be specified by the user.
[0123] It should be noted that, in addition to the contents recorded above, this embodiment may also include the technical features described in the above embodiments, so as to achieve the technical effect of the authentication method for content sharing shown above. Please refer to the above description for details. For the sake of brevity, it will not be repeated here.
[0124] The content sharing authentication method provided in the embodiment of the present application ensures the security of content sharing through the three dimensions of space, time and number of times. In addition, sharing authentication is performed in the order of time, space and number of times, which can further improve the security of content sharing.
[0125] Figure 4 A schematic diagram of the structure of an authentication device for content sharing provided in an embodiment of the present application.
[0126] Specifically include:
[0127] A detection unit 401 is used to detect a sharing trigger operation performed by a sharing terminal on a target content, wherein the sharing trigger operation is used to request sharing of the target content;
[0128] A first acquisition unit 402 is configured to acquire sharing time and space information of the sharing end when the sharing trigger operation is detected, wherein the sharing time and space information includes at least one of time information and space information of the target content shared by the sharing end;
[0129] The determination unit 403 is configured to determine whether to authorize the sharing terminal to share the target content based on the sharing time and space information.
[0130] In a possible implementation manner, the sharing spatiotemporal information includes spatial information, and the spatial information indicates whether the sharing terminal and the TV terminal are located in the same local area network; and
[0131] The determining whether to authorize the sharing end to share the target content based on the sharing time and space information includes:
[0132] When the space information indicates that the sharing terminal and the TV terminal are located in the same local area network, the sharing terminal is authorized to share the target content.
[0133] In a possible implementation manner, when the spatial information indicates that the sharing terminal and the TV terminal are located in the same local area network, authorizing the sharing terminal to share the target content includes:
[0134] In the case where the space information indicates that the sharing terminal and the TV terminal are located in the same local area network, displaying authorization request information, wherein the authorization request information indicates whether the user authorizes the sharing terminal to share the target content;
[0135] In a case where an authorization operation for the authorization request information is detected, the sharing end is authorized to share the target content.
[0136] In a possible implementation manner, the sharing spatiotemporal information includes time information, and the time information indicates the time when the sharing end shares the target content; and
[0137] The determining whether to authorize the sharing end to share the target content based on the sharing time and space information includes:
[0138] Determining whether the time indicated by the time information reaches a preset time threshold;
[0139] When the time indicated by the time information does not reach the preset time threshold, the sharing terminal is authorized to share the target content.
[0140] In a possible implementation manner, the sharing time and space information further includes the historical number of times the target content is shared by the sharing end; and
[0141] The determining whether to authorize the sharing end to share the target content based on the sharing time and space information includes:
[0142] Determine whether the historical sharing times are less than or equal to a preset times threshold;
[0143] When the historical sharing times is less than or equal to the preset times threshold, the sharing end is authorized to share the target content.
[0144] In a possible implementation manner, the target content is stored on a server; and
[0145] The device also includes:
[0146] A second acquisition unit (not shown in the figure) is used to acquire content information of the target content from the server when the sharing end is authorized to share the target content, so that the sharing end can share the target content through the content information.
[0147] In a possible implementation manner, the target content includes at least one of the following:
[0148] The audio recorded by the TV end, the video shot by the TV end, and the image shot by the TV end.
[0149] The content sharing authentication device provided in this embodiment may be as follows: Figure 4 The content sharing authentication device shown in can execute all steps of the above-mentioned content sharing authentication methods, thereby achieving the technical effects of the above-mentioned content sharing authentication methods. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.
[0150] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, Figure 5 The electronic device 500 shown includes: at least one processor 501, a memory 502, at least one network interface 504 and other user interfaces 503. The various components in the electronic device 500 are coupled together via a bus system 505. It is understood that the bus system 505 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 505 is not shown in FIG. Figure 5 Various buses are labeled as bus system 505 .
[0151] The user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0152] It can be understood that the memory 502 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0153] In some implementations, the memory 502 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and an application program 5022 .
[0154] Among them, the operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present application can be included in the application 5022.
[0155] In this embodiment, by calling the program or instruction stored in the memory 502, specifically, the program or instruction stored in the application 5022, the processor 501 is used to execute the method steps provided by each method embodiment, for example, including:
[0156] Detecting a sharing trigger operation performed by a sharing end on target content, wherein the sharing trigger operation is used to request sharing of the target content;
[0157] When the sharing trigger operation is detected, obtaining sharing time and space information of the sharing end, wherein the sharing time and space information includes at least one of time information and space information of the target content shared by the sharing end;
[0158] Based on the sharing time and space information, determine whether to authorize the sharing end to share the target content.
[0159] The method disclosed in the above embodiment of the present application can be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 501. The above processor 501 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the above method in combination with its hardware.
[0160] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the above functions of the present application, or a combination thereof.
[0161] For software implementation, the technology described above in this article can be implemented by a unit that performs the functions described above in this article. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0162] The electronic device provided in this embodiment may be Figure 5 The electronic device shown in can execute all steps of the authentication methods for content sharing described above, thereby achieving the technical effects of the authentication methods for content sharing described above. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.
[0163] The embodiment of the present application also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0164] When one or more programs in the storage medium can be executed by one or more processors, the above-mentioned content sharing authentication method executed on the electronic device side can be implemented.
[0165] The processor is used to execute the content sharing authentication program stored in the memory to implement the following steps of the content sharing authentication method executed on the electronic device side:
[0166] Detecting a sharing trigger operation performed by a sharing end on target content, wherein the sharing trigger operation is used to request sharing of the target content;
[0167] When the sharing trigger operation is detected, obtaining sharing time and space information of the sharing end, wherein the sharing time and space information includes at least one of time information and space information of the target content shared by the sharing end;
[0168] Based on the sharing time and space information, determine whether to authorize the sharing end to share the target content.
[0169] The professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0170] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0171] The specific implementation methods described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only the specific implementation method of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. In addition, for the aforementioned embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.
Claims
1. A content sharing authentication method, characterized in that: The method is applied to a television terminal, and the method comprises: Detecting a sharing trigger operation performed by a sharing end on target content, wherein the sharing trigger operation is used to request sharing of the target content; When the sharing trigger operation is detected, the sharing time and space information of the sharing terminal is obtained, wherein the sharing time and space information includes the time information and space information of the sharing terminal sharing the target content; the space information indicates whether the sharing terminal and the TV terminal are located in the same local area network; the time information indicates the time when the sharing terminal shares the target content; Determining whether to authorize the sharing end to share the target content based on the sharing time and space information includes: Determine whether the spatial information indicates that the sharing terminal and the television terminal are located in the same local area network, and determine whether the time indicated by the time information reaches a preset time threshold; When the spatial information indicates that the sharing terminal and the TV terminal are located in the same local area network and the time indicated by the time information does not reach the preset time threshold, the sharing terminal is authorized to share the target content.
2. The method according to claim 1, characterized in that When the spatial information indicates that the sharing terminal and the TV terminal are located in the same local area network and the time indicated by the time information does not reach the preset time threshold, authorizing the sharing terminal to share the target content includes: In the case where the space information indicates that the sharing terminal and the TV terminal are located in the same local area network, displaying authorization request information, wherein the authorization request information indicates whether the user authorizes the sharing terminal to share the target content; When an authorization operation for the authorization request information is detected and the time indicated by the time information does not reach the preset time threshold, the sharing terminal is authorized to share the target content.
3. The method according to claim 1, characterized in that The sharing time and space information also includes the historical sharing times of the target content by the sharing end; as well as The determining whether to authorize the sharing end to share the target content based on the sharing time and space information includes: Determine whether the historical sharing times are less than or equal to a preset times threshold; When the historical sharing times is less than or equal to the preset times threshold, the sharing end is authorized to share the target content.
4. The method according to claim 1, characterized in that: The target content is stored on the server; as well as The method further comprises: In the case of authorizing the sharing end to share the target content, the content information of the target content is obtained from the service end, so that the sharing end can share the target content through the content information.
5. The method according to any one of claims 1 to 4, characterized in that: The target content includes at least one of the following: The audio recorded by the TV end, the video shot by the TV end, and the image shot by the TV end.
6. A content sharing authentication device, characterized in that: The device is arranged at a TV end, and comprises: A detection unit, configured to detect a sharing trigger operation performed by a sharing terminal on target content, wherein the sharing trigger operation is used to request sharing of the target content; A first acquisition unit is used to acquire the sharing time and space information of the sharing terminal when the sharing trigger operation is detected, wherein the sharing time and space information includes the time information and space information of the sharing terminal sharing the target content; the space information indicates whether the sharing terminal and the TV terminal are located in the same local area network; the time information indicates the time when the sharing terminal shares the target content; A determination unit is used to determine whether to authorize the sharing terminal to share the target content based on the sharing time and space information, including: determining whether the spatial information indicates that the sharing terminal and the TV terminal are located in the same local area network, and determining whether the moment indicated by the time information reaches a preset time threshold; when the spatial information indicates that the sharing terminal and the TV terminal are located in the same local area network and the moment indicated by the time information does not reach the preset time threshold, authorizing the sharing terminal to share the target content.
7. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute a computer program stored in the memory, and when the computer program is executed, implement the method described in any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method described in any one of claims 1 to 5 is implemented.
