CN111680212A - Storage content searching method and system and electronic equipment - Google Patents

Storage content searching method and system and electronic equipment Download PDF

Info

Publication number
CN111680212A
CN111680212A CN202010504859.1A CN202010504859A CN111680212A CN 111680212 A CN111680212 A CN 111680212A CN 202010504859 A CN202010504859 A CN 202010504859A CN 111680212 A CN111680212 A CN 111680212A
Authority
CN
China
Prior art keywords
electronic equipment
information
content
target
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010504859.1A
Other languages
Chinese (zh)
Inventor
李树彬
陈磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202010504859.1A priority Critical patent/CN111680212A/en
Publication of CN111680212A publication Critical patent/CN111680212A/en
Priority to PCT/CN2021/098167 priority patent/WO2021244614A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a storage content searching method, which comprises the following steps: the first electronic equipment and the second electronic equipment are connected; the second electronic equipment receives first information input by a user and transmits the first information to the first electronic equipment; the method comprises the steps that first electronic equipment obtains first information, a search condition is determined according to the first information, corresponding target storage content is searched in the first electronic equipment according to the search condition, and the first electronic equipment transmits target content information of the target storage content to second electronic equipment; the second electronic device receives the target content information so that the second electronic device can display the target storage content according to the target content information. Therefore, the user can conveniently and quickly search and check the stored content in the first electronic equipment through the second electronic equipment, and the user experience is improved. The application also discloses a stored content searching system and electronic equipment.

Description

Storage content searching method and system and electronic equipment
Technical Field
The present application relates to the field of communications, and in particular, to a method, a system, and an electronic device for searching stored content.
Background
In the use process of the electronic device, for a first electronic device and a second electronic device which are in communication connection with each other, the stored content in the first electronic device is often mapped to the second electronic device, and a display interface is formed on a display screen of the second electronic device to present the stored content in the first electronic device, so that a user can conveniently view and manage the stored content in the first electronic device through the second electronic device.
For example, the first electronic device may be a mobile phone and the second electronic device may be a Personal Computer (PC). After the mobile phone is connected with the PC, the user can browse the storage content mapped to the PC by the mobile phone through the display interface displayed on the display screen of the PC, and find the target storage content (such as a photo) that the user wants to find. In the current mode of searching the target storage content in the mobile phone at the PC side, one mode is that the user browses the storage contents such as folders and files mapped to the PC by the mobile phone one by one according to the search purpose to search the target storage content, when the storage contents such as the folders and the files are large in quantity, the quantity of the storage contents required to be browsed by the user is large, so that the search efficiency of the user is low, and browsing and searching the storage contents mapped to the PC by the mobile phone at the PC side are very troublesome, and the user experience is influenced. The other method is that the user uses the search engine (function) of the PC to search for the storage content mapped to the PC by the mobile phone to find the target storage content, and this search method is limited by the search engine of the PC, which has the problems of incomplete search and inaccurate search result, and also affects the user experience.
Disclosure of Invention
The application provides a method, a system and an electronic device for searching stored content, which can quickly search target stored content which a user wants to search according to the user requirement so as to improve the experience of the user.
In order to solve the above technical problem, in a first aspect, an embodiment of the present application provides a storage content searching method, including: the first electronic equipment and the second electronic equipment are connected; the second electronic equipment receives first information input by a user and transmits the first information to the first electronic equipment; the first electronic equipment acquires first information, determines a search condition according to the first information, and searches corresponding target storage content in the first electronic equipment according to the search condition; the first electronic equipment transmits target content information of the target storage content to the second electronic equipment; the second electronic device receives the target content information.
In this embodiment, a user may input first information at the second electronic device side according to a search purpose of the user, and then the second electronic device transfers the first information to the first electronic device, so that the first electronic device may determine a search condition according to the first information, complete a search of corresponding stored content in the first electronic device by using a search engine in the first electronic device to obtain target stored content as a search result, and output target content information of the target stored content to the second electronic device, and the second electronic device may further display the target stored content according to the target content information, so that the user does not need to browse the stored content in the first electronic device one by one through the second electronic device to search the target stored content, and may quickly search stored content such as files of interest of the user in the first electronic device at the second electronic device side, therefore, the stored content can be searched more conveniently and rapidly, and the user experience is improved.
In a possible implementation of the first aspect, the receiving, by the second electronic device, the first information input by the user includes that the second electronic device creates a new storage content corresponding to the first information; the second electronic device transmits the first information to the first electronic device, wherein the second electronic device transmits the newly added storage content to the first electronic device; the first electronic device obtaining the first information includes the first electronic device detecting the local storage content to determine a newly added storage content, and determining the first information according to the newly added storage content.
In the implementation mode, the storage content of the first electronic device is transmitted to the second electronic device after the first electronic device and the second electronic device are connected; the second electronic equipment receives newly-increased processing of the storage content transmitted to the second electronic equipment from the first electronic equipment through the second electronic equipment by a user to form newly-increased storage content, and the newly-increased storage content is mapped to the first electronic equipment by the second electronic equipment; the first electronic device detects the local storage content and can determine the newly added storage content.
That is, a user may create new storage content related to a search target storage content in a first electronic device through a second electronic device according to a search condition of the user, and it may be considered that the user may input a storage content search condition on the second electronic device side through the new storage content, so that the first electronic device may complete a search of a corresponding storage content by using a search engine in the first electronic device, and output target content information of the search target storage content to the second electronic device, so that the user does not need to browse the storage content in the first electronic device one by one through the second electronic device to search the target storage content, and may quickly find a storage content of interest at the second electronic device side, i.e., the search of the storage content is more convenient and faster, and user experience is improved.
In a possible implementation of the first aspect, the newly added storage content is a newly added folder, and the first information is a name of the newly added folder; the method further comprises the steps that the first electronic equipment detects the local folder to determine a newly added folder, and determines a search condition according to the name of the newly added folder; and the first electronic equipment stores the target content information into a local newly-added folder, and transmits the target content information to the newly-added folder in the second electronic equipment.
The newly added storage content is a newly added folder, that is, the user may newly create the newly added folder in the first electronic device through the second electronic device, and for example, the user may set the name of the newly added folder according to a search purpose such as a content desired to be searched or a search keyword. And the first electronic device determines a search condition according to the name of the newly added folder, searches storage content corresponding to the search condition in the first electronic device, and stores target content information of the searched target storage content under the newly added folder so as to realize storage content search of the first electronic device, and the first electronic device presents the searched target storage content through the newly added folder presented by the display interface of the second electronic device.
In a possible implementation of the first aspect, before the first electronic device stores the target content information of the target storage content in the local newly-added folder, the method further includes: detecting whether the newly added folder exists, and if so, storing target content information of the target storage content into the newly added folder; if not, the search is ended. Therefore, on one hand, the target storage content can be accurately stored in the corresponding newly-added folder, on the other hand, if the newly-added folder does not exist, the storage processing of the folder can be omitted, and the power consumption of the first electronic device can be effectively reduced.
In a possible implementation of the first aspect, the newly added storage content is a newly added file; the first information is the name of the newly added file, the method further comprises the step that the first electronic device detects the local file to determine the newly added file and determines the search condition according to the name of the newly added file, and/or the step that the first information is the file content of the newly added file, the method further comprises the step that the first electronic device detects the local file to determine the newly added file and determines the search condition according to the file content of the newly added file.
In a possible implementation of the first aspect, the method further includes: and if the target storage content exists, the first electronic equipment directly transmits the target content information of the target storage content to the second electronic equipment.
In a possible implementation of the first aspect, the method further includes: if the target storage content exists, the first electronic device generates a new folder according to the newly added file, stores the target content information of the target storage content in the local new folder, and transmits the new folder and the target content information of the target storage content to the second electronic device.
The newly added storage content is a newly added file, that is, the user may newly create the newly added file in the first electronic device through the second electronic device, and for example, the user may set a name of the newly added file or set content of the newly added file according to a search purpose such as content desired to be searched or a search keyword. The first electronic device determines a search condition according to the name of the newly added file or the content of the newly added file, and searches for target storage content corresponding to the search condition in the first electronic device, and the first electronic device further newly creates a new folder corresponding to the search condition, stores target content information of the searched target storage content under the new folder, so as to realize file search of the first electronic device, and the first electronic device presents the search result through the second electronic device.
In a possible implementation of the first aspect, the first electronic device determines a name of the newly created folder according to the search condition.
In a possible implementation of the first aspect, the newly added file is at least one of a picture file, an audio file, a video file, a Word file, and a text format file.
It should be noted that the type of the newly added file includes, but is not limited to, the types of the aforementioned picture file, audio file, video file, Word file, text format file, and the like, which may be at least one of the aforementioned picture file, audio file, video file, Word file, and text format file, and may also be any other type, which may be specifically selected according to needs.
In a possible implementation of the first aspect, when a preset storage content detection start condition is met, the first electronic device detects the local storage content to determine a new storage content.
In a possible implementation of the first aspect, the satisfying a preset storage content detection start condition includes: and establishing a media transmission protocol communication connection between the first electronic equipment and the second electronic equipment.
In a possible implementation of the first aspect, the detecting, by the first electronic device, the locally stored content includes: the first electronic device detects all locally stored content or detects stored content within a locally specified user area.
In a possible implementation of the first aspect, the detecting, by the first electronic device, the locally stored content further includes: and detecting the local storage content in real time or detecting the local storage content according to a preset detection period.
In a possible implementation of the first aspect, the target content information of the target storage content is the target storage content itself or link information created for the target storage content.
In a possible implementation of the first aspect, the target storage content is at least one of a picture file, an audio file, a video file, a Word file, and a text format file.
It should be noted that the type of the target storage content includes, but is not limited to, the types of the aforementioned picture file, audio file, video file, Word file, text format file, and the like, which may be at least one of the aforementioned picture file, audio file, video file, Word file, and text format file, and which may also be any other type, which may be specifically selected according to the needs.
In one possible implementation of the first aspect, the first information includes a search term input by a user into a search box of a stored content search interface of the second electronic device; or voice information received by the second electronic device entered by the user.
In a possible implementation of the first aspect, the method further includes: and displaying prompt information for prompting the user to search the result on a display interface of the second electronic equipment.
In a possible implementation of the first aspect, the method further includes: the second electronic equipment receives the trigger operation of the user on the target content information, and displays target storage content on a display screen of the second electronic equipment according to the target content information for the user to view; or the second electronic equipment directly displays the target storage content on a display screen of the second electronic equipment according to the target content information for the user to view.
In a second aspect, an embodiment of the present application provides a stored content searching method, which is applied to a first electronic device, and includes: the first electronic equipment and the second electronic equipment are connected; the first electronic equipment receives first information transmitted by the second electronic equipment, determines a search condition according to the first information, and searches corresponding target storage content in the first electronic equipment according to the search condition; the first information is information input by a second electronic device receiving a user; the first electronic device transmits target content information of the target storage content to the second electronic device, so that the second electronic device can display the target storage content according to the target content information.
In a possible implementation of the second aspect, the obtaining, by the first electronic device, the first information includes detecting, by the first electronic device, the local storage content to determine a new storage content, and determining the first information according to the new storage content. The newly added storage content is formed by the second electronic device receiving first information input by a user and creating newly added storage content corresponding to the first information.
The storage content of the first electronic equipment is transmitted to the second electronic equipment after the first electronic equipment and the second electronic equipment are connected; the second electronic equipment receives newly-increased processing of the storage content transmitted to the second electronic equipment from the first electronic equipment through the second electronic equipment by a user to form newly-increased storage content, and the newly-increased storage content is mapped to the first electronic equipment by the second electronic equipment; the first electronic device detects the local storage content and can determine the newly added storage content. The first electronic device completes the search of the corresponding storage content in the first electronic device by using a search engine in the first electronic device through the newly added storage content which is created in the first electronic device by the user through the second electronic device and outputs the target content information of the searched target storage content to the second electronic device, so that the user does not need to browse the storage content in the first electronic device one by one through the second electronic device to search the target file, the storage content which is interested by the user can be quickly searched on the side of the second electronic device, the search of the storage content is more convenient and quicker, and the user experience is improved.
In a possible implementation of the second aspect, the newly added storage content is a newly added folder, and the first information is a name of the newly added folder; the method further comprises detecting the local folder to determine a newly added folder, and determining a search condition according to the name of the newly added folder; and storing the target content information of the target storage content into a local newly-added folder, and transmitting the target content information of the target storage content to the newly-added folder in the second electronic equipment.
The newly added storage content is a newly added folder, that is, the user may newly create the newly added folder in the first electronic device through the second electronic device, and for example, the user may set the name of the newly added folder according to a search purpose such as a content desired to be searched or a search keyword. And the first electronic device determines a search condition according to the name of the newly added folder, searches storage content corresponding to the search condition in the first electronic device, and stores target content information of the searched target storage content under the newly added folder so as to realize storage content search of the first electronic device, and the first electronic device presents the searched target storage content through the newly added folder presented by the display interface of the second electronic device.
In a possible implementation of the second aspect, before storing the target content information of the target storage content in the local newly added folder, the method further includes: detecting whether the newly added folder exists, and if so, storing target content information of the target storage content into the newly added folder; if not, the search is ended. Therefore, on one hand, the target storage content can be accurately stored in the corresponding newly-added folder, on the other hand, if the newly-added folder does not exist, the storage processing of the folder can be omitted, and the power consumption of the first electronic device can be effectively reduced.
In a possible implementation of the second aspect, the newly added storage content is a newly added file, and the first information is a name of the newly added file; the method further comprises detecting the local file to determine a newly added file, and determining the search condition according to the name of the newly added file, and/or the first information is the file content of the newly added file, and the method further comprises the first electronic device detecting the local file to determine the newly added file, and determining the search condition according to the file content of the newly added file.
In one possible implementation of the second aspect, the method further includes: and if the target storage content exists, the first electronic equipment directly transmits the target content information of the target storage content to the second electronic equipment.
In one possible implementation of the second aspect, the method further includes: and the first electronic equipment generates a new folder according to the new file, stores the target content information of the target storage content into the new folder, and transmits the new folder and the target content information of the target storage content to the second electronic equipment.
The newly added storage content is a newly added file, that is, the user may newly create the newly added file in the first electronic device through the second electronic device, and for example, the user may set a name of the newly added file or set content of the newly added file according to a search purpose such as content desired to be searched or a search keyword. The first electronic device determines a search condition according to the name of the newly added file or the content of the newly added file, and searches for target storage content corresponding to the search condition in the first electronic device, and the first electronic device further newly creates a new folder corresponding to the search condition, stores target content information of the searched target storage content under the new folder, so as to realize a scheme that the first electronic device searches for the storage content, and the first electronic device presents the search result through the second electronic device.
In one possible implementation of the second aspect described above, the name of the newly created folder is determined according to the search condition.
In a possible implementation of the second aspect, the newly added file is at least one of a picture file, an audio file, a video file, a Word file, and a text format file.
It should be noted that the type of the newly added file includes, but is not limited to, the types of the aforementioned picture file, audio file, video file, Word file, text format file, and the like, which may be at least one of the aforementioned picture file, audio file, video file, Word file, and text format file, and may also be any other type, which may be specifically selected according to needs.
In a possible implementation of the second aspect, when a preset storage content detection start condition is met, the local storage content is detected to determine a new storage content.
In a possible implementation of the second aspect, the meeting of the preset storage content detection start condition includes: and establishing a media transmission protocol communication connection between the first electronic equipment and the second electronic equipment.
In a possible implementation of the second aspect, detecting locally stored content includes: detecting all stored content locally or detecting stored content within a specified user area of the local portion.
In a possible implementation of the second aspect, the detecting the local storage content further includes: and detecting the local storage content in real time or detecting the local storage content according to a preset detection period.
In a possible implementation of the second aspect, the target content information of the target storage content is the target storage content itself or file link information created for the target storage content.
In a possible implementation of the second aspect, the target storage content is at least one of a picture file, an audio file, a video file, a Word file, and a text format file.
It should be noted that the type of the target storage content includes, but is not limited to, the types of the aforementioned picture file, audio file, video file, Word file, text format file, and the like, which may be at least one of the aforementioned picture file, audio file, video file, Word file, and text format file, and which may also be any other type, which may be specifically selected according to the needs.
The stored content searching method provided by the present application is a stored content searching method on the first electronic device side corresponding to the stored content searching method provided by the first aspect and/or any one of the possible implementation manners of the first aspect, and therefore, the beneficial effects (or advantages) of the stored content searching method provided by the first aspect can also be achieved.
In a third aspect, an embodiment of the present application further provides a stored content searching method, which is applied to a second electronic device, and the method includes: the second electronic equipment and the first electronic equipment are connected; the second electronic equipment receives first information input by a user and transmits the first information to the first electronic equipment, so that the first electronic equipment determines a search condition according to the first information and searches corresponding target storage content in the first electronic equipment according to the search condition; the second electronic equipment receives target content information of the target storage content transferred by the first electronic equipment.
In a possible implementation of the third aspect, the method further includes: and displaying prompt information for prompting the user to search the result on a display interface of the second electronic equipment.
In a possible implementation of the third aspect, the method further includes: the second electronic equipment receives the trigger operation of the user on the target content information, and displays target storage content on a display screen of the second electronic equipment according to the target content information for the user to view; or the second electronic equipment directly displays the target storage content on a display screen of the second electronic equipment according to the target content information for the user to view.
The stored content searching method provided by the present application is a stored content searching method on the second electronic device side corresponding to the stored content searching method provided by the first aspect and/or any one of the possible implementation manners of the first aspect, and therefore, the beneficial effects (or advantages) of the stored content searching method provided by the first aspect can also be achieved.
In a fourth aspect, an embodiment of the present application provides a storage content search system, including: the system comprises a first electronic device and a second electronic device which are connected with each other, wherein the second electronic device is used for receiving first information input by a user and transmitting the first information to the first electronic device; the first electronic equipment is used for acquiring first information, determining a search condition according to the first information, and searching corresponding target storage content in the first electronic equipment according to the search condition; the first electronic equipment is also used for transmitting target content information of the target storage content to the second electronic equipment; the second electronic device is further configured to receive the target content information.
The stored content searching system provided by the present application includes a first electronic device and a second electronic device for executing the stored content searching method provided by the first aspect and/or any one of the possible implementation manners of the first aspect, so that the beneficial effects (or advantages) of the stored content searching method provided by the first aspect can also be achieved.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a memory for storing a computer program, the computer program comprising program instructions; and the processor is used for executing the program instructions so as to enable the electronic equipment to execute the storage content searching method.
In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, where the computer program includes program instructions that are executed by a computer to make the computer execute the foregoing storage content searching method.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below.
FIG. 1A is a schematic diagram illustrating a handset connected to a PC according to some embodiments of the present application;
FIG. 1B is a schematic diagram illustrating a structure of a cell phone, according to some embodiments of the present application;
FIG. 1C is a schematic diagram illustrating a structure of a PC according to some embodiments of the present application;
FIGS. 1D-1F are schematic diagrams illustrating some display interfaces of a PC when a handset is connected to the PC, according to some embodiments of the present application;
FIG. 2 is a flow diagram illustrating a photo search process according to some embodiments of the present application;
3A-3E are schematic diagrams illustrating display interfaces of some PCs, according to some embodiments of the present application;
FIG. 4 is a flow diagram illustrating another photo search process, according to some embodiments of the present application;
FIG. 5 is a flow diagram illustrating yet another photo search process, according to some embodiments of the present application;
6A-6C are schematic diagrams illustrating display interfaces of some PCs, according to some embodiments of the present application;
fig. 7A and 7B are schematic diagrams illustrating display interfaces of some PCs according to some embodiments of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
With respect to a first electronic device and a second electronic device that are communicatively connected to each other, there are often cases where a user views and manages stored contents in the first electronic device through the second electronic device. The first electronic device may be an electronic device such as a mobile phone and a smart watch, and the second electronic device may be an electronic device such as a PC, a television, and a notebook computer. The storage content can be contents such as folders and files, and the files can be files such as picture files, audio files, video files, Word files and text format files.
Referring to fig. 1A, in an implementation manner of the present application, the first electronic device may be a mobile phone 10, the second electronic device may be a PC20, and the mobile phone 10 and the PC20 are connected by a Universal Serial Bus (USB) connection line 30 in a USB connection manner.
The connection between the mobile phone 10 and the PC20 may be established by other wireless communication methods such as bluetooth and WIFI, or other communication methods.
Referring to fig. 1B, fig. 1B shows a schematic structural diagram of the mobile phone 10.
The mobile phone 10 may include a processor 110, an external memory interface 120, an internal memory 121, a USB connector 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, a Subscriber Identity Module (SIM) card interface 195, and the like. Wherein the sensor module 180 may include a pressure sensor, a touch sensor, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the mobile phone 10. In other embodiments of the present application, the handset 10 may include more or fewer components than shown, or some components may be combined, some components may be separated, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Among other things, processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a Digital Signal Processor (DSP), a baseband processor, and/or a neural Network Processor (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The processor can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
The USB connector 130 is a connector conforming to the USB standard specification, and can be used to connect the mobile phone 10 and a peripheral device, and specifically can be a standard USB connector (e.g., Type C connector), a Mini USB connector, a Micro USB connector, etc. The USB connector 130 may be used to connect a charger to charge the mobile phone 10, and may also be used to transmit data between the mobile phone 10 and peripheral devices. The connector can also be used to connect other electronic devices, such as PCs and the like. In some embodiments, the processor 110 may support USB, which may be USB standard specification USB1.x, USB2.0, USB3.x, USB 4.
The wireless communication function of the mobile phone 10 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like. The mobile communication module 150 may provide a solution including wireless communication of 2G/3G/4G/5G and the like applied to the handset 10. The wireless communication module 160 may provide a solution for wireless communication applied to the mobile phone 10, including Wireless Local Area Networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module.
The mobile phone 10 implements the display function through the GPU, the display screen 194, and the application processor. The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. In some embodiments, the cell phone 10 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can implement applications such as smart recognition of the mobile phone 10, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
Referring to fig. 1C, fig. 1C shows a schematic diagram of a PC 20.
The PC20 may include a processor 210, an external memory interface 220, an internal memory 221, a USB interface 230, a charge management module 240, a power management module 241, a communication module 250, an audio module 260, a headphone interface 2601, a microphone 2602, a display 270, a keyboard 280, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the PC 20. In other embodiments of the present application, the PC20 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
After the mobile phone 10 establishes a USB connection with the PC20, communication between the mobile phone 10 and the PC20 may be performed through a Media Transfer Protocol (MTP), and the mobile phone 10 may directly map a user partition of the entire mobile phone 10 as one device of the PC20 based on the MTP, and form a display interface (operation window) 100 as shown in fig. 1A on a display screen (desktop) 21 of the PC 20.
The display interface 100 may include operation indicators for the user to select operations to be performed on the mobile phone 10, so that the PC20 can implement automatic playback of corresponding functions according to the user's operations. For example, the display 100 may include an "open device and view file" tab 101, which may be clicked on to open the stored content of the cell phone 10 mapped to the PC20 if the user wants to view the stored content of the cell phone 10.
Additionally, the display 100 may include, but is not limited to, brand information (e.g., hua ye) of the mobile phone 10, and operation identifiers such as "always execute this option on this device", "synchronize digital media to this device", "view more" auto play "options" in "control panel", and so on.
Of course, the display interface 100 may also include other information or operation identifiers such as the model of the mobile phone 20 (e.g., hua is P40), which may be set as required.
If the PC20 detects a click operation of the "open device to view files" flag 101 by the user, a display interface 200 as shown in fig. 1D may be displayed on the display screen 21 of the PC20, the display interface 200 including an "internal storage" flag 201 of the cellular phone 10.
In addition, a search box 202 may be included on the display interface 200, and the search box 202 is used for a user to input search terms.
In addition, other identifiers such as "favorite", "computer", etc. may also be provided on the display interface 200, which may be set as required, and this is not described in detail in this application.
If the PC20 detects a click operation of the "internal storage" flag 201 by the user, a display interface 300 as shown in fig. 1E may be displayed on the display screen 21 of the PC20, where the display interface 300 is a display interface presenting storage contents, including folders, files, etc., mapped to the PC20 by the cell phone 10. Wherein the folders may include the "Camera" folder 301 as well as other folders such as "***", "Music", etc.
A user may view and manage the stored content in the mobile phone 10 through the display interface 300, for example, the user may click on the "Camera" folder 301 to open the "Camera" folder 301, where a plurality of photos may be stored in the "Camera" folder 301, and may also store other content such as a plurality of other folders, and after the user opens the "Camera" folder 301, the user may view the content such as the photos stored in the "Camera" folder 301.
If the PC20 detects a click operation of the "Camera" folder 301 by the user, a display interface 400 as shown in fig. 1F may be displayed on the display screen 21 of the PC20, the display interface 400 including a plurality of photos 401 stored under the "Camera" folder 301 and photo information 402 corresponding to each photo, and the photo information 402 may include information such as a shooting date (e.g., 20200501), a photo file type (JPG), and the like.
In addition, the display interface 400 further includes an object number display frame 410, and the object number display frame 410 is used for displaying the information of the number of objects stored in the "Camera" folder 301, for example, the "Camera" folder 301 includes 366 objects, that is, 366 photos may be included.
The user may perform a click-to-view operation on the photos in the "Camera" folder 301, and in addition, the user may perform processing such as adding, deleting, and modifying file names on the photos in the "Camera" folder 301. After the user processes the photos in the "Camera" folder 301, the PC20 can also map the processing to the mobile phone 10, thereby achieving the purpose of operating the stored content in the mobile phone 10.
Currently, if the user needs to search for the target photo that the user wants to search for in the mobile phone 10 on the PC20 side, the user may first find the "Camera" folder 301 by browsing the folders on the display interface 300 shown in fig. 1E, then open the "Camera" folder 301, and browse all photos under the "Camera" folder 301 one by one in the "Camera" folder 301 shown in fig. 1F to search for the target photo that the user wants to search for.
However, with the popularization of smart devices, especially the enhanced functions of the camera in the smart phone 10 and the portability of the smart phone, and the increased storage space of the smart phone 10, more and more users take pictures through the smart phone 10. Therefore, the storage amount of the photos in the current mobile phone 10 is usually large, when the storage amount of the photos in the mobile phone 10 is large, the amount of the photos that the user needs to browse through the current photo searching mode is large, so that the searching efficiency of the user is low, and browsing and searching the photos on the PC20 side are very troublesome, which affects the user experience.
In addition, the PC20 currently supports searching files and folders according to the file name keywords, so the user can also input the file name keywords corresponding to the desired photos in the search box 202 shown in fig. 1F, so that the PC20 can search the storage contents mapped into the PC20 by the mobile phone 10 according to the file name keywords by using the search function of the PC20, so as to search for the corresponding photos, the search mode is limited by the search engine of the PC20 and the search permission, the PC20 can only search according to the file name keywords, but cannot search by recognizing the file contents such as the photo contents like a smart phone, and the problems of incomplete search and inaccurate search result exist, and the use experience of the search is not uniform with the experience of the user using the mobile phone 10.
Further, when the user partition of the entire cellular phone 10 is mapped to one device of the PC20 after the cellular phone 10 is connected to the PC20, it usually takes a certain time to map the user partitions of the cellular phone 10 one by one. In the current search mode, the user usually needs to wait for a period of time, and the search is convenient after the mobile phone 10 finishes the mapping of the stored content. For example, after the "Camera" folder 301 and all photos stored in the "Camera" folder 301 are mapped, the user can conveniently browse or search the target photos to be searched by using the search engine of the PC20, and therefore the current search method may affect the search efficiency of the user and the experience of the user.
Thus, the present application provides a method for realizing the search of the stored content in the mobile phone 10 when the user searches the stored content in the mobile phone 10 on the PC20 side. According to the method for searching the stored content, a user can input the stored content searching condition at the PC20 side, the mobile phone 10 obtains the stored content searching condition, the mobile phone 10 completes searching by using the own search engine (function) of the mobile phone 10 according to the stored content searching condition, the searched target stored content is transmitted to the PC20 and presented to the user by the PC20, and therefore the searching efficiency of the stored content can be improved, the user experience can be improved, and the user using experience of the mobile phone 10 and the PC20 can be unified.
In one implementation of the present application, after the mobile phone 10 establishes the USB connection with the PC20, if the user wants to search the storage content in the mobile phone 10 on the PC20 side, the user may create a new folder in the storage content (for example, "Camera" folder 301) mapped to the PC20 by the mobile phone 10 on the PC20 side according to the search condition of the user, and name the name of the new folder according to the search condition; the PC20 then maps (synchronizes or sends) the newly added folder to the handset 10.
In addition, after the mobile phone 10 establishes the USB connection with the PC20, the mobile phone 10 will start the monitoring service for the folder in the mobile phone 10 to monitor whether there is a new folder in the mobile phone 10. If the mobile phone 10 monitors that a newly added folder exists in the mobile phone 10, the mobile phone 10 may determine a search condition according to the name of the newly added folder, complete the search of corresponding storage content according to the search condition by using a search engine of the mobile phone 10, store the searched target storage content into the newly added folder in the mobile phone 10, and map the searched target storage content into the newly added folder on the PC20 side by the mobile phone 10. The user opens a newly added folder on the side of the PC20, and the PC20 can present the target storage content to the user, that is, the user can check the search target storage content on the side of the PC20, so that the user can conveniently search the storage content in the mobile phone 10 when searching the storage content in the mobile phone 10 on the side of the PC20, the search efficiency and the user experience are improved, and the user experience of the mobile phone 10 and the PC20 is unified.
Referring to fig. 2, fig. 2 shows a process of searching photos in the mobile phone 10 on the PC20 side based on the stored content searching method provided by the present application, including:
s110, the handset 10 establishes a USB connection with the PC 20.
As shown in fig. 1A, the user can connect the cellular phone 10 and the PC20 through the USB connection line 130, so that the cellular phone 10 establishes a USB connection with the PC 20.
S120, the mobile phone 10 starts a folder monitoring service of the mobile phone 10 according to the detected USB connection event.
The mobile phone 10 detects whether the mobile phone 10 establishes a USB connection with the PC20, and if the connection is detected, the mobile phone 10 starts a folder monitoring service of the mobile phone 10 to monitor a specified folder in the mobile phone 10, so as to monitor changes such as addition and deletion of a folder in the next level of the specified folder.
The mobile phone 10 may detect whether the mobile phone 10 establishes the USB connection with the PC20, where the mobile phone 10 detects a connection state of the USB interface 130 of the mobile phone 10 through a USB interface management module in the mobile phone 10, and when detecting that the USB interface 130 is in the connected state, the mobile phone 10 is considered to establish the USB connection with the PC 20.
S130, the mobile phone 10 monitors the designated folder in the mobile phone 10.
The monitoring of the specified folders in the mobile phone 10 by the mobile phone 10 can detect whether new folders are generated in the specified folders. The designated folder may be all folders in the cell phone 10 or may be a portion of a folder, such as the aforementioned "Camera" folder 301, which may be selected as desired.
The mobile phone 10 monitors the local specified folder, where the local specified folder may be monitored by the mobile phone 10 in real time after the USB connection is established between the mobile phone 10 and the PC20, or may be monitored according to a preset monitoring period, where the preset monitoring period may be 1 to 30s, for example, 1s, 3s, 5s, 20s, 30s, and the like, and may be specifically set as required.
After the handset 10 establishes USB connection with the PC20, the user can create an additional folder in the storage content of the PC20 mapped to the handset 10 of the PC20 according to the search condition of the user through the display interface 400 presented on the display screen 21 of the PC20 as shown in fig. 1F, and the PC20 maps the created additional folder to the handset 10.
For example, if the user wants to search for some photos containing "xiao a", the user may open the display interface 400 shown in fig. 1F, and then the user may create a new folder 420 named "xiao a" shown in fig. 3A under the "Camera" folder 301 according to the search condition, the new folder 420 is synchronized to the mobile phone 10 by the PC20, and the mobile phone 10 starts the monitoring service for the locally specified folder, and may monitor the new folder 420 in the mobile phone 10.
In addition, in the present application, S120 and S130 may also be executed as a step, that is, the mobile phone 10 starts the folder monitoring service of the mobile phone 10 to monitor the specified folder in the mobile phone 10 according to the detected USB connection event.
S140, the mobile phone 10 determines whether a new folder exists in the designated folders in the mobile phone 10. If yes, go to step S150; if not, continue to step S130.
The mobile phone 10 determines whether a new folder exists in the designated folder in the mobile phone 10, and may compare the name of the currently acquired folder with the name of the folder acquired in the previous acquisition stage to determine whether the new folder exists currently.
S150, the mobile phone 10 determines the search condition according to the name of the newly added folder, and searches the photos according to the search condition.
If the mobile phone 10 detects the new folder 420 with the name of "small a", the name "small a" of the new folder 420 is obtained, and the "small a" is used as the photo search condition.
A search engine is typically provided in the handset 10 to support the search functions of the handset 10. The search engine may be a general search engine or an intelligent search engine that is conventionally configured in the current mobile phone 10, and the mobile phone 10 completes the search of the corresponding stored content through the search engine. Of course, the search engine may also be a new search engine different from the existing search engine to complete the search function, and may be specifically configured according to the need, which is not specifically limited in this application.
The search for a photo containing "XiaoA" by the handset 10 using its own search engine may be: the mobile phone 10 performs picture analysis on the picture in the mobile phone 10 and identifies the face in the picture by using the picture analysis function of the mobile phone 10 to determine the picture including the small a. The photo analysis function may be a currently common photo analysis function, or may be another photo analysis function, which is not specifically limited in this application.
The mobile phone 10 may search for a photo containing "xiao a" by using its own search engine: the mobile phone 10 acquires the photos including the "small a" by grouping (classifying) the photos already existing in the mobile phone 10, and for example, if the mobile phone 10 itself groups the photos in the mobile phone 10 by the categories of people, scenery, etc., and displays the group name (person name) and the corresponding photos in the mobile phone 10 in a grouped manner, the mobile phone 10 can acquire the photos in the group corresponding to the "small a" by using the existing group.
In addition, the mobile phone 10 may also search for a photo including "small a" in the photo file name using the file name search function of the mobile phone 10.
S160, after the mobile phone 10 completes the search, it determines whether there is a target photo.
If there is a search target photograph, i.e., there is a photograph including "small a" corresponding to the search condition, step S170 is executed; if not, go to step S130.
S170, the mobile phone 10 judges whether the newly added folder exists, and if so, the step S180 is executed; if not, go to step S130.
If the search target photo exists, the mobile phone 10 determines whether the new folder 420 with the name of "small a" exists, and if the new folder 420 exists, step S180 is executed. If the new folder 420 does not exist, step S130 is executed.
And S180, the mobile phone 10 stores the searched target photo into the newly added folder.
If the new folder 420 exists, the mobile phone 10 stores the searched target photo in the new folder 420, or the mobile phone 10 acquires (copies) the target photo from the original storage location of the target photo, and stores the target photo in the new folder 420. After the mobile phone 10 stores the searched target photo in the new folder 420, the mobile phone 10 maps the target photo to the new folder 420 in the PC 20.
After the mobile phone 10 maps the target photo to the new folder 420 in the PC20, as shown in fig. 3B, a prompt box 430 may be displayed on the display interface 400, where the prompt box 430 may display information for reminding the user that the search is completed, such as "search completed", or display information for informing the user of the search result, such as "search to 20 objects". Of course, it may display other prompt messages, which may be set as desired.
If the PC20 detects an opening operation of the new folder 420 on the display interface 400 by the user point, the PC20 may display the display interface 500 as shown in fig. 3C, that is, display the searched target photos for the user to view, wherein the number of the searched target photos is 20 photos as known by the object number display box 410. If the target photograph is not searched, no photograph is displayed on the display interface 500, and the object number display box 410 displays "0 objects".
In addition, the mobile phone 10 may store the searched target photo in the new folder 420, or the mobile phone 10 may create a symbolic link (e.g., a shortcut) for the target photo as target content information and store the symbolic link in the new folder 420. The symbolic link may be a soft link or a hard link, or may be another type of symbolic link. The target photo is stored in a mode of symbol link such as shortcut, so that the photo copying operation can be reduced to improve the processing speed, and more memory resources of the mobile phone 10 can be avoided being occupied.
If the PC20 detects an opening operation of the new folder 420 on the display interface 400 of the PC20 by a user, the display interface 500 as shown in fig. 3D may be displayed, i.e., a shortcut to the retrieved target photograph is displayed for the user to view.
Of course, in this implementation, after the search is finished, the PC20 may also directly display the display interface shown in fig. 3C or 3D after the display interface 400 shown in fig. 3A, that is, after the search is finished, the mobile phone 10 automatically opens the new folder 420, and directly presents the searched target photo to the user, without the user clicking the new folder 420 to open the new folder 420 for viewing.
In addition, in this implementation, in step S160, if there is no search target photo after the mobile phone 10 completes the search, that is, there is no photo containing "small a" corresponding to the search condition, the PC20 may display a prompt box 440 as shown in fig. 3E on the display interface 400, where the prompt box 440 may display information for informing the user of the search result, for example, display "no search target photo", and of course, display information such as "search 0 object", which may be set as needed.
For step S170, if the new folder 420 does not exist, the mobile phone 10 may transfer the search target photo to the PC20, and the PC20 may display the target photo on the display interface directly. Alternatively, the mobile phone 10 may end the search directly, and after the search is ended, the PC20 may display a message such as "search end" in a prompt box.
In another implementation manner of the present application, please refer to fig. 4, after S150, the mobile phone 10 may directly perform S170, determine whether a newly added folder exists, and if so, perform S181.
S181, if the target photo exists, the mobile phone 10 stores the searched target photo in the new folder.
If the new folder 420 exists and the target photo exists, the mobile phone 10 stores the searched target photo in the new folder 420.
In addition, if there is no search target photo, the mobile phone 10 may notify the PC20 that there is no target photo, and the PC20 generates a prompt message about that the corresponding target photo is not searched, and displays the prompt message on the display interface 400 to remind the user that the target photo is not searched. The display mode of the prompt information may be that "the target photograph is not searched" is displayed through the prompt box 440 as shown in fig. 3E, or other prompt contents such as "the search target photograph meeting the condition is 0" may be displayed, and specific prompt information may be set as needed.
Further, in this implementation manner, the mobile phone 10 stores the searched target photo in the newly added folder 420, so that the user can access the newly added folder 420 for multiple times to view the target photo, and the mobile phone 10 does not need to search again when needing to search for the same photo each time, which can effectively save system resources of the mobile phone 10.
Of course, the mobile phone 10 may also automatically delete the new folder 420 and delete the target photo stored in the new folder 420 within a preset time after the search is completed, so as to avoid occupying the memory of the mobile phone 10. The preset time may be 0.5 hour, 12 hours, 24 hours, or may be one week, one month, etc., which may be set as needed.
In addition, the mobile phone 10 may delete the new folder 420 and the target photos stored in the new folder 420, by first deleting the new folder 420 and the target photos stored in the new folder 420 from the original storage location, then temporarily storing the deleted new folder 420 and the target photos stored in the new folder 420 into the buffer area, and after the new folder 420 and the target photos are cached for a period of time (for example, 12 hours, 1 day, etc.), completely deleting the new folder 420 and the target photos from the mobile phone 10. In the caching stage, the mobile phone 10 may further restore the deleted new folder 420 and the target photo stored in the new folder 420 to the original storage location according to the user operation.
Based on the storage content searching method provided by the application, when searching photos, a user can create a new folder related to a searched target photo in the mobile phone 10 through the PC20 according to the searching condition of the user, namely, the user can input the photo searching condition on the PC20 side, so that the mobile phone 10 can complete the searching of a corresponding photo file by using a search engine in the mobile phone 10 according to the searching condition, and output the searched target photo to the PC20 for the user to view on the PC20 side, so that the user can quickly search the interested photo on the PC20 side without browsing the photos in the mobile phone 10 one by one to search the target photo, the searching of the photo is more convenient and quick, and the user experience is improved.
Further, based on the stored content searching method provided by the present application, when a user searches for a photo on the PC20 side, the user can search for the photo by using the searching function of the mobile phone 10, thereby better unifying the user experience of the mobile phone 10 and the PC 20.
It should be noted that, the newly added folder may be another folder on the basis of the original folder, and the mobile phone 10 may regard the another folder as the newly added folder. It may also be that the name of one of the original folders is modified, so that the modified folder has a name different from the names of the other folders, and thus, the mobile phone 10 considers the modified folder as the new folder.
In another implementation manner of the storage search method provided by the present application, a user may create an additional file in the storage content mapped to the PC20 by the mobile phone 10 on the PC20 side, and the user may set the name of the additional file or set the content of the additional file according to a search purpose such as a content desired to be searched or a search keyword. The PC20 maps the new file to the mobile phone 10, the mobile phone 10 determines a search condition according to the name of the new file or the content of the new file, and searches for a file corresponding to the search condition in the mobile phone 10 by using the own search function of the mobile phone 10, and the mobile phone 10 further creates a folder corresponding to the search condition, stores the searched file under the created folder, so as to implement the file search of the mobile phone 10, and the mobile phone 10 maps the search result to the PC20, so that the user can view the result file on the PC side.
Referring to fig. 5, fig. 5 shows another process of searching photos in the mobile phone 10 at the PC20 side based on the storage search method provided in the present application, which includes:
s110, the handset 10 establishes a USB connection with the PC 20.
S121, the mobile phone 10 detects a connection event, and the mobile phone 10 starts a file monitoring service of the mobile phone 10 according to the detected USB connection event.
S131, the mobile phone 10 monitors the files in the designated folder.
After the mobile phone 10 starts the file monitoring service, it may detect whether the file in the designated folder changes in real time or at regular time, so as to detect whether a new file is generated, and certainly, detect whether a file is deleted, and the like.
The mobile phone 10 may monitor files in the designated user partition of the mobile phone 10, and in addition, the mobile phone 10 may monitor certain types of files in the mobile phone 10, such as monitoring picture files or TXT files. Which can be specifically set as desired.
As shown in FIG. 6A, if the user wants to find a photo that includes "XiaoA", the user can create a new added file 450 in TXT format named "XiaoA" under the "Camera" folder 301.
S141, the mobile phone 10 determines whether a new file exists. If yes, go to step S151; if not, continue to step S131.
For example, the mobile phone 10 compares the currently acquired file with the file acquired in the previous acquisition stage to determine whether a newly added file exists in the currently acquired file. For example, the mobile phone 10 compares the name of the currently detected file with the file name of the file detected in the previous detection period to determine whether there is a deletion or new creation of the file.
S151, the mobile phone 10 determines a search condition according to the name of the newly added file, and performs file search according to the search condition.
If the mobile phone 10 detects the new file 450 named as "small a", the mobile phone 10 obtains the name "small a" of the new file 450, so that the mobile phone 10 determines the name "small a" of the new file 450 as a search condition, and searches for a target photo meeting the search condition in the "Camera" folder 301.
S161, the mobile phone 10 determines whether the target photograph is present, and if so, executes step S171, and if not, executes step S131.
S171, the mobile phone 10 creates a new folder as the target file storage folder.
The mobile phone 10 creates a new folder according to the search condition, for example, a new folder named "small a" may be created under the aforementioned "Camera" folder 301, and after the mobile phone 10 creates the new folder, the new folder is mapped to the PC20, and a new folder 460 named "small a" as shown in fig. 6B is displayed on the display interface 400 of the PC 20.
S182, the mobile phone 10 stores the target file in the new folder.
The mobile phone 10 stores the searched target photo in the new folder 460, specifically, the searched target photo corresponding to the search condition is stored in the new folder 460, or a symbolic link is created for the target photo and stored in the new folder 460.
After the mobile phone 10 stores the searched target photo in the new folder 460 of the mobile phone 10, the user can see the target photo after clicking the new folder 460 on the display interface of the PC 20. It should be noted that the mobile phone 10 maps the new folder 460 to the PC20, or maps the new folder 460 and the target photo to the PC20 after the target photo is obtained, or maps the new folder 460 to the PC20 directly after the new folder 460 is created by the mobile phone 10, and then maps the target photo to the new folder 460, which may be specifically set as required.
In this embodiment, if the target file is obtained after the file search is performed, step S182 is executed after step S171, and if the target file is not obtained, the present file search may be ended without creating a new folder after the file search is performed, and the PC20 may be caused to display prompt information such as "search ended" or "target photograph not searched" on the display interface 400.
In another implementation manner of the present application, for step S161, if the target photo exists, the cell phone 10 may also directly transfer the target photo to the PC20, and display the target photo on the desktop of the PC20 without creating a new folder.
Based on the method for searching the stored content provided by the application, a user can create a file related to a search purpose in the mobile phone 10 through the PC20 according to a search condition of the user, so that the mobile phone 10 can complete search of a corresponding photo file by using a search engine in the mobile phone 10, and the search target file is output to the PC20 for the user to check, so that the user can quickly search a photo of interest at the PC20 side without browsing the photo in the mobile phone 10 one by one to search the target photo, that is, the photo search is more convenient and quick, the experience of the user for searching the photo by using the PC20 is consistent with the experience of searching the photo by using the mobile phone 10, and the user experience is improved.
In addition, in the present application, the user creates a new file, which may be a new TXT file named "xiao a" created under the "Camera" folder 301 of the mobile phone 10 through the display interface 400 as described above, or a TXT file 451 named "new text document" created as shown in fig. 6C, and then further, the user clicks to open the "new text document" file 451, and the content "xiao a" as shown in fig. 6C is input in the "new text document" file 451, so that the mobile phone 10 determines the search condition according to the content "xiao a" in the "new text document" file 451.
In addition, the user can create a new photo file in the "Camera" folder 301, for example, a "small a" single person photo is put in the "Camera" folder 301, and the mobile phone 10 can extract the facial feature information of the person in the photo file after detecting the new photo, and then search for a photo with the same facial feature information according to the facial feature information to obtain the target photo.
Of course, the added file may also be an audio file, and the mobile phone 10 extracts the audio data in the audio file to determine the search condition, for example, by performing voice recognition on the audio data to confirm that the sound in the audio data is from the small a, the photo including the small a is searched, or by analyzing the content in the audio data to confirm that the content in the audio data "the photo including the small a is searched", the photo including the small a is searched.
The newly added file may also be a video file, and the mobile phone 10 extracts video data to determine search conditions, for example, to find a photo related to a wedding by confirming that a shooting scene of the video is a wedding through video.
It should be noted that the file may be any type of file, and the mobile phone 10 may determine the search condition according to the file name, or may determine the search condition according to the substance content of the file, which may be specifically set as required.
In the present application, a folder named "new folder" may also be created, and then the above-mentioned TXT file or other file named "small a" or content "small a" is created in the folder named "new folder" for the mobile phone 10 to search for photos, or any one of the above-mentioned files is put into the folder named "new folder" for the mobile phone 10 to search for photos, which may be selected as needed.
In addition, in the present application, if the user wants to search all photos taken on a certain day, the name of the newly added folder may be named as the photo taking date, for example, "20200504", and the mobile phone 10 may search for photos taken on 5/4/2020 and store the photos in the newly added folder.
In another implementation manner of the storage search method provided by the present application, a user may input a search word according to a search condition (purpose) in a search box 202 of a PC20 as shown in fig. 1D-1F, the PC20 transmits the search word to the cell phone 10, the cell phone 10 determines the search condition according to the search word, and searches for storage content corresponding to the search condition in the cell phone 10 using the cell phone 10's own search function, and the cell phone 10 further transmits the search result to the PC20, so that the user can view the target storage content on the PC side.
For example, the user may input the search term "small a" in the input box 202 shown in fig. 1F, the display interface after the input is shown in fig. 7A, if the PC20 detects a trigger operation of the search control by the user, the PC20 sends the search term "small a" to the mobile phone 10, the mobile phone 10 obtains the search term "small a", searches for a photo including the small a by using the own search engine of the mobile phone 10, if the photo including the "small a" is searched, the mobile phone 10 sends the shortcut of the searched target photo to the PC20, the PC20 forms the display box 470 shown in fig. 7B on the display interface 400 according to the received shortcut of the target photo, and the target photo is directly displayed in the display box 470.
Of course, the mobile phone 10 may also send the searched target photo to the PC20, and the PC20 may directly display the target photo on the display interface 400 according to the received target photo.
In addition, the display frame 470 may be located in other areas of the display screen 21 other than the display interface 400, which may be selected as needed. Of course, the display frame 470 may not be displayed, and the target photograph may be displayed directly on the display screen 21 in a tiled or stacked manner.
In this implementation manner, the PC20 sends the search term to the mobile phone 10, so that the mobile phone 10 performs a search using the search engine of the mobile phone 10 according to the search term, and compared with a manner in which the PC20 performs a search using the search engine of the PC20 according to the search term, the search may not be limited by the search engine of the PC20 and the search authority, the current mobile phone 10 is generally a smart phone, and it may perform a search using a manner of intelligently recognizing stored contents such as photo contents, so that the search result may be more accurate, and the user experience of searching stored contents using the PC20 and the mobile phone 10 may be more uniform.
In another implementation manner of the storage search method provided by the present application, the PC20 may further have a voice receiving function (for example, the microphone 2602 receives a voice input of a user), so that the PC20 may receive the voice input of the user, send the voice information input by the user to the mobile phone 10, and the mobile phone 10 analyzes the voice and determines the search condition for searching.
The storage content searching method provided by the application can be applied to the mobile phone 10 and the PC20, and can also be applied to any first electronic device and second electronic device which are in communication connection, wherein the second electronic device can acquire first information input by a user and transmit the first information to the first electronic device, so that the first electronic device completes searching of storage content in the first electronic device by using a search engine of the first electronic device, and displays target storage content on a display screen of the second electronic device for viewing through the second electronic device, and the purpose of searching and viewing the storage content in the first electronic device through the second electronic device can be conveniently achieved.
Embodiments of the mechanisms disclosed herein may be implemented in software, hardware, firmware, or a combination of these implementations. Embodiments of the application may be implemented as computer programs or program code executing on programmable systems including at least one processor, memory (or storage systems including volatile and non-volatile memory and/or storage units).
In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may be implemented as one or more transitory or non-transitory and readable (e.g., computer-readable) storage media bearing or having stored thereon instructions that are readable and executable by one or more processors. For example, the instructions may be distributed via a network or a pneumatically readable computer medium. Thus, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including, but not limited to, floppy diskettes, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), Random Access Memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash cards, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the internet in an electrical, optical, acoustical or other form of propagated signal. Thus, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine.
It should be noted that in the accompanying drawings, some structural or methodical features may be shown in a particular arrangement and/or order. However, it is to be understood that such specific arrangement and/or ordering may not be required. Rather, in some embodiments, the features may be arranged in a manner and/or order different from that shown in the illustrative figures. In addition, the inclusion of a structural or methodical feature in a particular figure is not meant to imply that such feature is required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
While the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that the foregoing is a more detailed description of the present application, and the present application is not intended to be limited to these details. Various changes in form and detail, including simple deductions or substitutions, may be made by those skilled in the art without departing from the spirit and scope of the present application.

Claims (17)

1. A stored content searching method, comprising:
the first electronic equipment and the second electronic equipment are connected;
the second electronic equipment receives first information input by a user and transmits the first information to the first electronic equipment;
the first electronic equipment acquires the first information, determines a search condition according to the first information, and searches corresponding target storage content in the first electronic equipment according to the search condition;
the first electronic equipment transmits target content information of the target storage content to the second electronic equipment;
and the second electronic equipment receives the target content information.
2. The stored content searching method according to claim 1,
the second electronic equipment receives first information input by a user, and creates newly-added storage content corresponding to the first information;
the second electronic device transferring the first information to the first electronic device comprises the second electronic device transferring the newly added storage content to the first electronic device;
the first electronic device obtaining the first information includes that the first electronic device detects local storage content to determine the newly added storage content, and determines the first information according to the newly added storage content.
3. The storage content searching method according to claim 2, wherein the newly added storage content is a newly added folder, and the first information is a name of the newly added folder;
the method further comprises the steps that the first electronic equipment detects a local folder to determine the newly added folder, and determines a search condition according to the name of the newly added folder; and the first electronic equipment stores the target content information into a local newly added folder, and the first electronic equipment transmits the target content information to the newly added folder in the second electronic equipment.
4. The storage content searching method according to claim 2, wherein the newly added storage content is a newly added file;
the first information is the name of the newly added file, the method further comprises the steps that the first electronic equipment detects a local file to determine the newly added file, and determines a search condition according to the name of the newly added file, and/or the first electronic equipment determines the search condition according to the name of the newly added file
The first information is the file content of the newly added file, and the method further comprises the steps that the first electronic equipment detects a local file to determine the newly added file and determines a search condition according to the file content of the newly added file.
5. The stored content searching method according to claim 4, wherein the method further comprises:
and the first electronic equipment generates a new folder according to the new file, stores the target content information into the new folder, and transmits the new folder and the target content information to the second electronic equipment.
6. The method according to claim 5, wherein the first electronic device determines the name of the new folder according to the search condition.
7. The storage content searching method according to any one of claims 2 to 6, wherein when a preset storage content detection start condition is satisfied, the first electronic device detects a local storage content to determine the new storage content.
8. The stored content searching method according to claim 1, wherein the first information includes a search word input by a user into a search box of a stored content searching interface of the second electronic device; or voice information received by the second electronic device input by the user.
9. The stored content searching method according to any one of claims 1 to 8, wherein the target content information is created link information for the target stored content.
10. The stored content searching method according to any one of claims 1 to 9, wherein the target stored content is at least one of a picture file, an audio file, a video file, a Word file, and a text format file.
11. The stored content searching method according to any one of claims 1 to 10, wherein the method further comprises: and displaying prompt information for prompting a user to search results on a display interface of the second electronic equipment.
12. The stored content searching method according to any one of claims 1 to 11, wherein the method further comprises:
the second electronic equipment receives the trigger operation of the user on the target content information, and displays the target storage content on a display screen of the second electronic equipment according to the target content information; or
And the second electronic equipment directly displays the target storage content on a display screen of the second electronic equipment according to the target content information.
13. A stored content 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 are connected;
the first electronic equipment receives first information transmitted by the second electronic equipment, determines a search condition according to the first information, and searches corresponding target storage content in the first electronic equipment according to the search condition; the first information is information input by the second electronic equipment receiving a user;
and the first electronic equipment transmits target content information of the target storage content to the second electronic equipment.
14. A storage content searching method applied to a second electronic device is characterized by comprising the following steps:
the second electronic equipment and the first electronic equipment are connected;
the second electronic equipment receives first information input by a user, and transmits the first information to the first electronic equipment, so that the first electronic equipment determines a search condition according to the first information and searches corresponding target storage content in the first electronic equipment according to the search condition;
the second electronic equipment receives target content information of the target storage content transferred by the first electronic equipment.
15. A stored content search system, comprising: a first electronic device and a second electronic device connected to each other, wherein,
the second electronic equipment is used for receiving first information input by a user and transmitting the first information to the first electronic equipment;
the first electronic equipment is used for acquiring the first information, determining a search condition according to the first information, and searching corresponding target storage content in the first electronic equipment according to the search condition;
the first electronic equipment is also used for transmitting target content information of the target storage content to the second electronic equipment;
the second electronic device is further configured to receive the target content information.
16. An electronic device, comprising:
a memory for storing a computer program, the computer program comprising program instructions;
a processor for executing the program instructions to cause the electronic device to perform the stored content searching method of any one of claims 1-12, or the stored content searching method of claim 13, or the stored content searching method of claim 14.
17. A computer-readable storage medium storing a computer program comprising program instructions that are executed by a computer to cause the computer to execute the stored content searching method according to any one of claims 1 to 12, or the stored content searching method according to claim 13, or the stored content searching method according to claim 14.
CN202010504859.1A 2020-06-05 2020-06-05 Storage content searching method and system and electronic equipment Pending CN111680212A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010504859.1A CN111680212A (en) 2020-06-05 2020-06-05 Storage content searching method and system and electronic equipment
PCT/CN2021/098167 WO2021244614A1 (en) 2020-06-05 2021-06-03 Storage content searching method and system and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010504859.1A CN111680212A (en) 2020-06-05 2020-06-05 Storage content searching method and system and electronic equipment

Publications (1)

Publication Number Publication Date
CN111680212A true CN111680212A (en) 2020-09-18

Family

ID=72454275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010504859.1A Pending CN111680212A (en) 2020-06-05 2020-06-05 Storage content searching method and system and electronic equipment

Country Status (2)

Country Link
CN (1) CN111680212A (en)
WO (1) WO2021244614A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021244614A1 (en) * 2020-06-05 2021-12-09 华为技术有限公司 Storage content searching method and system and electronic device

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007310813A (en) * 2006-05-22 2007-11-29 Nikon Corp Image retrieving device and camera
KR20080050840A (en) * 2006-12-04 2008-06-10 임정욱 System and its method for searching private information stored in user's terminal
US20080320107A1 (en) * 2006-03-02 2008-12-25 Mtome Co., Ltd. System and Method for Contents Upload Using a Mobile Terminal
US20120084308A1 (en) * 2010-10-05 2012-04-05 Lg Electronics Inc. Electronic device and operating method thereof
CN103164441A (en) * 2011-12-14 2013-06-19 富泰华工业(深圳)有限公司 Image-classifying electronic device based on facial eigenvalue
CN103294789A (en) * 2013-05-21 2013-09-11 鸿富锦精密工业(深圳)有限公司 Information searching system and information searching method
US20140317092A1 (en) * 2013-04-19 2014-10-23 Salesforce.Com, Inc. Systems and methods for combined search and content creation
CN105306562A (en) * 2015-10-16 2016-02-03 联想(北京)有限公司 Information processing method and electronic device
WO2016197709A1 (en) * 2016-01-08 2016-12-15 中兴通讯股份有限公司 Information processing method and mobile terminal
CN106528839A (en) * 2016-11-23 2017-03-22 深圳铂睿智恒科技有限公司 Application recommendation method and system for intelligent terminal
US20170195737A1 (en) * 2015-12-30 2017-07-06 Le Holdings (Beijing) Co., Ltd. Method for video search and electronic device
CN108563752A (en) * 2018-04-16 2018-09-21 Oppo广东移动通信有限公司 Data interactive method, device, terminal device and storage medium
CN108763582A (en) * 2018-06-11 2018-11-06 腾讯科技(深圳)有限公司 File search method, device, terminal and storage medium
CN109981881A (en) * 2019-01-21 2019-07-05 华为技术有限公司 A kind of method and electronic equipment of image classification
CN110263077A (en) * 2019-06-25 2019-09-20 努比亚技术有限公司 Method, mobile terminal and the storage medium of file in a kind of acquisition mobile terminal
CN111221845A (en) * 2019-12-31 2020-06-02 华为技术有限公司 Cross-device information searching method and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111680212A (en) * 2020-06-05 2020-09-18 华为技术有限公司 Storage content searching method and system and electronic equipment

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080320107A1 (en) * 2006-03-02 2008-12-25 Mtome Co., Ltd. System and Method for Contents Upload Using a Mobile Terminal
JP2007310813A (en) * 2006-05-22 2007-11-29 Nikon Corp Image retrieving device and camera
KR20080050840A (en) * 2006-12-04 2008-06-10 임정욱 System and its method for searching private information stored in user's terminal
US20120084308A1 (en) * 2010-10-05 2012-04-05 Lg Electronics Inc. Electronic device and operating method thereof
CN102446205A (en) * 2010-10-05 2012-05-09 Lg电子株式会社 Electronic device and operating method thereof
CN103164441A (en) * 2011-12-14 2013-06-19 富泰华工业(深圳)有限公司 Image-classifying electronic device based on facial eigenvalue
US20140317092A1 (en) * 2013-04-19 2014-10-23 Salesforce.Com, Inc. Systems and methods for combined search and content creation
CN103294789A (en) * 2013-05-21 2013-09-11 鸿富锦精密工业(深圳)有限公司 Information searching system and information searching method
CN105306562A (en) * 2015-10-16 2016-02-03 联想(北京)有限公司 Information processing method and electronic device
US20170195737A1 (en) * 2015-12-30 2017-07-06 Le Holdings (Beijing) Co., Ltd. Method for video search and electronic device
WO2016197709A1 (en) * 2016-01-08 2016-12-15 中兴通讯股份有限公司 Information processing method and mobile terminal
CN106528839A (en) * 2016-11-23 2017-03-22 深圳铂睿智恒科技有限公司 Application recommendation method and system for intelligent terminal
CN108563752A (en) * 2018-04-16 2018-09-21 Oppo广东移动通信有限公司 Data interactive method, device, terminal device and storage medium
CN108763582A (en) * 2018-06-11 2018-11-06 腾讯科技(深圳)有限公司 File search method, device, terminal and storage medium
CN109981881A (en) * 2019-01-21 2019-07-05 华为技术有限公司 A kind of method and electronic equipment of image classification
CN110263077A (en) * 2019-06-25 2019-09-20 努比亚技术有限公司 Method, mobile terminal and the storage medium of file in a kind of acquisition mobile terminal
CN111221845A (en) * 2019-12-31 2020-06-02 华为技术有限公司 Cross-device information searching method and terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021244614A1 (en) * 2020-06-05 2021-12-09 华为技术有限公司 Storage content searching method and system and electronic device

Also Published As

Publication number Publication date
WO2021244614A1 (en) 2021-12-09

Similar Documents

Publication Publication Date Title
WO2021013158A1 (en) Display method and related apparatus
CN108235765B (en) Method and device for displaying story photo album
CN110637290A (en) File management method and device
CN108717432B (en) Resource query method and device
EP4102379A1 (en) Data sharing method, electronic device and system
WO2020259554A1 (en) Learning-based keyword search method, and electronic device
CN111164983B (en) The interconnection terminal lends local processing capability
WO2020233556A1 (en) Call content processing method and electronic device
US12010257B2 (en) Image classification method and electronic device
US20230208790A1 (en) Content sharing method, apparatus, and system
KR102065029B1 (en) Method for sharing data of electronic device and electronic device thereof
JP2022530754A (en) Content translation method and terminal
WO2021057421A1 (en) Picture search method and device
WO2021244614A1 (en) Storage content searching method and system and electronic device
US20160004784A1 (en) Method of providing relevant information and electronic device adapted to the same
WO2021196980A1 (en) Multi-screen interaction method, electronic device, and computer-readable storage medium
CN113157370B (en) Page display method and device, electronic equipment and storage medium
JP2023543785A (en) How to open the history page, related devices and computer programs
CN116887032B (en) Cross-terminal image data acquisition system, method, client and server
CN113641834B (en) File processing method and electronic equipment
CN113836323B (en) Media file management method, terminal equipment and storage medium
WO2022100588A1 (en) Method and device for picture collecting
WO2024083133A1 (en) Distributed data management method, electronic device and system
WO2022188713A1 (en) Page feature storage method, page jump method, and apparatuses
WO2023226975A1 (en) Display method and electronic device

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