CN114430496A - Cross-device video searching method and related device - Google Patents

Cross-device video searching method and related device Download PDF

Info

Publication number
CN114430496A
CN114430496A CN202011101427.2A CN202011101427A CN114430496A CN 114430496 A CN114430496 A CN 114430496A CN 202011101427 A CN202011101427 A CN 202011101427A CN 114430496 A CN114430496 A CN 114430496A
Authority
CN
China
Prior art keywords
video information
video
information
electronic equipment
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011101427.2A
Other languages
Chinese (zh)
Other versions
CN114430496B (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

Images

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 or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network

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 end video information, 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 equipment sends a video query request to the second electronic equipment according to the user information and the video search instruction; the second electronic equipment searches video information and 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-end user and the video information of the opposite-end user to the first electronic equipment; the first electronic equipment displays local end user video information, local end video information, opposite end user video information and opposite end video information. According to the method and the device, the data source can be expanded, and the searching efficiency and the searching experience of the user can be improved.

Description

Cross-device video searching method and related device
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a cross-device video search method and a related device.
Background
The user can watch videos through the intelligent playing device, but the number of video playing sources on the intelligent playing device is small, and therefore video resources are lacked. It is difficult to directly search for a target video according to the requirements of a user through the intelligent playing device.
Disclosure of Invention
The embodiment of the application discloses a cross-device video searching method and related devices, which can improve the searching efficiency and searching experience of users by expanding data sources.
The application discloses a cross-device video search 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 end video information, 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 equipment sends a video query request to the second electronic equipment according to the user information and the video search instruction;
the second electronic equipment responds to the video query request, searches video information on the second electronic equipment according to the video search instruction to obtain opposite-end video information, and searches user video information on the second electronic equipment according to the user information to obtain opposite-end user video information;
the second electronic equipment returns the opposite-end user video information and the opposite-end 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 the searching experience of a user are improved.
In some optional embodiments, the establishing, by the first electronic device and the second electronic device, a communication connection through cooperative authentication includes:
the first electronic equipment and the second electronic equipment establish network connection through a local area network;
based on local area network connection, login account authentication is carried out between the first electronic equipment and the second electronic equipment through a cloud server;
and if the login account is successfully authenticated, 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 and the second electronic device perform login account authentication through the cloud server, so that the security of data interaction between the two devices is improved.
In some optional embodiments, the performing, by the first electronic device and the second electronic device, login account authentication through the cloud server based on the local area network connection includes:
the first electronic device requests a public key corresponding to a first login account number from the cloud server according to the first login account number 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 equipment sends the encrypted first login account to the second electronic equipment;
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 a qualified authentication message to the first electronic equipment;
and the first electronic equipment responds to the authentication qualified message and determines that the login account is successfully authenticated.
In some optional embodiments, the establishing, by the first electronic device and the second electronic device, a communication connection through cooperative authentication includes:
the first electronic equipment and the second electronic equipment establish network connection through a local area network;
based on local area network connection, the first electronic device and the second electronic device perform device authentication through a code scanning or verification password;
and 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, in response to the video query request, searches for video information in the second electronic device according to the video search instruction to obtain peer video information, and searches for user video information in the second electronic device according to the user information to obtain peer user video information includes:
a second information collaboration center of the second electronic device scans a plurality of application programs of the second electronic device and sends registration invitation requests to the application programs;
the plurality of application programs respond to the registration invitation request and send a registration agent request to the second information collaboration center, so that the second information collaboration center can request or search video information from the registered plurality of application programs through an agent interface;
and the second information collaboration 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 returning, by the second electronic device, the peer user video information and the peer video information to the first electronic device includes:
based on the communication connection of the cooperative authentication, the second information cooperation center of the second electronic device returns the video information of the opposite-end user and the video information of the opposite-end user to the first information cooperation center of the first electronic device;
and the second information coordination center responds to the update of the video information of the opposite-end user and the video information of the opposite-end user in a plurality of application programs of the second electronic equipment, or responds to the video search instruction or the update of the user information, acquires the updated video information of the opposite-end user and the updated video information of the opposite-end user from the application programs, and returns the updated video information of the opposite-end user and the updated video information of the opposite-end user to the first information coordination center.
In some optional embodiments, the first electronic device presenting 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 video information of the opposite-end user and the video information of the opposite-end user 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 be displayed according to the display scene identification in the video search instruction through an 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 user video information, and the peer 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 pieces of displayed video information, and requesting, by the first electronic equipment, target video data corresponding to the target video information to the second 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 present application discloses a cross-device video search method, which is applied to a first electronic device, and the cross-device video search method includes:
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 equipment sends a video query request to the second electronic equipment according to the user information and the video search instruction;
the first electronic equipment receives the opposite-end user video information and the opposite-end 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 present application discloses a cross-device video search method, which is applied to a second electronic device, and the cross-device video search method includes:
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 on the second electronic equipment according to the video search instruction to obtain opposite-end video information, and searches user video information on the second electronic equipment according to the user information to obtain opposite-end user video information;
and the second electronic equipment returns the video information of the opposite-end user and the video information of the opposite-end user to the first electronic equipment.
A fourth aspect of the present application discloses an electronic device, comprising a processor and a memory; the memory to store 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 according to the second aspect or the third aspect.
A fifth aspect of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction, which when executed by a processor, implements a cross-device video search method as described in the second or third aspect above.
For technical effects brought by the second aspect to the fifth aspect, reference may be made to the description related to the methods in the above method section, and details are not described herein again.
Drawings
Fig. 1 is a schematic application environment diagram of a cross-device video search method according to an embodiment of the present application.
Fig. 2 is a flowchart of a cross-device video search 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 flowchart illustrating module interaction of a cross-device video search method according to an embodiment of the present application.
Fig. 5 is a flowchart illustrating module interaction of another cross-device video search method according to an embodiment of the present application.
Fig. 6 is a flowchart of interaction between a first information collaboration center in a first electronic device, a second information collaboration center in a second electronic device, and multiple applications according to an embodiment of the present application.
Fig. 7 is a flowchart of a cross-device video search 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 search 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, some descriptions of concepts related to the embodiments of the present application are given by way of illustration and reference.
In the present application, "at least one" means one or more, "and" a plurality "means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, e.g., A and/or B may represent: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The terms "first," "second," "third," "fourth," and the like in the description and in the claims and drawings of the present application, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In order to better understand the cross-device video search method and the related device disclosed in the embodiment of the present application, an application environment of the cross-device video search method of the present application is first described below.
Fig. 1 is a schematic application environment diagram of a cross-device video search method according to an embodiment of the present application. As shown in fig. 1, the cross-device video search method is applied to a plurality of electronic devices, for example, a smart player device and a smart mobile device. The intelligent playing device can comprise terminal devices for providing television services for users, such as an intelligent 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, laptops, Ultra-mobile Personal computers (UMPCs), netbooks, Personal Digital Assistants (PDAs), and so on.
The intelligent playing device and the intelligent mobile device can play video pictures, and the intelligent mobile device can project 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, a video picture of a mobile phone is projected to a 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 an exemplary illustration only, and embodiments of the present application are not limited in particular herein.
As shown in fig. 2, a flowchart of a cross-device video search method provided in this 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 playback device shown in fig. 1, and the second electronic device 2 may be an intelligent mobile device shown in fig. 1. For convenience of description, from the perspective of the first electronic device 1 (e.g., the smart playing device), various types of video information acquired by the first electronic device 1 are hereinafter referred to as local-side video information, and various types of video information acquired by the second electronic device 2 are hereinafter referred to as peer-side video information. Specifically, the cross-device video search method includes:
s201, the first electronic device 1 and the second electronic device 2 establish communication connection through cooperative authentication.
The first electronic device 1 and the second electronic device 2 may establish a network connection in a wired and/or wireless manner.
For example, the first electronic device 1 and the second electronic device 2 may establish a connection through 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 that is switched over by a relay device. When the Wireless Communication network is a local area network, the Wireless Communication network may be a short-range Communication network such as 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 (NFC) network, for example. When the wireless communication Network is a wide area Network, the communication Network may be, for example, a third-generation wireless telecommunications technology (3G) Network, a fourth-generation Mobile communication technology (4G) Network, a fifth-generation Mobile communication technology (5G) Network, a future-evolution Public Land Mobile Network (PLMN), the internet, or the like. The first electronic device 1 and the second electronic device 2 may transmit data, such as sending video, retrieving results of video, etc., through a network connection.
In some embodiments of the present application, the establishing, by the first electronic device 1 and the second electronic device 2, a communication connection through cooperative authentication includes:
the first electronic device 1 and the second electronic device 2 establish network connection through a local area network;
based on local area network connection, the first electronic device 1 and the second electronic device 2 perform device authentication through a preset password;
and if the equipment authentication is successful, establishing a trusted network connection based on the local area network between the first electronic equipment 1 and the second electronic equipment 2, and completing networking.
In other embodiments, the establishing, by the first electronic device 1 and the second electronic device 2, the communication connection through the cooperative authentication includes:
the first electronic device 1 and the second electronic device 2 establish network connection through a local area network;
based on local area network connection, the first electronic device 1 and the second electronic device 2 perform device authentication through code scanning or verification passwords;
and 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 acquire device information and/or a verification password of the device of the other party by scanning the password to confirm establishment of the trusted network connection. The first electronic device 2 or the second electronic device 2 may establish a trusted network connection by inputting the verification password and verifying the verification password, thereby completing networking.
In other embodiments, the establishing, by the first electronic device 1 and the second electronic device 2, the communication connection through the cooperative authentication includes:
the first electronic device 1 and the second electronic device 2 establish network connection through a local area network;
based on local area network connection, login account authentication is performed between the first electronic device 1 and the second electronic device 2 through a cloud server;
and if the login account authentication is successful, establishing a trusted network connection based on the local area network between the first electronic device 1 and the second electronic device 2, and completing networking.
The first electronic device 1 and the second electronic device 2 are connected to the cloud server via a wireless communication network. The first electronic device 1 and the second electronic device 2 perform communication and data interaction based on the trusted network connection of the local area network, so that the security of data access between the devices can be ensured, and the data is prevented from being illegally accessed.
Optionally, the performing, by the cloud server, login account authentication between the first electronic device 1 and the second electronic device 2 based on the local area network connection includes:
the first electronic device 1 requests a public key corresponding to a first login account number from the cloud server according to the first login account number 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 to the second electronic device 2 (through 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;
if the decryption is successful, the second electronic device 2 returns an authentication qualified message to the first electronic device 1 (through the local area network or the wireless communication network);
and the first electronic equipment 1 responds to the authentication qualified message and determines that the login account authentication is successful.
Optionally, the performing, by the cloud server, login account authentication between the first electronic device 1 and the second electronic device 2 includes:
the first electronic device 1 requests a public key corresponding to a first login account number from the cloud server according to the first login account number 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 to the second electronic device 2 (through 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 determines 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 device 1 judges that the decrypted first login account information is consistent with the first login account information, determining that the login account authentication is successful.
Further, in some embodiments of the present application, if the device authentication or the login account authentication between the first electronic device 1 and the second electronic device 2 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 cross-device video search framework applied to the electronic device, which is provided in the embodiment of the present application shown in fig. 3, is described in detail, and includes, but is not limited to: the interface display module, the data management module, the first authentication module, the first information collaboration center and the first screen projection module of the first electronic device 1, the second authentication module, the second information collaboration center and the second screen projection module of the second electronic device 2, and a plurality of Applications (APPs) of the second electronic device 2, such as video applications, that is, video APPs.
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 application programs, 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 arrange 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 collaboration 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 an embodiment of the present application, device authentication or login account authentication may be performed through the first authentication module and the second electronic device 2. After the device authentication is successful or the login account authentication is successful, the modules in the first electronic device 1 and the second electronic device 2 may perform communication and data interaction based on the generated trusted credential.
Specifically, the interface display module may receive a collaborative authentication trigger instruction of a user; the interface display module responds to the cooperative 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 operating an authentication method corresponding to the authentication interface; the second authentication module determines that authentication is successful with the first authentication module. The cross-device authentication may include device authentication or login account authentication as described above.
S202, the first electronic device 1 receives user information and a video search instruction input by a user.
The user information may be login account information of the first electronic device 1, and may be used as a unique identifier of the user to associate video information corresponding to the user.
The video search instructions may include video keywords for searching for videos. The video search instruction further comprises a triggering instruction used for triggering the search request. And the first electronic equipment 1 responds to the trigger instruction and executes a search task according to the video keywords.
The video searching instruction can also comprise a type selecting instruction which is used for indicating the video type of the video to be searched.
The video search instruction may further include source device information, an application to which the search action belongs, a display scene identifier, and the like.
Specifically, user information and a video search instruction input by a user can be received through the interface display module, and the interface display module transmits the video search instruction to the data management module.
S203, the first electronic device 1 searches for video information in the first electronic device 1 according to the video search instruction, so as to obtain local-end video information.
The first electronic equipment 1 can search video information from the first electronic equipment 1 by using a video keyword and/or a type selection instruction of the video search instruction; the first electronic device 1 may further 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 device 1 may search for hit video information from the first electronic device 1 and a video server to which the first electronic device 1 is connected, according to a "hit" type selection instruction.
As another example, the first electronic device 1 may search for a popular video from the first electronic device 1 and a video server to which the first electronic device 1 is connected, according to a specified video keyword. The specified video keyword may be a video name, an actor name, a director name, etc.
For another example, the first electronic device 1 may search for video information of which video genre is identical to "comedy" and of which the video director is the designated director name, from a video server to which the first electronic device 1 and the first electronic device 1 are connected, according to the "comedy" genre selection instruction and the designated director name.
The video information may include video names, actor names, director names, video types, playback sources, playback 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 the plurality of video information.
Specifically, the data management module searches local video information according to a video keyword and/or a type selection instruction in the video search instruction.
Alternatively, the data management module may store video information searched from a video server to which the first electronic device 1 is connected to a local side;
and the data management module searches local video information according to the video keyword and/or type selection instruction in the video search instruction.
S204, the first electronic device 1 searches 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 in the first electronic device 1 associated with the user information.
The local end user video information may comprise user's favorite video information, history playing video information, history searching video information and recommended video information at the first electronic device 1.
In a specific embodiment, the searching, by the first electronic device 1, for the user video information in the first electronic device 1 according to the user information includes:
the data management module takes the user information as a keyword, and searches collected video information, historical playing video information, historical searching video information and recommended video information corresponding to the user information in a video server connected with the first electronic device 1 and the first electronic device 1;
and the data management module is used for removing the duplicate of the searched video information to obtain the video information of the local end user.
For example, the user information is "zhangsan 001", and the video servers connected to the first electronic device 1 and the first electronic device 1 may search for the video information 1 and the video information 2 corresponding to the user information by using "zhangsan 001" as a keyword; and carrying out duplicate removal on 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 as a message body according to the user information and the video search instruction, 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, in response to the video query request, searches for video information in the second electronic device 2 according to the video search instruction to obtain peer-to-peer video information, and searches for user video information in the second electronic device 2 according to the user information to obtain peer-to-peer user video information.
The video information of the opposite-end user can comprise video information collected by the user on the second electronic device 2, video information played in history, video information searched in history and video information recommended by the user.
In a specific embodiment, the second electronic device 2, in response to the video query request, searches for video information in the second electronic device 2 according to the video search instruction to obtain peer-to-peer video information, and searches for user video information in the second electronic device 2 according to the user information to obtain peer-to-peer user video information includes:
the second information collaboration center scans the plurality of application programs and sends registration invitation requests to the plurality of application programs;
the plurality of application programs respond to the registration invitation request and send a registration agent request to the second information collaboration center, so that the second information collaboration center can request or search video information from the registered plurality of application programs through an agent interface;
and the second information collaboration 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 an embodiment of the application, the second information collaboration center may search for video information from the plurality of applications according to a video keyword and/or a type selection instruction of the video search instruction. The second information collaboration center can search video information from the plurality of application programs and the video servers corresponding to the plurality of application programs according to the video keyword and/or type selection instruction of the video search instruction; and receiving the video information returned by the plurality of application programs to obtain the opposite-end video information.
In another embodiment of the application, the second information collaboration center may search the user video information from the plurality of applications by using the user information as a keyword. The second information collaboration center may search the user video information from the multiple application programs and the video servers corresponding to the multiple application programs, with the user information as a keyword, and receive the user video information returned by the multiple application programs, so as 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, the method can comprise the following steps:
based on the communication connection of the cooperative authentication, the second information cooperation center returns the opposite-end user video information and the opposite-end video information to the first information cooperation center;
and the second information coordination center responds to the update of the opposite-end user video information and the opposite-end video information in the plurality of application programs, or responds to the video search instruction or the update of the user information, acquires the updated opposite-end user video information and the updated opposite-end video information from the plurality of application programs, and returns the updated opposite-end user video information and the updated opposite-end video information to the first information coordination center.
Further, in some embodiments of the present application, for an update scene, if peer user video information or peer video information in the multiple application programs is updated, the multiple application programs notify the second information coordination center to update the peer user video information or the peer video information; the second information collaboration center inquires the updated opposite-end user video information and the updated opposite-end video information to the plurality of application programs; the plurality of application programs return the updated opposite-end user video information and the updated opposite-end video information to the second information coordination center; and the second information coordination center returns the updated opposite-end user video information and the updated opposite-end video information to the first information coordination center.
Further, the second information collaboration center provides a notification interface. The plurality of application programs can inform the second information coordination center to reacquire or update the video information 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, the method may include:
the first information coordination center returns the opposite-end user video information and the opposite-end 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 be displayed according to the display scene identification in the video search instruction through the interface display module.
For example, when a display scene identifier in the video search instruction corresponds to a search video scene, the local end video information and the opposite end video information are displayed; when the display scene identification in the video search instruction corresponds to a collected video scene, displaying the collected video information in the local end user video information and the opposite end user video information; when a display scene identifier in the video search instruction corresponds to a historical playing video scene, displaying historical playing video information in the local end user video information and the opposite end user video information; and when the display scene identification in the video search instruction corresponds to the recommended video scene, displaying the video information of the local end user and the recommended video information in the video information of the opposite end user.
In another embodiment, after 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, the cross-device video search method further includes:
in response to a received selection instruction of a user for target video information in the displayed plurality of video information, the first electronic device 1 requests the second electronic device 2 for target video data corresponding to the target video information according to the selection instruction;
and the second electronic equipment 2 transmits the target video data to the first electronic equipment 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 plurality of video information, and transmits the selection instruction to the first information coordination center.
And the first information coordination center sends the selection instruction to the second information coordination center, and the second information coordination center orders the target video data corresponding to the target video information to the plurality of application programs.
The second information collaboration center receives the target video data played by the plurality of application programs and sends a screen projection starting instruction to the second screen projection 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 projection technology can realize the delivery of the content of one terminal device 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, for example, the content of the terminal devices can be digital multimedia (such as high-definition videos, audios and pictures) files. The screen projection technology can realize the sharing of the same content on different terminal devices.
In another embodiment, the video information and/or user video information described above is basic information of video data, which 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 a video stream of an interface of the recorded electronic device. The interfaces of the electronic device may include a desktop, a navigation interface, an application interface, a chat interface, and the like.
Fig. 4 is a flowchart illustrating module interaction of a cross-device video search method according to an embodiment of the present application. With reference to fig. 3, a schematic diagram of a cross-device video search framework applied to an electronic device is shown, where modules running in the first electronic device 1 include the interface display module, the data management module, the first authentication module, the first information collaboration center, and the first screen projection module; the modules running in the second electronic device 2 include the second authentication module, the second information collaboration center, the second screen projection module, and the plurality of application programs. The description of the steps executed by the modules can refer to 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 cooperative authentication triggering instruction and calls an authentication interface of the first authentication module.
And S403, the first authentication module performs cross-device authentication with the second authentication module by operating an authentication method corresponding to the authentication interface.
S404, the second authentication module determines that the 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, the video searching instruction is transmitted to the data management module.
S406, the data management module searches local video information according to the video keyword and/or 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 the video information from the plurality of application programs according to the video keyword and/or type selection instruction of the video search instruction by operating the query method corresponding to the opposite-end video information query interface.
And S409, the second information coordination center receives the video information returned by the plurality of application programs to obtain the opposite-end video information.
And S410, based on the communication connection of the cooperative authentication, the second information cooperation center returns the opposite-end video information to the first information cooperation center.
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 end video information and the opposite end video information through the interface display module.
Specifically, the step S412 may further include: s4121, integrating the local end video information and the opposite end video information by the data management module; 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 peer 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 multiple pieces 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 on target video information in the displayed plurality of 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.
S415, the second information cooperates with the center to request the target video data corresponding to the target video information to the plurality of applications.
And S416, the second information collaboration center receives the target video data played by the plurality of application programs and sends a screen projection starting instruction to the second screen projection module.
Specifically, step S416 may further include: s4161, the plurality of application programs playing the target video data; s4162, the second information coordination center receives the target video data played by the plurality of application programs, and the second information coordination center sends a screen projection starting instruction to the second screen projection 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, returning the target video data to the first screen projection module by the second screen projection module, and receiving the target video data returned by the second screen projection module by the first 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 interactive flow includes:
and the interface display module receives a collaborative authentication triggering instruction of a user.
And the interface display module responds to the cooperative authentication triggering instruction and calls an authentication interface of the first authentication module.
And the first authentication module performs cross-device authentication with the second authentication module by operating an authentication method corresponding to the authentication interface.
The second authentication module determines that authentication is successful with the first authentication module.
And the interface display module receives user information and transmits the user information to the data management module.
The data management module takes the user information as a keyword, and searches the video collection information, the historical playing video information, the historical searching video information and the recommended video information corresponding to the user information in the video server connected with the first electronic device 1 and the first electronic device 1 to obtain the local user video information.
And 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.
S428, the second information collaboration center searches the user video information from the plurality of applications by using the user information as a keyword.
And S429, the second information collaboration center receives the user video information returned by the plurality of application programs to obtain the opposite-end user video information.
And S430, based on the communication connection of the cooperative authentication, the second information cooperation center returns the video information of the opposite-end user to the first information cooperation center.
And S431, the first information coordination center returns the video information of the opposite-end user to the data management module.
And 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 peer end user video information through the interface display module, the method further includes:
and S433, the interface display module receives a selection instruction of a user on 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 cooperates with the center to request the target video data corresponding to the target video information to the plurality of application programs.
And S436, the second information collaboration center receives the target video data played by the plurality of application programs and sends a screen projection starting instruction to the second screen projection module.
And S437, the first screen projection module receives the target video data returned by the second screen projection module, and the target video is played through the interface display module.
Fig. 5 is a flowchart illustrating module interactions of another cross-device video search method according to an embodiment of the present application. A schematic diagram of a cross-device video search framework applied to an electronic device is shown in conjunction with fig. 3. The description of the steps performed by the various modules shown in fig. 3 may refer to the detailed description of the flow of fig. 2 above.
S501, the interface display module receives a collaborative authentication triggering instruction of a user.
S502, the interface display module responds to the cooperative 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 operating an authentication method corresponding to the authentication interface.
S504, the second authentication module determines that the authentication is successful to the first authentication module.
And 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.
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 the user information extracted from the first acquisition request.
And S507, the second information coordination center receives the user video information returned by the plurality of application programs to obtain the opposite-end user video information.
And S508, based on the communication connection of the cooperative authentication, the second information cooperation center returns the video information of the opposite-end user to the first information cooperation center.
S509, the first information coordination center stores the peer user video information to the data management module, where the local peer user video information exists.
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.
And 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 on 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 on target video information in the displayed 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 cooperates with the center to request the target video data corresponding to the target video information to the plurality of application programs.
S516, the second information collaboration center receives the target video data played by the multiple application programs and sends a screen projection starting instruction to the second screen projection module.
Specifically, step S516 may further include: s5161, the plurality of application programs play the target video data; and S5162, the second information coordination center receives the target video data played by the plurality of application programs, and the second information coordination center sends a screen projection starting instruction to the second screen projection module.
And S517, the first screen projection module receives the target video data returned by the second screen projection module, and the target video is played 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 peer end user video information according to an access request for 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. Compared with the embodiment in fig. 4, the embodiment in fig. 5 is to expand the user video information, and before the interface display module receives the access request for the user video information page, the opposite-end user video information is already acquired from the first information coordination center to the second information coordination center.
Fig. 6 is a flowchart illustrating interaction between a first information collaboration center in a first electronic device 1 and a plurality of applications in a second information collaboration center in a second electronic device 2 according to an embodiment of the present application.
S601, the second information collaboration center scans the plurality of application programs, and sends a request for invitation to register to the plurality of application programs.
S602, the multiple applications respond to the registration invitation request, and send a registration agent request to the second information coordination center, so that the second information coordination center can request or search the video information from the registered multiple applications through an agent interface.
S603, the first information coordination center sends a video query request to the second information coordination center.
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.
S605, the application programs return the opposite-end user video information and the opposite-end video information to the second information coordination center.
And S606, based on the communication connection of the cooperative authentication, the second information cooperation center returns the opposite-end user video information and the opposite-end video information to the first information cooperation center.
S607, the plurality of application programs update the opposite-end user video information or the opposite-end video information in the plurality of application programs.
S608, 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.
And S609, the second information cooperates with the center to inquire the updated opposite-end user video information and the updated opposite-end video information to the plurality of application programs.
S610, the plurality of application programs return the updated opposite-end user video information and the updated opposite-end video information to the second information coordination center.
S611, the second information coordination center returns the updated peer user video information and the updated peer video information to the first information coordination center.
As shown in fig. 7, a flowchart of a cross-device video search method provided in the embodiment of the present application is applied to the first electronic device 1. Specifically, the cross-device video search method includes:
s701, the first electronic device 1 and the second electronic device 2 establish communication connection through cooperative authentication.
S702, the first electronic device 1 receives user information and a video search instruction input by a user.
S703, the first electronic device 1 searches for video information in the first electronic device 1 according to the video search instruction, so as to obtain local-end video information.
S704, the first electronic device 1 searches for user video information in the first electronic device 1 according to the user information to obtain local 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 in the first electronic device 1 associated with the user information.
S705, the first electronic device 1 receives the peer user video information and the peer video information 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 opposite end user video information, and the opposite end video information.
In another embodiment, after 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, the cross-device video search method further includes:
in response to a received selection instruction of a user for target video information in the displayed plurality of video information, the first electronic device 1 requests the second electronic device 2 for target video data corresponding to the target video information according to the selection instruction;
and the first electronic equipment 1 plays the target video data through the wireless screen projection of the second electronic equipment 2.
As shown in fig. 8, a flowchart of a cross-device video search method provided in the embodiment of the present application is applied to the second electronic device 2. Specifically, the cross-device video search method includes:
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.
And the second electronic equipment 2 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 2 transmits the target video data to the first electronic equipment 1 for playing through wireless screen projection.
Fig. 9 is a schematic view of an electronic device provided in an embodiment of the present application. The electronic device 90 includes a memory 901, a processor 902, and computer readable instructions, such as a cross-device video search program, stored in the memory 901 and executable on the processor 902. The processor 902, when executing the computer readable instructions, performs the steps in the cross-device video search method embodiments described above.
Those skilled in the art will appreciate that the schematic diagram 9 is merely an example of the electronic device 90, and does not constitute a limitation on the electronic device 90, and may include more or less components than those shown, or combine some components, or different components, for example, 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 (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. 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 for the electronic device 90 and various interfaces and lines connecting the various parts of the overall electronic device 90.
The memory 901 may be used for storing 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, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data created according to the use of the electronic device 90, and 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 Memory Card (Flash Card), at least one disk storage device, a Flash Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), or other non-volatile/volatile storage devices.
The integrated modules of the electronic device 90 may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by the present application, and can also be realized by hardware related to computer readable instructions, which can be stored in a computer readable storage medium, and when the computer readable instructions are executed by a processor, the steps of the above described method embodiments can be realized. Wherein the computer readable instructions comprise computer readable instruction code which may be in source code form, object code form, an executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer readable instruction code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, Read Only Memory (ROM), Random Access Memory (RAM), etc.
The present embodiment also provides a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are run on an electronic device, the electronic device is caused to execute the above related method steps to implement the cross-device video search method in the above embodiments.
The present embodiment also provides a computer program product, which when running on an electronic device, causes the electronic device to execute the above related steps to implement the cross-device video search method in the above 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 used for storing computer execution instructions, and when the apparatus runs, the processor may execute the computer execution instructions stored in the memory, so as to enable the chip to execute the cross-device video search method in the above-mentioned method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the module or unit is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the 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 by the 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. A 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 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 end video information, 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 equipment sends a video query request to the second electronic equipment according to the user information and the video search instruction;
the second electronic equipment responds to the video query request, searches video information on the second electronic equipment according to the video search instruction to obtain opposite-end video information, and searches user video information on the second electronic equipment according to the user information to obtain opposite-end user video information;
the second electronic equipment returns the opposite-end user video information and the opposite-end 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.
2. The cross-device video search method of claim 1, wherein establishing a communication connection by collaborative authentication between the first electronic device and the second electronic device comprises:
the first electronic equipment and the second electronic equipment establish network connection through a local area network;
based on local area network connection, login account authentication is carried out between the first electronic equipment and the second electronic equipment through a cloud server;
and if the login account is successfully authenticated, establishing a trusted network connection based on the local area network between the first electronic equipment and the second electronic equipment, and completing networking.
3. The cross-device video search method according to claim 2, wherein the authentication of the login account between the first electronic device and the second electronic device through a cloud server based on the local area network connection comprises:
the first electronic device requests a public key corresponding to a first login account number from the cloud server according to the first login account number 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 equipment sends the encrypted first login account to the second electronic equipment;
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 a qualified authentication message to the first electronic equipment;
and the first electronic equipment responds to the authentication qualified message and determines that the login account is successfully authenticated.
4. The cross-device video search method of claim 1, wherein establishing a communication connection by collaborative authentication between the first electronic device and the second electronic device comprises:
the first electronic equipment and the second electronic equipment establish network connection through a local area network;
based on local area network connection, the first electronic device and the second electronic device perform device authentication through a code scanning or verification password;
and 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 cross-device video search method of claim 1, wherein the second electronic device, in response to the video query request, searches for video information at the second electronic device according to the video search instruction to obtain peer video information, and searches for user video information at the second electronic device according to the user information to obtain peer user video information comprises:
a second information collaboration center of the second electronic device scans a plurality of application programs of the second electronic device and sends registration invitation requests to the application programs;
the plurality of application programs respond to the registration invitation request and send a registration agent request to the second information collaboration center, so that the second information collaboration center can request or search video information from the registered plurality of application programs through an agent interface;
and the second information collaboration 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 user video information and the peer video information to the first electronic device comprises:
based on the communication connection of the cooperative authentication, the second information cooperation center of the second electronic device returns the video information of the opposite-end user and the video information of the opposite-end user to the first information cooperation center of the first electronic device;
and the second information coordination center responds to the update of the video information of the opposite-end user and the video information of the opposite-end user in a plurality of application programs of the second electronic equipment, or responds to the video search instruction or the update of the user information, acquires the updated video information of the opposite-end user and the updated video information of the opposite-end user from the application programs, and returns the updated video information of the opposite-end user and the updated video information of the opposite-end user to the first information coordination center.
7. The cross-device video search method of claim 1, wherein the first electronic device presenting 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 video information of the opposite-end user and the video information of the opposite-end user 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 be displayed according to a display scene identifier in the video search instruction through an interface display module of the first electronic device, wherein the local end user video information is video information which is related to the user information in the first electronic device.
8. The cross-device video search method of claim 1, wherein after the first electronic device exposes all or part of the local end user video information, the local end video information, the peer user video information, and the peer 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 pieces of displayed video information, and requesting, by the first electronic equipment, target video data corresponding to the target video information to the second 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. A cross-device video searching method is applied to a first 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 searching instruction input by a user;
the first electronic equipment searches video information on the first electronic equipment according to the video searching instruction to obtain local end video information, and searches user video information on the first electronic equipment according to the user information to obtain local end user video information;
the first electronic equipment sends a video query request to the second electronic equipment according to the user information and the video search instruction;
the first electronic equipment receives the opposite-end user video information and the opposite-end 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.
10. The cross-device video search method of claim 9, wherein establishing a communication connection by collaborative authentication between the first electronic device and the second electronic device comprises:
the first electronic equipment and the second electronic equipment establish network connection through a local area network;
based on local area network connection, login account authentication is carried out between the first electronic equipment and the second electronic equipment through a cloud server;
and if the login account is successfully authenticated, establishing a trusted network connection based on the local area network between the first electronic equipment and the second electronic equipment, and completing networking.
11. The cross-device video search method of claim 10, wherein the performing login account authentication between the first electronic device and the second electronic device through a cloud server based on the local area network connection comprises:
the first electronic device requests a public key corresponding to a first login account number from the cloud server according to the first login account number 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 equipment sends the encrypted first login account to the second electronic equipment;
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 cross-device video search method of claim 9, wherein establishing a communication connection by collaborative authentication between the first electronic device and the second electronic device comprises:
the first electronic equipment and the second electronic equipment establish network connection through a local area network;
based on local area network connection, the first electronic device and the second electronic device perform device authentication through a code scanning or verification password;
and 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 presenting 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 video information of the opposite-end user and the video information of the opposite-end user 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 be displayed according to the display scene identification in the video search instruction through an interface display module of the first electronic device.
14. The cross-device video search method of claim 9, wherein after the first electronic device exposes all or a portion of the local end user video information, the local end video information, the peer user video information, and the peer 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 pieces of displayed video information, and requesting, by the first electronic equipment, target video data corresponding to the target video information to the second electronic equipment according to the selection instruction;
and the first electronic equipment plays the target video data transmitted by the second electronic equipment through wireless screen projection.
15. A cross-device video searching method is applied to a second electronic device, and is characterized by comprising 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 on the second electronic equipment according to the video search instruction to obtain opposite-end video information, and searches user video information on the second electronic equipment according to the user information to obtain opposite-end user video information;
and the second electronic equipment returns the video information of the opposite-end user and the video information of the opposite-end user to the first electronic equipment.
16. The cross-device video search method of claim 15, wherein the second electronic device, in response to the video query request, searches for video information at the second electronic device according to the video search instruction to obtain peer video information, and searches for user video information at the second electronic device according to the user information to obtain peer user video information comprises:
a second information collaboration center of the second electronic device scans a plurality of application programs of the second electronic device and sends registration invitation requests to the application programs;
the plurality of application programs respond to the registration invitation request and send a registration agent request to the second information collaboration center, so that the second information collaboration center can request or search video information from the registered plurality of application programs through an agent interface;
and the second information collaboration 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 user video information and the peer video information to the first electronic device comprises:
based on the communication connection of the cooperative authentication, the second information cooperation center of the second electronic device returns the video information of the opposite-end user and the video information of the opposite-end user to the first information cooperation center of the first electronic device;
and the second information coordination center responds to the update of the video information of the opposite-end user and the video information of the opposite-end user in a plurality of application programs of the second electronic equipment, or responds to the video search instruction or the update of the user information, acquires the updated video information of the opposite-end user and the updated video information of the opposite-end user from the application programs, and returns the updated video information of the opposite-end user and the updated video information of the opposite-end user 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 user video information and the 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 plays the 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 to store instructions; the processor to invoke the 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 which, when executed by a processor, implements a cross-device video search method as recited in 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 true CN114430496A (en) 2022-05-03
CN114430496B 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)

Cited By (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 (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090207789A1 (en) * 2005-06-06 2009-08-20 Vaeaenaenen Kai Shared ip multimedia resource reservation
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 咪咕文化科技有限公司 Video searching method, device, system, server and readable storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090207789A1 (en) * 2005-06-06 2009-08-20 Vaeaenaenen Kai Shared ip multimedia resource reservation
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 咪咕文化科技有限公司 Video searching method, device, system, server and readable storage medium

Non-Patent Citations (1)

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

Cited By (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

Also Published As

Publication number Publication date
CN114430496B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
US20190139047A1 (en) Block chain based resource management
CN109522330B (en) Cloud platform data processing method, device, equipment and medium based on block chain
US9792633B2 (en) Method and system for intelligent processing of electronic information with cloud computing
CN113193965B (en) Digital content materialization display system based on NFT
US8914351B2 (en) Method and system for secure automated document registration from social media networks
CN109479053B (en) Method and system for node discovery and self-healing of block chain networks
US20130138619A1 (en) Method and system for automated document registration with cloud computing
US20180365395A1 (en) Multimedia data processing method, apparatus, system, and storage medium
US20150363609A1 (en) Information Processing Method and Apparatus, Information Retrieval Method and Apparatus, User Terminal, and Server
JP5374209B2 (en) Content sharing system, content sharing server and program
CN107005405B (en) Information processing apparatus, control method, and storage medium
CN108763876B (en) Resource copyright checking method, device and equipment
JP2009135775A (en) Content delivery system
JP2017511089A (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
CN111368232A (en) Password sharing reflux method and device, electronic equipment and storage medium
JPWO2018047698A1 (en) Encrypted message search method, message transmission / reception system, server, terminal, program
CN110290192B (en) Block chain-based data distributed storage and data acquisition method and device
CN114430496B (en) Cross-equipment video searching method and related equipment
CN114356872A (en) File sharing method of cross-terminal equipment and related product
JP2009169547A (en) Code log-in system and control method for code log-in system
CN117118598A (en) Data sharing method, electronic equipment and computer cluster
JP5485452B1 (en) Key management system, key management method, user terminal, key generation management device, and program
CN113452513B (en) Key distribution method, device and system
CN113422807A (en) File transmission method, device and storage medium

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