[go: up one dir, main page]

CN114430496B - Cross-equipment video searching method and related equipment - Google Patents

Cross-equipment video searching method and related equipment Download PDF

Info

Publication number
CN114430496B
CN114430496B CN202011101427.2A CN202011101427A CN114430496B CN 114430496 B CN114430496 B CN 114430496B CN 202011101427 A CN202011101427 A CN 202011101427A CN 114430496 B CN114430496 B CN 114430496B
Authority
CN
China
Prior art keywords
information
video information
video
electronic equipment
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011101427.2A
Other languages
Chinese (zh)
Other versions
CN114430496A (en
Inventor
尚尔斌
章冀伟
王劲飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011101427.2A priority Critical patent/CN114430496B/en
Publication of CN114430496A publication Critical patent/CN114430496A/en
Application granted granted Critical
Publication of CN114430496B publication Critical patent/CN114430496B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • 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
    • 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/45Structures or tools for the administration of authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application relates to a cross-device video searching method and related devices. The method comprises the following steps: the first electronic equipment searches video information in the first electronic equipment according to the video searching instruction to obtain local terminal video information, and searches user video information in the first electronic equipment according to the user information to obtain local terminal user video information; the first electronic device sends a video query request to the second electronic device according to the user information and the video search instruction; the second electronic equipment searches the video information and the user video information in the second electronic equipment according to the video searching instruction and the user information to obtain opposite-end video information and opposite-end user video information; the second electronic equipment returns the video information of the opposite terminal user and the video information of the opposite terminal to the first electronic equipment; the first electronic device displays the local end user video information, the local end video information, the opposite end user video information and the opposite end video information. According to the method and the device, the data source can be expanded, and the user searching efficiency and searching experience are improved.

Description

Cross-equipment video searching method and related equipment
Technical Field
The application relates to the technical field of terminals, in particular to a cross-device video searching method and related devices.
Background
The user can watch the video through the intelligent playing device, but the video playing sources on the intelligent playing device are fewer, so that the video resources are lack. It is difficult to directly search for a target video according to the needs of a user through the smart play device.
Disclosure of Invention
The embodiment of the application discloses a cross-equipment video searching method and related equipment, which can improve the searching efficiency and searching experience of a user by expanding a data source.
The first aspect of the application discloses a cross-device video searching method, which is applied to a first electronic device and a second electronic device, and comprises the following steps:
the first electronic equipment and the second electronic equipment establish communication connection through cooperative authentication;
the first electronic equipment receives user information and a video searching instruction input by a user;
the first electronic equipment searches video information in the first electronic equipment according to the video searching instruction to obtain local terminal video information, and searches user video information in the first electronic equipment according to the user information to obtain local terminal user video information;
the first electronic device sends a video query request to the second electronic device according to the user information and the video search instruction;
The second electronic equipment responds to the video query request, searches video information in the second electronic equipment according to the video search instruction to obtain opposite-end video information, and searches user video information in the second electronic equipment according to the user information to obtain opposite-end user video information;
the second electronic equipment returns the opposite terminal user video information and the opposite terminal video information to the first electronic equipment;
and the first electronic equipment displays all or part of the local end user video information, the local end video information, the opposite end user video information and the opposite end video information.
According to the method and the device, the data source of the first electronic device can be expanded through the second electronic device, and the searching efficiency and searching experience of the user are improved.
In some optional embodiments, the establishing the communication connection by the first electronic device and the second electronic device through cooperative authentication includes:
establishing network connection between the first electronic equipment and the second electronic equipment through a local area network;
based on local area network connection, login account authentication is performed between the first electronic device and the second electronic device through a cloud server;
If the login account authentication is successful, a trusted network connection based on the local area network is established between the first electronic equipment and the second electronic equipment, and networking is completed.
And login account authentication is performed between the first electronic device and the second electronic device through a cloud server, so that the security of data interaction between the two devices is improved.
In some optional embodiments, the performing login account authentication between the first electronic device and the second electronic device through the cloud server based on the lan network connection includes:
the first electronic device requests a public key corresponding to a first login account from the cloud server according to the first login account of the first electronic device;
the first electronic equipment encrypts the first login account according to the public key to obtain an encrypted first login account;
the first electronic device sends the encrypted first login account to the second electronic device;
the second electronic device requests a private key corresponding to a second login account from the cloud server according to the second login account of the second electronic device;
the second electronic equipment decrypts the encrypted first login account according to the private key;
If the decryption is successful, the second electronic equipment returns an authentication qualified message to the first electronic equipment;
and the first electronic equipment responds to the authentication qualified message and determines that the login account authentication is successful.
In some optional embodiments, the establishing the communication connection by the first electronic device and the second electronic device through cooperative authentication includes:
establishing network connection between the first electronic equipment and the second electronic equipment through a local area network;
based on local area network connection, equipment authentication is carried out between the first electronic equipment and the second electronic equipment through code scanning or password verification;
if the equipment authentication is successful, establishing a trusted network connection based on the local area network between the first electronic equipment and the second electronic equipment, and completing networking.
In some optional embodiments, the second electronic device responding to the video query request, searching video information at the second electronic device according to the video search instruction to obtain peer video information, and searching user video information at the second electronic device according to the user information, where obtaining peer user video information includes:
the second information coordination center of the second electronic equipment scans a plurality of application programs of the second electronic equipment and sends a registration invitation request to the application programs;
The plurality of application programs respond to the registration invitation request and send a registration proxy request to the second information cooperative center, so that the second information cooperative center can request or search video information from the registered plurality of application programs through a proxy interface;
and the second information coordination center responds to the video query request, searches video information from the plurality of application programs according to the video search instruction to obtain opposite-end video information, and/or searches user video information from the plurality of application programs by taking the user information as a keyword to obtain opposite-end user video information.
In some optional embodiments, the second electronic device returning the peer user video information and the peer video information to the first electronic device includes:
the second information coordination center of the second electronic equipment returns the opposite terminal user video information and the opposite terminal video information to the first information coordination center of the first electronic equipment based on the communication connection of the coordination authentication;
the second information coordination center responds to the opposite terminal user video information and the opposite terminal video information in a plurality of application programs of the second electronic equipment to update, or the second information coordination center responds to the video search instruction or the user information to update, acquires updated opposite terminal user video information and updated opposite terminal video information from the plurality of application programs, and returns the updated opposite terminal user video information and the updated opposite terminal video information to the first information coordination center.
In some optional embodiments, the first electronic device displaying all or part of the local end user video information, the local end video information, the peer end user video information, and the peer end video information includes:
the first information coordination center of the first electronic equipment returns the opposite terminal user video information and the opposite terminal video information to the data management module of the first electronic equipment;
and the data management module selects all or part of the local end user video information, the local end video information, the opposite end user video information and the opposite end video information to display according to the display scene identification in the video search instruction through the interface display module of the first electronic device.
In some optional embodiments, after the first electronic device presents all or part of the local end user video information, the local end video information, the peer end user video information, and the peer end video information, the cross-device video search method further includes:
responding to a received selection instruction of a user for target video information in a plurality of displayed video information, and requesting target video data corresponding to the target video information to the second electronic equipment by the first electronic equipment according to the selection instruction;
And the second electronic equipment transmits the target video data to the first electronic equipment for playing through wireless screen projection.
The second aspect of the application discloses a cross-device video searching method, which is applied to a first electronic device and comprises the following steps:
the first electronic equipment and the second electronic equipment establish communication connection through cooperative authentication;
the first electronic equipment receives user information and a video searching instruction input by a user;
the first electronic equipment searches video information in the first electronic equipment according to the video searching instruction, and searches user video information in the first electronic equipment according to the user information to obtain local end user video information;
the first electronic device sends a video query request to the second electronic device according to the user information and the video search instruction;
the first electronic equipment receives opposite terminal user video information and opposite terminal video information returned by the second electronic equipment;
and the first electronic equipment displays all or part of the local end user video information, the local end video information, the opposite end user video information and the opposite end video information.
The third aspect of the application discloses a cross-device video searching method, which is applied to a second electronic device, and comprises the following steps:
the second electronic equipment receives a video query request sent by the first electronic equipment;
the second electronic equipment responds to the video query request, searches video information in the second electronic equipment according to the video search instruction to obtain opposite-end video information, and searches user video information in the second electronic equipment according to the user information to obtain opposite-end user video information;
and the second electronic equipment returns the opposite terminal user video information and the opposite terminal video information to the first electronic equipment.
A fourth aspect of the present application discloses an electronic device, comprising a processor and a memory; the memory is used for storing instructions; the processor is configured to invoke the instructions in the memory, to cause the electronic device to perform the cross-device video search method as described in the second or third aspect above.
A fifth aspect of the present application discloses a computer readable storage medium storing at least one instruction that when executed by a processor implements a method of cross-device video searching as described in the second or third aspects above.
The technical effects of the second to fifth aspects may be seen from the description related to the methods related to each of the above method sections, and are not repeated here.
Drawings
Fig. 1 is an application environment schematic diagram of a cross-device video searching method according to an embodiment of the present application.
Fig. 2 is a flowchart of a cross-device video searching method provided in an embodiment of the present application.
Fig. 3 is a schematic diagram of a cross-device video search framework applied to an electronic device according to an embodiment of the present application.
Fig. 4 is a module interaction flowchart of a cross-device video searching method according to an embodiment of the present application.
Fig. 5 is a module interaction flow chart of another cross-device video searching method according to an embodiment of the present application.
Fig. 6 is a flowchart of interaction between a first information coordination center in a first electronic device and a second information coordination center in a second electronic device and a plurality of application programs, provided in an embodiment of the present application.
Fig. 7 is a flowchart of a cross-device video searching method applied to a first electronic device according to an embodiment of the present application.
Fig. 8 is a flowchart of a cross-device video searching method applied to a second electronic device according to an embodiment of the present application.
Fig. 9 is a schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
For ease of understanding, a description of some of the concepts related to the embodiments of the present application are given by way of example for reference.
It should be noted that "at least one" in this application means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and the representation may have three relationships, for example, a and/or B may represent: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The terms "first," "second," "third," "fourth" and the like in the description and in the claims and drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
In order to better understand the cross-device video searching method and the related devices disclosed in the embodiments of the present application, an application environment of the cross-device video searching method of the present application is first described below.
Fig. 1 is an application environment schematic diagram of a cross-device video searching method according to an embodiment of the present application. As shown in fig. 1, the cross-device video searching method is applied to a plurality of electronic devices, such as an intelligent playing device and an intelligent mobile device. The smart playing device may include a terminal device that provides a television service for a user, such as a smart television, a network television box, a mobile phone, a tablet computer, a notebook computer, a netbook, and the like; smart mobile devices may include cell phones, tablet computers, notebook computers, ultra mobile personal computers (Ultra-mobile Personal Computer, UMPC), netbooks, personal digital assistants (Personal Digital Assistant, PDA), and the like.
The intelligent playing device and the intelligent mobile device can play video pictures, and the intelligent mobile device can throw the video pictures of the intelligent mobile device to the intelligent playing device so as to synchronously play the video pictures of the mobile device at the intelligent playing device. For example, the video picture of the mobile phone is projected to the smart television, and the video picture of the mobile phone is played through the smart television.
In addition, the specific product forms of the intelligent playing device and the intelligent mobile device can be the same or different. For example, the smart playing device is a mobile phone, and the smart mobile device may also be a mobile phone, or the smart playing device is a tablet computer or a computer, and the smart mobile device is a mobile phone. Fig. 1 is merely an exemplary illustration, and embodiments of the present application are not limited in detail herein.
As shown in fig. 2, a flowchart of a cross-device video searching method provided in an embodiment of the present application is applied to a plurality of electronic devices, such as a first electronic device 1 and a second electronic device 2 in fig. 2, for example, the first electronic device 1 may be an intelligent playing device shown in fig. 1, and the second electronic device 2 may be an intelligent mobile device shown in fig. 1. For convenience of distinguishing description, from the perspective of the first electronic device 1 (e.g., the smart playing device), the various video information acquired in the first electronic device 1 is hereinafter referred to as local-end video information, and the various video information acquired in the second electronic device 2 is referred to as opposite-end video information. Specifically, the cross-device video searching method comprises the following steps:
S201, the first electronic device 1 and the second electronic device 2 establish a communication connection through cooperative authentication.
The first electronic device 1 and the second electronic device 2 may establish a network connection through a wired and/or wireless manner.
For example, a connection may be established between the first electronic device 1 and the second electronic device 2 via a data line. For another example, the first electronic device 1 and the second electronic device 2 may be interconnected through a wireless communication network. The wireless communication network may be a local area network or a wide area network switched through a relay device. When the wireless communication network is a local area network, the wireless communication network may be a Wi-Fi (Wireless Fidelity ) hotspot network, a Wi-Fi P2P (Peer-to-Peer) network, a bluetooth network, a zigbee network, or a near field communication (Near Field Communication, NFC) network, for example. When the wireless communication network is a wide area network, the communication network may be, for example, a third generation mobile communication technology (3 rd-generation wireless telephonetechnology, 3G) network, a fourth generation mobile communication technology (4 th-generation mobile communicationtechnology, 4G) network, a fifth generation mobile communication technology (5 th-generation mobile communicationtechnology, 5G) network, a future evolution public land mobile network (Public Land Mobile Network, PLMN) or the internet, etc. Data may be transferred between the first electronic device 1 and the second electronic device 2 via a network connection, such as sending a video, retrieving a result of the video, etc.
In some embodiments of the present application, the establishing the communication connection by the first electronic device 1 and the second electronic device 2 through cooperative authentication includes:
the first electronic equipment 1 and the second electronic equipment 2 are connected through a local area network;
based on local area network connection, the first electronic equipment 1 and the second electronic equipment 2 are subjected to equipment authentication through a preset password;
if the equipment authentication is successful, a trusted network connection based on the local area network is established between the first electronic equipment 1 and the second electronic equipment 2, and networking is completed.
In other embodiments, the establishing the communication connection by the first electronic device 1 and the second electronic device 2 through cooperative authentication includes:
the first electronic equipment 1 and the second electronic equipment 2 are connected through a local area network;
based on local area network connection, the first electronic equipment 1 and the second electronic equipment 2 perform equipment authentication through code scanning or password verification;
if the equipment authentication is successful, establishing a trusted network connection based on the local area network between the first electronic equipment and the second electronic equipment, and completing networking.
The first electronic device 2 or the second electronic device 2 may obtain device information and/or an authentication password of the other device through code scanning, so as to confirm establishment of a trusted network connection. The first electronic device 2 or the second electronic device 2 may establish a trusted network connection by inputting a verification password and verifying the verification password, so as to complete networking.
In other embodiments, the establishing the communication connection by the first electronic device 1 and the second electronic device 2 through cooperative authentication includes:
the first electronic equipment 1 and the second electronic equipment 2 are connected through a local area network;
based on local area network connection, login account authentication is performed between the first electronic equipment 1 and the second electronic equipment 2 through a cloud server;
if the login account authentication is successful, a trusted network connection based on the local area network is established between the first electronic equipment 1 and the second electronic equipment 2, and networking is completed.
The first electronic device 1 and the second electronic device 2 are connected with the cloud server through a wireless communication network. The first electronic device 1 and the second electronic device 2 are in communication and data interaction based on the trusted network connection of the local area network, so that the safety of data access between devices can be ensured, and data can be prevented from being illegally accessed.
Optionally, the performing login account authentication between the first electronic device 1 and the second electronic device 2 through a cloud server based on the lan network connection includes:
the first electronic device 1 requests a public key corresponding to a first login account from the cloud server according to the first login account of the first electronic device 1;
The first electronic device 1 encrypts the first login account according to the public key to obtain an encrypted first login account;
the first electronic device 1 sends the encrypted first login account number to the second electronic device 2 (via the local area network or the wireless communication network);
the second electronic device 2 requests a private key corresponding to a second login account from the cloud server according to the second login account of the second electronic device 2;
the second electronic equipment 2 decrypts the encrypted first login account according to the private key;
if decryption is successful, the second electronic device 2 returns an authentication-eligible message to the first electronic device 1 (via the local area network or the wireless communication network);
the first electronic device 1 determines that the login account authentication is successful in response to the authentication qualified message.
Optionally, the performing login account authentication between the first electronic device 1 and the second electronic device 2 through a cloud server includes:
the first electronic device 1 requests a public key corresponding to a first login account from the cloud server according to the first login account of the first electronic device 1;
The first electronic device 1 encrypts the first login account according to the public key to obtain an encrypted first login account;
the first electronic device 1 sends the encrypted first login account number to the second electronic device 2 (via the local area network or the wireless communication network);
the second electronic device 2 requests a private key corresponding to a second login account from the cloud server according to the second login account of the second electronic device 2;
the second electronic device 2 decrypts the encrypted first login account according to the private key to obtain decrypted first login account information;
when the second electronic device 2 judges that the decrypted first login account information is consistent with the second login account information, the decrypted first login account information is returned to the first electronic device 1 through the local area network or the wireless communication network;
and when the first electronic equipment 1 judges that the decrypted first login account information is consistent with the first login account information, determining that login account authentication is successful.
Further, in some embodiments of the present application, if the device authentication between the first electronic device 1 and the second electronic device 2 is successful or the login account authentication is successful, the first electronic device 1 or the second electronic device 2 generates a trusted credential, and the first electronic device 1 and the second electronic device 2 may perform communication and data interaction based on the trusted credential.
The description is made in connection with a schematic diagram of a cross-device video search framework applied to an electronic device, where the cross-device video search framework includes, but is not limited to: the interface display module, the data management module, the first authentication module, the first information coordination center, and the first screen projection module of the first electronic device 1, the second authentication module, the second information coordination center, the second screen projection module of the second electronic device 2, and a plurality of Application programs (APPs) of the second electronic device 2, such as video Application programs, that is, APP of a video class.
The first information coordination center and the second information coordination center can perform data synchronization. The second information coordination center may collect data in the plurality of applications and synchronize the collected data to the first information coordination center.
The second screen projection module can transmit video data to the first screen projection module, and the first screen projection module displays the video data to the interface display module.
The data management module may aggregate and sort the data of the first electronic device 1 and the data of the second electronic device 2, and transmit a video search instruction input by a user to the first information coordination center.
The interface display module can interact with the data management module and the second screen projection module, can display data on an interface, and plays video data displayed by the second screen projection module.
In one embodiment of the present application, the device authentication or the login account authentication may be performed through the first authentication module and the second electronic device 2. After the device authentication or the login account authentication is successful, the modules in the first electronic device 1 and the second electronic device 2 can perform communication and data interaction based on the generated trusted credentials.
Specifically, the interface display module may receive a collaborative authentication trigger instruction of a user; the interface display module responds to the collaborative authentication triggering instruction and invokes an authentication interface of the first authentication module; the first authentication module performs cross-device authentication with the second authentication module by running an authentication method corresponding to the authentication interface; the second authentication module determines that authentication is successful to the first authentication module. The cross-device authentication may include the device authentication or login account authentication described above.
S202, the first electronic device 1 receives the user information and the video search instruction input by the user.
The user information may be login account information of the first electronic device 1, and may be used as a unique identifier of a user, for associating video information corresponding to the user.
The video search instruction may include a video keyword for searching for video. The video search instruction further comprises a triggering instruction for triggering a search request. The first electronic device 1 responds to the trigger instruction and executes a search task according to the video keyword.
The video search instruction may further include a type selection instruction for indicating a video type to which the video to be searched belongs.
The video search instruction may also include source device information, an application to which the search action pertains, a presentation context identifier, and the like.
Specifically, the interface display module can receive user information and a video search instruction input by a user, and the interface display module transmits the video search instruction to the data management module.
And S203, the first electronic equipment 1 searches video information in the first electronic equipment 1 according to the video searching instruction to obtain local-end video information.
The first electronic device 1 may search video information from the first electronic device 1 with a video keyword and/or a type selection instruction of the video search instruction; the first electronic device 1 may also search for video information from a video server to which the first electronic device 1 is connected with a video keyword and/or a type selection instruction of the video search instruction. The video server to which the first electronic device 1 is connected may provide video information for the first electronic device 1.
For example, the first electronic apparatus 1 may search for popular video information from the first electronic apparatus 1 and a video server to which the first electronic apparatus 1 is connected according to a "popular" type selection instruction.
For another example, the first electronic device 1 may search for popular videos from the first electronic device 1 and a video server to which the first electronic device 1 is connected according to the specified video keyword. The specified video keywords may be video names, actor names, director names, etc.
As another example, the first electronic device 1 may search for video information, the video type of which coincides with "comedy" and the video director is the specified director name, from the video server to which the first electronic device 1 and the first electronic device 1 are connected, according to the "comedy" type selection instruction and the specified director name.
The video information may include video names, actor names, director names, video types, play sources, play addresses, source device information, video covers, and the like. The first electronic device 1 may search for video information matching the video search instruction from among a plurality of video information.
Specifically, the data management module searches local terminal video information according to video keywords and/or type selection instructions in the video search instructions.
Alternatively, the data management module may store video information searched from a video server connected to the first electronic device 1 to a local terminal;
and the data management module searches the local-end video information according to the video keywords and/or the type selection instruction in the video search instruction.
S204, the first electronic device 1 searches the user video information in the first electronic device 1 according to the user information to obtain local end user video information, and sends a video query request to the second electronic device 2 according to the user information and the video search instruction.
The local end user video information is video information associated with the user information in the first electronic device 1.
The local end user video information may include favorite video information, historical play video information, historical search video information, and recommended video information of the user at the first electronic device 1.
In a specific embodiment, the searching, by the first electronic device 1, the user video information according to the user information includes:
the data management module uses the user information as a keyword to search for collection video information, historical play video information, historical search video information and recommended video information corresponding to the user information in a video server connected with the first electronic equipment 1;
And the data management module performs de-duplication on the searched video information to obtain the local end user video information.
For example, the user information is "zhangsan001", and the plurality of video information 1 and the plurality of video information 2 corresponding to the user information may be searched in the first electronic device 1 and the video server connected to the first electronic device 1 by using the "zhangsan001" as a keyword; and de-duplicating the searched video information to obtain video information 1 and video information 2.
The first electronic device 1 may send a video query request to the second electronic device 2 according to the user information and the video search instruction as a message body, so as to query more video information from the second electronic device 2, expand a search range, and increase a video source.
Specifically, the first information coordination center receives the user information and the video search instruction from the data management module, and sends a video query request to the second information coordination center according to the user information and the video search instruction.
S205, the second electronic device 2 responds to the video query request, searches video information in the second electronic device 2 according to the video search instruction to obtain opposite-end video information, and searches user video information in the second electronic device 2 according to the user information to obtain opposite-end user video information.
The peer user video information may include favorite video information, historically played video information, historically searched video information, and recommended video information of the user at the second electronic device 2.
In a specific embodiment, the second electronic device 2 responds to the video query request, searches video information in the second electronic device 2 according to the video search instruction to obtain opposite-end video information, searches user video information in the second electronic device 2 according to the user information, and obtaining opposite-end user video information includes:
the second information coordination center scans the plurality of application programs and sends a registration invitation request to the plurality of application programs;
the plurality of application programs respond to the registration invitation request and send a registration proxy request to the second information cooperative center, so that the second information cooperative center can request or search video information from the registered plurality of application programs through a proxy interface;
and the second information coordination center responds to the video query request, searches video information from the plurality of application programs according to the video search instruction to obtain opposite-end video information, and/or searches user video information from the plurality of application programs by taking the user information as a keyword to obtain opposite-end user video information.
In one embodiment of the present application, the second information coordination center may search for video information from the plurality of application programs according to a video keyword and/or a type selection instruction of the video search instruction. The second information coordination center can search video information from the plurality of application programs and video servers corresponding to the plurality of application programs according to video keywords and/or type selection instructions of the video search instructions; and receiving video information returned by the plurality of application programs to obtain the opposite-end video information.
In another embodiment of the present application, the second information coordination center may search for user video information from the plurality of application programs using the user information as a keyword. The second information coordination center can search the user video information from the plurality of application programs and the video servers corresponding to the plurality of application programs by taking the user information as a keyword, and receive the user video information returned by the plurality of application programs to obtain the opposite-end user video information.
S206, the second electronic device 2 returns the peer user video information and the peer video information to the first electronic device 1. Specifically, it may include:
The second information cooperative center returns the opposite terminal user video information and the opposite terminal video information to the first information cooperative center based on cooperative authentication communication connection;
the second information coordination center responds to the opposite terminal user video information and the opposite terminal video information in the plurality of application programs to update, or the second information coordination center responds to the video search instruction or the user information to update, acquires updated opposite terminal user video information and updated opposite terminal video information from the plurality of application programs, and returns the updated opposite terminal user video information and the updated opposite terminal video information to the first information coordination center.
Further, in some embodiments of the present application, for an update scenario, if the peer user video information or the peer video information in the plurality of application programs is updated, the plurality of application programs notify the second information coordination center to update the peer user video information or the peer video information; the second information coordination center queries the updated opposite terminal user video information and the updated opposite terminal video information from the plurality of application programs; the plurality of application programs return the updated opposite terminal user video information and the updated opposite terminal video information to the second information coordination center; and the second information coordination center returns the updated opposite terminal user video information and the updated opposite terminal video information to the first information coordination center.
Further, the second information coordination center provides a notification interface. The plurality of application programs can inform the second information coordination center to acquire or update the video information again through the notification interface when the video information changes.
S207, the first electronic device 1 displays all or part of the local end user video information, the local end video information, the peer end user video information, and the peer end video information.
Specifically, in one embodiment of the present application, it may include:
the first information coordination center returns the opposite terminal user video information and the opposite terminal video information to the data management module;
and the data management module selects all or part of the local end user video information, the local end video information, the opposite end user video information and the opposite end video information to display according to the display scene identification in the video search instruction through the interface display module.
For example, when the display scene identifier in the video search instruction corresponds to a search video scene, displaying the local terminal video information and the opposite terminal video information; when the display scene identification in the video search instruction corresponds to the collection video scene, displaying the collection video information in the local end user video information and the opposite end user video information; when the display scene identifier in the video search instruction corresponds to the historical play video scene, displaying the historical play video information in the local end user video information and the opposite end user video information; and when the display scene identifier in the video search instruction corresponds to the recommended video scene, displaying the recommended video information in the local end user video information and the opposite end user video information.
In another embodiment, after the first electronic device 1 presents all or part of the local end user video information, the local end video information, the peer end user video information, and the peer end video information, the cross-device video search method further includes:
responding to a received selection instruction of a user for target video information in a plurality of displayed video information, and requesting target video data corresponding to the target video information to the second electronic equipment 2 by the first electronic equipment 1 according to the selection instruction;
the second electronic device 2 transmits the target video data to the first electronic device 1 for playing through wireless screen projection.
Specifically, the interface display module receives a selection instruction of a user for target video information in the displayed multiple video information, and transmits the selection instruction to the first information coordination center.
The first information coordination center sends the selection instruction to the second information coordination center, and the second information coordination center requests the target video data corresponding to the target video information to the plurality of application programs.
The second information coordination center receives the target video data played by the plurality of application programs and sends a screen-throwing starting instruction to the second screen-throwing module; the first screen projection module receives the target video data returned by the second screen projection module; and playing the target video through the interface display module.
The screen-casting technology can realize that the content of one terminal device is delivered to other terminal devices under the condition that different terminal devices (such as televisions and mobile phones) are connected through a wired connection or a wireless network, and for example, the content of the terminal device can be a digital multimedia (such as high-definition video, audio and picture) file. The screen projection technology can realize sharing of the same content on different terminal devices.
In another embodiment, the video information and/or the user video information are basic information of video data, and the video data may include digital multimedia (e.g., high definition video, audio, picture) files. The video data may include movies, small videos, etc., and the video data may also include video streams of the interface of the recorded electronic device. The interface of the electronic device may include a desktop, a navigation interface, an application interface, a chat interface, and the like.
Fig. 4 is a module interaction flowchart of a cross-device video searching method according to an embodiment of the present application. Referring to fig. 3, a schematic diagram of a cross-device video search framework applied to an electronic device is shown, where a module running in the first electronic device 1 includes the interface display module, the data management module, the first authentication module, the first information coordination center, and the first screen projection module; the modules running in the second electronic device 2 include the second authentication module, the second information coordination center, the second screen projection module, and the plurality of application programs. The above description of the steps performed by the modules is referred to above in the detailed description of the flow of fig. 2.
S401, the interface display module receives a collaborative authentication triggering instruction of a user.
S402, the interface display module responds to the collaborative authentication triggering instruction and calls an authentication interface of the first authentication module.
S403, the first authentication module performs cross-device authentication with the second authentication module by running an authentication method corresponding to the authentication interface.
S404, the second authentication module determines that authentication is successful to the first authentication module.
S405, the interface display module receives a video search instruction input by a user and transmits the video search instruction to the data management module.
Specifically, step S405 may further include: s4051, the interface display module receives a video search instruction input by a user; s4052, transmitting the video searching instruction to the data management module.
And S406, the data management module searches the local-end video information according to the video keywords and/or the type selection instruction in the video search instruction.
S407, the first information coordination center receives the video search instruction from the data management module, and calls an opposite-end video information query interface of the second information coordination center according to the video search instruction.
Specifically, step S407 may further include: s4071, the data management module sends the video search instruction to the first information coordination center, and the first information coordination center receives the video search instruction from the data management module; s4072, the first information coordination center calls an opposite-end video information query interface of the second information coordination center according to the video search instruction.
And S408, the second information coordination center searches video information from the plurality of application programs according to the video keywords and/or the type selection instruction of the video search instruction by running a query method corresponding to the opposite-end video information query interface.
S409, the second information coordination center receives video information returned by the application programs, and obtains the opposite-end video information.
And S410, the second information cooperative center returns the opposite-end video information to the first information cooperative center based on the cooperative authentication communication connection.
S411, the first information coordination center returns the opposite-end video information to the data management module.
S412, the data management module displays the local terminal video information and the opposite terminal video information through the interface display module.
Specifically, step S412 may further include: s4121, the data management module integrates the local terminal video information and the opposite terminal video information; s4122, the data management module displays the integrated video information through the interface display module.
In another embodiment, after the data management module displays the local end video information and the opposite end video information through the interface display module, the method further includes:
s413, the interface display module receives a selection instruction of a user for target video information in the displayed plurality of video information, and transmits the selection instruction to the first information coordination center.
Specifically, step S413 may further include: s4131, the interface display module receives a selection instruction of a user for target video information in the displayed multiple video information; s4132, the interface display module transmits the selection instruction to the first information coordination center.
And S414, the first information coordination center sends the selection instruction to the second information coordination center.
And S415, the second information coordination center requests the target video data corresponding to the target video information to the plurality of application programs.
S416, the second information coordination center receives the target video data played by the application programs and sends an opening screen-throwing instruction to the second screen-throwing module.
Specifically, step S416 may further include: s4161, the plurality of application programs play the target video data; s4162, the second information coordination center receives target video data played by the application programs, and sends an opening screen-throwing instruction to the second screen-throwing module.
S417, the first screen projection module receives the target video data returned by the second screen projection module, displays the target video to the interface display module, and plays the target video through the interface display module.
Specifically, step S417 may further include: s4171, the second screen projection module returns the target video data to the first screen projection module, and the first screen projection module receives the target video data returned by the second screen projection module; s4172, playing the target video through the interface display module.
Alternatively, when the modules in fig. 4 are used to perform a cross-device video search method based on user information, the interaction flow includes:
And the interface display module receives a collaborative authentication triggering instruction of the user.
And the interface display module responds to the collaborative authentication triggering instruction and calls an authentication interface of the first authentication module.
The first authentication module performs cross-device authentication with the second authentication module by running an authentication method corresponding to the authentication interface.
The second authentication module determines that authentication is successful to the first authentication module.
The interface display module receives user information and transmits the user information to the data management module.
And the data management module takes the user information as a keyword, searches the collection video information, the historical play video information, the historical search video information and the recommendation video information corresponding to the user information in the video server connected with the first electronic equipment 1 to obtain the local end user video information.
S427, the first information coordination center receives the user information from the data management module, and sends a user video information request to the second information coordination center according to the user information.
And S428, the second information coordination center searches the user video information from the plurality of application programs by taking the user information as a keyword.
S429, the second information coordination center receives the user video information returned by the application programs and obtains the opposite-end user video information.
And S430, the second information coordination center returns the video information of the opposite terminal user to the first information coordination center based on the communication connection of the coordination authentication.
And S431, the first information coordination center returns the video information of the opposite terminal user to the data management module.
S432, the data management module displays the local end user video information and the opposite end user video information through the interface display module.
In another embodiment, after the data management module displays the local end user video information and the opposite end user video information through the interface display module, the method further includes:
s433, the interface display module receives a selection instruction of a user for target video information in the displayed plurality of video information, and transmits the selection instruction to the first information coordination center.
S434, the first information coordination center sends the selection instruction to the second information coordination center.
And S435, the second information coordination center requests the target video data corresponding to the target video information to the plurality of application programs.
And S436, the second information coordination center receives the target video data played by the application programs and sends an opening screen-throwing instruction to the second screen-throwing module.
S437, the first screen projection module receives the target video data returned by the second screen projection module, and plays the target video through the interface display module.
Fig. 5 is a module interaction flowchart of another cross-device video searching method according to an embodiment of the present application. A cross-device video search framework diagram for application to an electronic device is shown in connection with fig. 3. The various steps performed by the various modules shown in fig. 3 are described in detail above with respect to the flow of fig. 2.
S501, the interface display module receives a collaborative authentication triggering instruction of a user.
S502, the interface display module responds to the collaborative authentication triggering instruction and calls an authentication interface of the first authentication module.
S503, the first authentication module performs cross-device authentication with the second authentication module by running an authentication method corresponding to the authentication interface.
S504, the second authentication module determines that authentication is successful to the first authentication module.
S505, the first information coordination center sends a first acquisition request for the user video information to the second information coordination center.
The first acquisition request may include user information acquired from the first authentication module.
And S506, the second information coordination center sends a second acquisition request for the user video information to the plurality of application programs according to the first acquisition request.
The second acquisition request may include user information extracted from the first acquisition request.
S507, the second information coordination center receives the user video information returned by the application programs, and obtains opposite-end user video information.
And S508, the second information coordination center returns the video information of the opposite terminal user to the first information coordination center based on the communication connection of the coordination authentication.
And S509, the first information coordination center stores the video information of the opposite terminal user to the data management module, wherein the video information of the opposite terminal user is local.
S510, the data management module integrates the local end user video information and the opposite end user video information stored by the data management module.
S511, the interface display module receives an access request for a user video information page and transmits the access request to the data management module.
Specifically, step S511 may further include: s5111, the interface display module receives an access request for a user video information page; s5112, transmitting the access request to the data management module.
S512, the data management module displays the integrated user video information through the interface display module.
In another embodiment, after the data management module displays the integrated user video information through the interface display module, the method further includes:
s513, the interface display module receives a selection instruction of a user for target video information in the displayed plurality of video information, and transmits the selection instruction to the first information coordination center.
Specifically, step S513 may further include: s5131, the interface display module receives a selection instruction of a user for target video information in the displayed multiple video information; s5132, the interface display module transmits the selection instruction to the first information coordination center.
S514, the first information coordination center sends the selection instruction to the second information coordination center.
And S515, the second information coordination center requests the target video data corresponding to the target video information to the plurality of application programs.
S516, the second information coordination center receives the target video data played by the application programs and sends an opening screen-throwing instruction to the second screen-throwing module.
Specifically, step S516 may further include: s5161, the plurality of applications play the target video data; s5162, the second information coordination center receives target video data played by the application programs, and the second information coordination center sends an opening screen-throwing instruction to the second screen-throwing module.
S517, the first screen projection module receives the target video data returned by the second screen projection module, and plays the target video through the interface display module.
Specifically, step S517 may further include: s5171, the second screen projection module returns the target video data to the first screen projection module, and the first screen projection module receives the target video data returned by the second screen projection module; s5172, playing the target video through the interface display module.
The embodiment in fig. 5 may integrate the local end user video information and the opposite end user video information according to an access request to a user video information page, and display the integrated user video information through the interface display module, so as to expand the user video information of the first electronic device 1. With respect to the embodiment of fig. 4, the embodiment of fig. 5 is an extended user video information and the peer user video information has been acquired by the first information coordination center to the second information coordination center before the interface display module receives an access request for a user video information page.
As shown in fig. 6, a flowchart of interaction between a first information coordination center in a first electronic device 1 and a second information coordination center in a second electronic device 2 and a plurality of application programs is provided in an embodiment of the present application.
S601, the second information collaboration center scans the plurality of application programs and sends a registration invitation request to the plurality of application programs.
And S602, the plurality of application programs respond to the registration invitation request and send a registration proxy request to the second information coordination center, so that the second information coordination center can request or search video information from the registered plurality of application programs through a proxy interface.
And S603, the first information coordination center sends a video query request to the second information coordination center.
And S604, the second information coordination center responds to the video query request of the first information coordination center, searches video information from the plurality of application programs according to a video search instruction in the video query request to obtain opposite-end video information, and searches user video information from the plurality of application programs by taking the user information in the video query request as a keyword to obtain opposite-end user video information.
And S605, the plurality of application programs return the opposite terminal user video information and the opposite terminal video information to the second information coordination center.
S606, the second information coordination center returns the opposite terminal user video information and the opposite terminal video information to the first information coordination center based on the communication connection of the coordination authentication.
S607, the plurality of applications update the peer user video information or the peer video information in the plurality of applications.
And S608, if the opposite terminal user video information or the opposite terminal video information in the plurality of application programs is updated, the plurality of application programs inform the second information coordination center to update the opposite terminal user video information or the opposite terminal video information.
S609, the second information coordination center inquires the updated opposite terminal user video information and the updated opposite terminal video information from the plurality of application programs.
And S610, the plurality of application programs return the updated opposite terminal user video information and the updated opposite terminal video information to the second information coordination center.
S611, the second information coordination center returns the updated opposite terminal user video information and the updated opposite terminal video information to the first information coordination center.
Fig. 7 is a flowchart of a cross-device video searching method according to an embodiment of the present application, which is applied to a first electronic device 1. Specifically, the cross-device video searching method comprises the following steps:
s701, the first electronic device 1 and the second electronic device 2 establish a communication connection through cooperative authentication.
S702, the first electronic device 1 receives user information and a video search instruction input by a user.
And S703, the first electronic equipment 1 searches video information in the first electronic equipment 1 according to the video searching instruction to obtain local-end video information.
And S704, the first electronic equipment 1 searches the user video information in the first electronic equipment 1 according to the user information to obtain local end user video information, and sends a video query request to the second electronic equipment 2 according to the user information and the video search instruction.
The local end user video information is video information associated with the user information in the first electronic device 1.
S705, the first electronic device 1 receives the video information of the opposite terminal and the video information of the opposite terminal returned by the second electronic device 2.
S706, the first electronic device 1 displays all or part of the local end user video information, the local end video information, the peer end user video information, and the peer end video information.
In another embodiment, after the first electronic device 1 presents all or part of the local end user video information, the local end video information, the peer end user video information, and the peer end video information, the cross-device video search method further includes:
responding to a received selection instruction of a user for target video information in a plurality of displayed video information, and requesting target video data corresponding to the target video information to the second electronic equipment 2 by the first electronic equipment 1 according to the selection instruction;
the first electronic device 1 plays the target video data through wireless screen projection of the second electronic device 2.
Fig. 8 is a flowchart of a cross-device video searching method according to an embodiment of the present application, which is applied to the second electronic device 2. Specifically, the cross-device video searching method comprises the following steps:
s801, the second electronic device 2 receives the video query request sent by the first electronic device 1.
S802, the second electronic device 2 responds to the video query request, searches video information in the second electronic device 2 according to the video search instruction to obtain opposite-end video information, and searches user video information in the second electronic device 2 according to the user information to obtain opposite-end user video information.
S803, the second electronic device 2 returns the peer user video information and the peer video information to the first electronic device 1.
In another embodiment, after the second electronic device 2 returns the peer user video information and the peer video information to the first electronic device 1, the cross-device video search method further includes:
the second electronic device 2 receives a selection instruction of the first electronic device 1.
The second electronic device 2 is applied to the selection instruction, and requests the target video data corresponding to the target video information in the selection instruction.
The second electronic device 2 transmits the target video data to the first electronic device 1 for playing through wireless screen projection.
Fig. 9 is a schematic diagram of an electronic device according to an embodiment of the present application. The electronic device 90 includes a memory 901, a processor 902, and computer readable instructions stored in the memory 901 and executable on the processor 902, such as a cross-device video search program. The processor 902, when executing the computer-readable instructions, implements the steps in the cross-device video search method embodiments described above.
It will be appreciated by those skilled in the art that the schematic diagram 9 is merely an example of the electronic device 90, and is not meant to be limiting of the electronic device 90, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the electronic device 90 may further include an input-output device, a network access device, a bus, etc.
The processor 902 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor 902 may be any conventional processor or the like, the processor 902 being the control center of the electronic device 90, with various interfaces and lines connecting the various parts of the overall electronic device 90.
The memory 901 may be used to store the computer readable instructions, and the processor 902 may implement various functions of the electronic device 90 by executing or executing the computer readable instructions or modules stored in the memory 901 and invoking data stored in the memory 901. The memory 901 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device 90, or the like. In addition, the Memory 901 may include a hard disk, a Memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), at least one magnetic disk storage device, a Flash Memory device, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or other nonvolatile/volatile storage devices.
The modules integrated by the electronic device 90, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above embodiments, and may also be implemented by means of computer readable instructions to instruct related hardware, where the computer readable instructions may be stored in a computer readable storage medium, where the computer readable instructions, when executed by a processor, implement the steps of the method embodiments described above. Wherein the computer readable instructions comprise computer readable instruction code which may be in the form of source code, object code, executable files, or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer readable instruction code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read Only Memory (ROM), a Random Access Memory (RAM), and so forth.
The present embodiment also provides a computer storage medium having stored therein computer instructions that, when executed on an electronic device, cause the electronic device to perform the related method steps described above to implement the cross-device video search method in the above embodiment.
The present embodiment also provides a computer program product which, when run on an electronic device, causes the electronic device to perform the above-described related steps to implement the cross-device video search method in the above-described embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component, or a module, and may include a processor and a memory connected to each other; the memory is configured to store computer-executable instructions, and when the apparatus is running, the processor may execute the computer-executable instructions stored in the memory, so that the chip performs the cross-device video searching method in the above method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are used to execute the corresponding methods provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding methods provided above, and will not be described herein.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated unit may be stored in a readable storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. The cross-device video searching method is applied to a first electronic device and a second electronic device, and is characterized by comprising the following steps:
the first electronic equipment and the second electronic equipment establish communication connection through cooperative authentication;
the first electronic equipment receives user information and a video search instruction input by a user, wherein the user information is used as a unique identifier of the user and is used for associating video information corresponding to the user;
the first electronic equipment searches video information in the first electronic equipment according to the video searching instruction to obtain local terminal video information, and searches user video information in the first electronic equipment according to the user information to obtain local terminal user video information;
based on the communication connection established by the first electronic equipment and the second electronic equipment through cooperative authentication, the information cooperative center of the first electronic equipment sends a video query request to the information cooperative center of the second electronic equipment according to the user information and the video search instruction;
the information coordination center of the second electronic equipment responds to the video query request, searches video information in the second electronic equipment according to the video search instruction to obtain opposite-end video information, and searches user video information in the second electronic equipment according to the user information to obtain opposite-end user video information;
The information coordination center of the second electronic equipment returns the opposite terminal user video information and the opposite terminal video information to the information coordination center of the first electronic equipment;
and the first electronic equipment displays all or part of the local end user video information, the local end video information, the opposite end user video information and the opposite end video information.
2. The cross-device video search method of claim 1, wherein the first electronic device establishing a communication connection with a second electronic device through co-authentication comprises:
establishing network connection between the first electronic equipment and the second electronic equipment through a local area network;
based on local area network connection, login account authentication is performed between the first electronic device and the second electronic device through a cloud server;
if the login account authentication is successful, a trusted network connection based on the local area network is established between the first electronic equipment and the second electronic equipment, and networking is completed.
3. The method of cross-device video searching according to claim 2, wherein the performing login account authentication between the first electronic device and the second electronic device through a cloud server based on the lan network connection comprises:
The first electronic device requests a public key corresponding to a first login account from the cloud server according to the first login account of the first electronic device;
the first electronic equipment encrypts the first login account according to the public key to obtain an encrypted first login account;
the first electronic device sends the encrypted first login account to the second electronic device;
the second electronic device requests a private key corresponding to a second login account from the cloud server according to the second login account of the second electronic device;
the second electronic equipment decrypts the encrypted first login account according to the private key;
if the decryption is successful, the second electronic equipment returns an authentication qualified message to the first electronic equipment;
and the first electronic equipment responds to the authentication qualified message and determines that the login account authentication is successful.
4. The cross-device video search method of claim 1, wherein the first electronic device establishing a communication connection with a second electronic device through co-authentication comprises:
establishing network connection between the first electronic equipment and the second electronic equipment through a local area network;
Based on local area network connection, equipment authentication is carried out between the first electronic equipment and the second electronic equipment through code scanning or password verification;
if the equipment authentication is successful, establishing a trusted network connection based on the local area network between the first electronic equipment and the second electronic equipment, and completing networking.
5. The method of claim 1, wherein the second electronic device searching video information in response to the video query request according to the video search instruction to obtain peer-to-peer video information, and searching user video information in the second electronic device according to the user information to obtain peer-to-peer user video information comprises:
the second information coordination center of the second electronic equipment scans a plurality of application programs of the second electronic equipment and sends a registration invitation request to the application programs;
the plurality of application programs respond to the registration invitation request and send a registration proxy request to the second information cooperative center, so that the second information cooperative center can request or search video information from the registered plurality of application programs through a proxy interface;
And the second information coordination center responds to the video query request, searches video information from the plurality of application programs according to the video search instruction to obtain opposite-end video information, and/or searches user video information from the plurality of application programs by taking the user information as a keyword to obtain opposite-end user video information.
6. The cross-device video search method of claim 1, wherein the second electronic device returning the peer-to-peer user video information and the peer-to-peer video information to the first electronic device comprises:
the second information coordination center of the second electronic equipment returns the opposite terminal user video information and the opposite terminal video information to the first information coordination center of the first electronic equipment based on the communication connection of the coordination authentication;
the second information coordination center responds to the opposite terminal user video information and the opposite terminal video information in a plurality of application programs of the second electronic equipment to update, or the second information coordination center responds to the video search instruction or the user information to update, acquires updated opposite terminal user video information and updated opposite terminal video information from the plurality of application programs, and returns the updated opposite terminal user video information and the updated opposite terminal video information to the first information coordination center.
7. The cross-device video search method of claim 1, wherein the first electronic device displaying all or part of the local end user video information, the local end video information, the peer end user video information, and the peer end video information comprises:
the first information coordination center of the first electronic equipment returns the opposite terminal user video information and the opposite terminal video information to the data management module of the first electronic equipment;
the data management module selects the local end user video information, the local end video information, the opposite end user video information and all or part of video information in the opposite end video information to display according to the display scene identification in the video search instruction through the interface display module of the first electronic device, wherein the local end user video information is video information associated with the user information in the first electronic device.
8. The cross-device video search method of claim 1, wherein after the first electronic device presents all or a portion of the local end user video information, the local end video information, the peer end user video information, and the peer end video information, the cross-device video search method further comprises:
Responding to a received selection instruction of a user for target video information in a plurality of displayed video information, and requesting target video data corresponding to the target video information to the second electronic equipment by the first electronic equipment according to the selection instruction;
and the second electronic equipment transmits the target video data to the first electronic equipment for playing through wireless screen projection.
9. The cross-device video searching method is applied to the first electronic device and is characterized by comprising the following steps of:
the first electronic equipment and the second electronic equipment establish communication connection through cooperative authentication;
the first electronic equipment receives user information and a video search instruction input by a user, wherein the user information is used as a unique identifier of the user and is used for associating video information corresponding to the user;
the first electronic equipment searches video information in the first electronic equipment according to the video searching instruction to obtain local terminal video information, and searches user video information in the first electronic equipment according to the user information to obtain local terminal user video information;
based on the communication connection established by the first electronic equipment and the second electronic equipment through cooperative authentication, the information cooperative center of the first electronic equipment sends a video query request to the information cooperative center of the second electronic equipment according to the user information and the video search instruction;
The information coordination center of the first electronic device receives the opposite terminal user video information and the opposite terminal video information returned by the information coordination center of the second electronic device;
and the first electronic equipment displays all or part of the local end user video information, the local end video information, the opposite end user video information and the opposite end video information.
10. The method of cross-device video searching of claim 9, wherein the first electronic device establishing a communication connection with a second electronic device through co-authentication comprises:
establishing network connection between the first electronic equipment and the second electronic equipment through a local area network;
based on local area network connection, login account authentication is performed between the first electronic device and the second electronic device through a cloud server;
if the login account authentication is successful, a trusted network connection based on the local area network is established between the first electronic equipment and the second electronic equipment, and networking is completed.
11. The method of cross-device video searching of claim 10, wherein the login account authentication between the first electronic device and the second electronic device via a cloud server based on a local area network connection comprises:
The first electronic device requests a public key corresponding to a first login account from the cloud server according to the first login account of the first electronic device;
the first electronic equipment encrypts the first login account according to the public key to obtain an encrypted first login account;
the first electronic device sends the encrypted first login account to the second electronic device;
and the first electronic equipment responds to the authentication qualified message of the second electronic equipment, and determines that the login account authentication is successful.
12. The method of cross-device video searching of claim 9, wherein the first electronic device establishing a communication connection with a second electronic device through co-authentication comprises:
establishing network connection between the first electronic equipment and the second electronic equipment through a local area network;
based on local area network connection, equipment authentication is carried out between the first electronic equipment and the second electronic equipment through code scanning or password verification;
if the equipment authentication is successful, establishing a trusted network connection based on the local area network between the first electronic equipment and the second electronic equipment, and completing networking.
13. The cross-device video search method of claim 9, wherein the first electronic device displaying all or part of the local end user video information, the local end video information, the peer end user video information, and the peer end video information comprises:
the first information coordination center of the first electronic equipment returns the opposite terminal user video information and the opposite terminal video information to the data management module of the first electronic equipment;
and the data management module selects all or part of the local end user video information, the local end video information, the opposite end user video information and the opposite end video information to display according to the display scene identification in the video search instruction through the interface display module of the first electronic device.
14. The cross-device video search method of claim 9, wherein after the first electronic device presents all or a portion of the local end user video information, the local end video information, the peer end user video information, and the peer end video information, the cross-device video search method further comprises:
Responding to a received selection instruction of a user for target video information in a plurality of displayed video information, and requesting target video data corresponding to the target video information to the second electronic equipment by the first electronic equipment according to the selection instruction;
and the first electronic device plays the target video data transmitted by the second electronic device through wireless screen projection.
15. The cross-device video searching method is applied to the second electronic device and is characterized by comprising the following steps of:
the first electronic equipment and the second electronic equipment establish communication connection through cooperative authentication;
based on the communication connection established by the first electronic equipment and the second electronic equipment through cooperative authentication, the information cooperative center of the second electronic equipment receives a video query request sent by the information cooperative center of the first electronic equipment, wherein the video query request is a request generated by the first electronic equipment according to received user information and a video search instruction input by a user, and the user information is used as a unique identifier of the user and is used for associating video information corresponding to the user;
The information coordination center of the second electronic equipment responds to the video query request, searches video information in the second electronic equipment according to the video search instruction to obtain opposite-end video information, and searches user video information in the second electronic equipment according to the user information to obtain opposite-end user video information;
and the information coordination center of the second electronic equipment returns the opposite terminal user video information and the opposite terminal video information to the information coordination center of the first electronic equipment.
16. The method of claim 15, wherein the second electronic device searching video information at the second electronic device according to the video search instruction in response to the video query request to obtain peer-to-peer video information, and searching user video information at the second electronic device according to the user information to obtain peer-to-peer user video information comprises:
the second information coordination center of the second electronic equipment scans a plurality of application programs of the second electronic equipment and sends a registration invitation request to the application programs;
the plurality of application programs respond to the registration invitation request and send a registration proxy request to the second information cooperative center, so that the second information cooperative center can request or search video information from the registered plurality of application programs through a proxy interface;
And the second information coordination center responds to the video query request, searches video information from the plurality of application programs according to the video search instruction to obtain opposite-end video information, and/or searches user video information from the plurality of application programs by taking the user information as a keyword to obtain opposite-end user video information.
17. The cross-device video search method of claim 15, wherein the second electronic device returning the peer-to-peer user video information and the peer-to-peer video information to the first electronic device comprises:
the second information coordination center of the second electronic equipment returns the opposite terminal user video information and the opposite terminal video information to the first information coordination center of the first electronic equipment based on the communication connection of the coordination authentication;
the second information coordination center responds to the opposite terminal user video information and the opposite terminal video information in a plurality of application programs of the second electronic equipment to update, or the second information coordination center responds to the video search instruction or the user information to update, acquires updated opposite terminal user video information and updated opposite terminal video information from the plurality of application programs, and returns the updated opposite terminal user video information and the updated opposite terminal video information to the first information coordination center.
18. The cross-device video search method of claim 15, wherein after the second electronic device returns the peer-to-peer user video information and the peer-to-peer video information to the first electronic device, the cross-device video search method further comprises:
the second electronic equipment receives a selection instruction of the first electronic equipment;
the second electronic equipment is applied to the selection instruction and requests target video data corresponding to the target video information in the selection instruction;
and the second electronic equipment transmits the target video data to the first electronic equipment for playing through wireless screen projection.
19. An electronic device comprising a processor and a memory; the memory is used for storing instructions; the processor for invoking instructions in the memory to cause the electronic device to perform the cross-device video search method of any of claims 9 to 14, or any of claims 15 to 18.
20. A computer readable storage medium storing at least one instruction that when executed by a processor implements the cross-device video search method of any one of claims 9 to 14, or any one of claims 15 to 18.
CN202011101427.2A 2020-10-15 2020-10-15 Cross-equipment video searching method and related equipment Active CN114430496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011101427.2A CN114430496B (en) 2020-10-15 2020-10-15 Cross-equipment video searching method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011101427.2A CN114430496B (en) 2020-10-15 2020-10-15 Cross-equipment video searching method and related equipment

Publications (2)

Publication Number Publication Date
CN114430496A CN114430496A (en) 2022-05-03
CN114430496B true CN114430496B (en) 2024-03-01

Family

ID=81309642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011101427.2A Active CN114430496B (en) 2020-10-15 2020-10-15 Cross-equipment video searching method and related equipment

Country Status (1)

Country Link
CN (1) CN114430496B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134657A (en) * 2022-05-27 2022-09-30 北京达佳互联信息技术有限公司 Multimedia data live broadcast method and device, electronic equipment and storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702198A (en) * 2013-12-26 2014-04-02 乐视网信息技术(北京)股份有限公司 Cross-terminal continuous playing method and device
CN104205862A (en) * 2012-03-31 2014-12-10 英特尔公司 Dynamic search service
CN104598620A (en) * 2015-01-30 2015-05-06 百度在线网络技术(北京)有限公司 Application program searching method and device
CN105898579A (en) * 2015-12-22 2016-08-24 乐视网信息技术(北京)股份有限公司 Video play following method and system
US9459527B1 (en) * 2011-09-23 2016-10-04 Google Inc. Search control for searching video content
CN106570100A (en) * 2016-10-31 2017-04-19 腾讯科技(深圳)有限公司 Information search method and device
WO2017139151A1 (en) * 2016-02-11 2017-08-17 Carrier Corporation Video searching using multiple query terms
CN107577777A (en) * 2017-09-12 2018-01-12 北京奇艺世纪科技有限公司 A kind of file reference method, apparatus and electronic equipment
CN107809683A (en) * 2017-11-22 2018-03-16 广东电网有限责任公司教育培训评价中心 A kind of live broadcast system and method without plug-in unit based on browser
CN108509497A (en) * 2018-02-23 2018-09-07 阿里巴巴集团控股有限公司 Information recommendation method, device and electronic equipment
CN108684206A (en) * 2017-05-18 2018-10-19 华为技术有限公司 A kind of searching method and device
CN109474843A (en) * 2017-09-08 2019-03-15 腾讯科技(深圳)有限公司 The method of speech control terminal, client, server
CN109492165A (en) * 2015-09-30 2019-03-19 北京奇虎科技有限公司 A kind of network search method and electronic equipment
CN110839176A (en) * 2018-08-16 2020-02-25 青岛海尔多媒体有限公司 Video payment information prompting method and device and video playing system
CN111046265A (en) * 2019-12-11 2020-04-21 北京小米移动软件有限公司 Card data display method, device, equipment and storage medium
CN111221845A (en) * 2019-12-31 2020-06-02 华为技术有限公司 Cross-device information searching method and terminal device
CN111343506A (en) * 2020-02-12 2020-06-26 咪咕文化科技有限公司 A video search method, device, system, server and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI118407B (en) * 2005-06-06 2007-10-31 Teliasonera Ab Reservation of shared IP multimedia resource

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9459527B1 (en) * 2011-09-23 2016-10-04 Google Inc. Search control for searching video content
CN104205862A (en) * 2012-03-31 2014-12-10 英特尔公司 Dynamic search service
CN103702198A (en) * 2013-12-26 2014-04-02 乐视网信息技术(北京)股份有限公司 Cross-terminal continuous playing method and device
CN104598620A (en) * 2015-01-30 2015-05-06 百度在线网络技术(北京)有限公司 Application program searching method and device
CN109492165A (en) * 2015-09-30 2019-03-19 北京奇虎科技有限公司 A kind of network search method and electronic equipment
CN105898579A (en) * 2015-12-22 2016-08-24 乐视网信息技术(北京)股份有限公司 Video play following method and system
WO2017139151A1 (en) * 2016-02-11 2017-08-17 Carrier Corporation Video searching using multiple query terms
CN106570100A (en) * 2016-10-31 2017-04-19 腾讯科技(深圳)有限公司 Information search method and device
CN108684206A (en) * 2017-05-18 2018-10-19 华为技术有限公司 A kind of searching method and device
CN109474843A (en) * 2017-09-08 2019-03-15 腾讯科技(深圳)有限公司 The method of speech control terminal, client, server
CN107577777A (en) * 2017-09-12 2018-01-12 北京奇艺世纪科技有限公司 A kind of file reference method, apparatus and electronic equipment
CN107809683A (en) * 2017-11-22 2018-03-16 广东电网有限责任公司教育培训评价中心 A kind of live broadcast system and method without plug-in unit based on browser
CN108509497A (en) * 2018-02-23 2018-09-07 阿里巴巴集团控股有限公司 Information recommendation method, device and electronic equipment
CN110839176A (en) * 2018-08-16 2020-02-25 青岛海尔多媒体有限公司 Video payment information prompting method and device and video playing system
CN111046265A (en) * 2019-12-11 2020-04-21 北京小米移动软件有限公司 Card data display method, device, equipment and storage medium
CN111221845A (en) * 2019-12-31 2020-06-02 华为技术有限公司 Cross-device information searching method and terminal device
CN111343506A (en) * 2020-02-12 2020-06-26 咪咕文化科技有限公司 A video search method, device, system, server and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种实现机会网络中移动终端屏幕共享的方法;王巧莉;张振宇;刘慧;吴晓红;;现代电子技术(第10期);全文 *

Also Published As

Publication number Publication date
CN114430496A (en) 2022-05-03

Similar Documents

Publication Publication Date Title
US20190139047A1 (en) Block chain based resource management
CN110602087B (en) Intelligent screen projection method and device, intelligent terminal and server
US10298398B2 (en) Peer discovery, connection, and data transfer
US9792633B2 (en) Method and system for intelligent processing of electronic information with cloud computing
CN109479053B (en) Method and system for node discovery and self-healing of block chain networks
CN107005405B (en) Information processing apparatus, control method, and storage medium
CN109995876B (en) File transmission method, device, system and computer storage medium
JP6140910B2 (en) Method, apparatus, program and recording medium for accessing network
US20160210443A1 (en) Method, content owner device, computer program, and computer program product for distributing content items to authorized users
US20150381716A1 (en) Method and system for sharing files over p2p
JPWO2018047698A1 (en) Encrypted message search method, message transmission / reception system, server, terminal, program
CN106255103A (en) A kind of method of data synchronization and equipment
CN114430496B (en) Cross-equipment video searching method and related equipment
CN110290192B (en) Block chain-based data distributed storage and data acquisition method and device
CN101751421A (en) Anisomerous synchronization method, system and device of database in video monitoring system
CN113422807A (en) File transmission method, device and storage medium
CN113966602A (en) Distributed storage of blocks in a blockchain
CN117412167A (en) Video transmission method, video transmission device, electronic equipment and computer storage medium
KR20150119668A (en) File sharing method and system using a e-mail message
CN114124891A (en) Network request processing method and device, storage medium and electronic device
US20150227534A1 (en) Method for processing data query using information-centric network
CN113316140B (en) Wireless network access method, wireless access equipment and terminal
EP4386550A1 (en) Method for accessing resources, and electronic device
KR20120071787A (en) Method for providing home network contents information in remote access environment
CN116709274A (en) Automatic access method and device of Bluetooth terminal equipment 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
GR01 Patent grant
GR01 Patent grant