WO2022100222A1 - 信息检索方法、装置、系统及存储介质 - Google Patents

信息检索方法、装置、系统及存储介质 Download PDF

Info

Publication number
WO2022100222A1
WO2022100222A1 PCT/CN2021/115825 CN2021115825W WO2022100222A1 WO 2022100222 A1 WO2022100222 A1 WO 2022100222A1 CN 2021115825 W CN2021115825 W CN 2021115825W WO 2022100222 A1 WO2022100222 A1 WO 2022100222A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
retrieval
fed back
relevant information
cloud server
Prior art date
Application number
PCT/CN2021/115825
Other languages
English (en)
French (fr)
Inventor
杨俊拯
毕浩
钟卫东
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022100222A1 publication Critical patent/WO2022100222A1/zh

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/9535Search customisation based on user profiles and personalisation
    • 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/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the technical field of information processing, and in particular, to an information retrieval method, device, system and storage medium.
  • Devices may have various forms, such as mobile phones, computers, tablets, TVs, routers, etc. Some devices have data and some do not. Some devices have display and input devices, and some do not.
  • the servers are all in the same network. In this case, multiple devices may be in a complex network environment and cannot be directly connected to each other. In this case, the problem of how to search for multiple devices needs to be solved urgently.
  • the embodiments of the present application provide an information retrieval method, apparatus, system, and storage medium, which can implement searching for multiple devices and improve search intelligence.
  • an embodiment of the present application provides an information retrieval method, which is applied to an electronic device, and the method includes:
  • the retrieval request is used to retrieve at least one second electronic device
  • the retrieval result fed back by the at least one second electronic device is displayed.
  • an embodiment of the present application provides an information retrieval apparatus, which is applied to a cloud server, and the method includes:
  • Each electronic device in the device accesses and receives the retrieval result fed back by the at least one second electronic device, and displays the retrieval result fed back by the at least one second electronic device.
  • an embodiment of the present application provides an information retrieval apparatus, which is applied to a first electronic device.
  • the apparatus includes: an acquisition unit, a transmission unit, a reception unit, a retrieval unit, and a display unit, wherein,
  • the obtaining unit configured to obtain a retrieval request, where the retrieval request is used to retrieve at least one second electronic device;
  • the sending unit is configured to send the retrieval request to a cloud server, obtain a device list of the at least one second electronic device through the cloud server, and obtain the at least one second electronic device according to the device list relevant information;
  • the receiving unit configured to receive the relevant information of the at least one second electronic device fed back by the cloud server;
  • the retrieval unit is configured to access each electronic device in the at least one second electronic device according to the relevant information of the at least one second electronic device, and receive the retrieval fed back by the at least one second electronic device result;
  • the display unit is configured to display the retrieval result fed back by the at least one second electronic device.
  • an embodiment of the present application provides an information retrieval apparatus, which is applied to a cloud server.
  • the apparatus includes: a receiving unit, an obtaining unit, and a sending unit, wherein,
  • the receiving unit configured to receive a retrieval request sent by the first electronic device, where the retrieval request is used to retrieve at least one second electronic device;
  • the obtaining unit configured to obtain a device list of the at least one second electronic device, and obtain relevant information of the at least one second electronic device according to the device list;
  • the sending unit is configured to send the relevant information of the at least one second electronic device to the first electronic device, so that the first electronic device can send the relevant information to the first electronic device according to the relevant information of the at least one second electronic device.
  • Each electronic device in the at least one second electronic device accesses, receives the retrieval result fed back by the at least one second electronic device, and displays the retrieval result fed back by the at least one second electronic device.
  • an embodiment of the present application provides an information retrieval system, where the information retrieval system includes a first electronic device, a cloud server, and at least one second electronic device, and the method includes:
  • the first electronic device obtains a retrieval request, where the retrieval request is used to retrieve at least one second electronic device;
  • the first electronic device sends the retrieval request to a cloud server
  • the first electronic device receives the relevant information of the at least one second electronic device fed back by the cloud server;
  • the first electronic device accesses each electronic device in the at least one second electronic device according to the relevant information of the at least one second electronic device, and receives a retrieval result fed back by the at least one second electronic device ;
  • the first electronic device displays the retrieval result fed back by the at least one second electronic device.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory is configured to store one or more programs, and is configured to be executed by the processor, the programs include Instructions for performing steps in a method as claimed in any one of the first aspects of claim.
  • an embodiment of the present application provides a cloud server, the cloud server includes a processor and a memory, the memory is configured to store one or more programs, and is configured to be executed by the processor, the program includes Instructions for performing steps in a method as claimed in any one of the first aspects of claim.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the computer program as described in the first embodiment of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the computer program as described in the first embodiment of the present application.
  • an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in the first aspect.
  • the computer program product may be a software installation package.
  • an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the program as described in the present application. Some or all of the steps described in the first aspect of the embodiment.
  • the computer program product may be a software installation package.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a software structure of an electronic device provided by an embodiment of the present application.
  • 3A is a schematic flowchart of an information retrieval method provided by an embodiment of the present application.
  • 3B is a schematic structural diagram of an information retrieval system provided by an embodiment of the present application.
  • 3C is a schematic structural diagram of another information retrieval system provided by an embodiment of the present application.
  • FIG. 3D is a schematic diagram of a demonstration of retrieval result display provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of another information retrieval system provided by an embodiment of the present application.
  • 5A is a schematic flowchart of another information retrieval method provided by an embodiment of the present application.
  • 5B is a schematic structural diagram of an information retrieval system provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a first electronic device provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a cloud server provided by an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of another information retrieval method provided by an embodiment of the present application.
  • FIG. 9 is a block diagram of functional units of an information retrieval apparatus provided by an embodiment of the present application.
  • FIG. 10 is a block diagram of functional units of another information retrieval apparatus provided by an embodiment of the present application.
  • Electronic devices can communicate with devices, such as smartphones, in-vehicle devices (navigators, driving recorders, radar rangefinders, ETC payment mounts, etc.), wearable devices, smart watches, walkie-talkies, smart glasses, wireless Bluetooth headsets , computing devices, routers, or other processing devices connected to wireless modems, and various forms of User Equipment (UE), Mobile Station (MS), virtual/augmented reality devices, terminal devices )and many more.
  • devices such as smartphones, in-vehicle devices (navigators, driving recorders, radar rangefinders, ETC payment mounts, etc.), wearable devices, smart watches, walkie-talkies, smart glasses, wireless Bluetooth headsets , computing devices, routers, or other processing devices connected to wireless modems, and various forms of User Equipment (UE), Mobile Station (MS), virtual/augmented reality devices, terminal devices )and many more.
  • UE User Equipment
  • MS Mobile Station
  • virtual/augmented reality devices terminal devices
  • the electronic devices may also include smart home devices, and the smart home devices may be at least one of the following: smart speakers, smart cameras, smart rice cookers, smart wheelchairs, smart massage chairs, smart furniture, smart dishwashers, smart TVs, smart refrigerators, Smart fans, smart heaters, smart drying racks, smart lights, smart routers, smart switches, smart switch panels, smart humidifiers, smart air conditioners, smart doors, smart windows, smart cooktops, smart disinfection cabinets, smart toilets, floor sweeping Robots, etc., are not limited here.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 .
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, compass 190, motor 191, indicator 192, camera 193, display screen 194 and user Identity module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM subscriber identification module
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor AP, a modem processor, a graphics processor GPU, an image signal processor (image signal processor, ISP), a controller, Video codec, digital signal processor (DSP), baseband processor, and/or neural network processor NPU, etc. Wherein, different processing units may be independent components, or may be integrated in one or more processors.
  • the electronic device 101 may also include one or more processors 110 .
  • the controller can generate an operation control signal according to the instruction operation code and the timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in the processor 110 may be a cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from memory. In this way, repeated accesses are avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the electronic device 101 in processing data or executing instructions.
  • the processor 110 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal) asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input/output (GPIO) interface, SIM card interface and/or USB interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 101, and can also be used to transmit data between the electronic device 101 and peripheral devices.
  • the USB interface 130 can also be used to connect an earphone, and play audio through the earphone.
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, and the like.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G/6G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR), UWB modules and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation Satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • UWB modules wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode, or an active-matrix organic light-emitting diode (active-matrix organic light).
  • emitting diode AMOLED
  • flexible light-emitting diode flex light-emitting diode, FLED
  • mini light-emitting diode mini light-emitting diode, miniled
  • MicroLed Micro-oLed
  • quantum dot light-emitting diode quantum dot light emitting diodes, QLED
  • electronic device 100 may include one or more display screens 194 .
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, converting it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize parameters such as exposure and color temperature of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include one or more cameras 193 .
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos in various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG Moving Picture Experts Group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store one or more computer programs including instructions.
  • the processor 110 may execute the above-mentioned instructions stored in the internal memory 121, thereby causing the electronic device 101 to execute the method for displaying page elements, various applications and data processing provided in some embodiments of the present application.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the stored program area may store the operating system; the stored program area may also store one or more applications (such as gallery, contacts, etc.) and the like.
  • the storage data area may store data (such as photos, contacts, etc.) created during the use of the electronic device 101 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage components, flash memory components, universal flash storage (UFS), and the like.
  • the processor 110 may cause the electronic device 101 to execute the instructions provided in the embodiments of the present application by executing the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor 110 .
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to pressure sensor 180A, the capacitance between the electrodes changes.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the angular velocity of the electronic device 100 about three axes ie, the X, Y, and Z axes
  • the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • FIG. 2 shows a software structural block diagram of the electronic device 100 .
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the application layer can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short messages.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • Data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (media library), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library media library
  • 3D graphics processing library eg: OpenGL ES
  • 2D graphics engine eg: SGL
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • FIG. 3A is a schematic flowchart of an information retrieval method provided by an embodiment of the present application, which is applied to a first electronic device.
  • the information retrieval method includes:
  • the retrieval request may or may not include the retrieval term
  • the retrieval method may include typical keywords or a list of given resources without keywords, such as a list of pictures , video list, file list, etc., including various filtering and sorting methods for these list information.
  • the search terms can be input by the user, or pushed by the system.
  • the search term can be at least one of the following: Chinese characters, English sentences, character strings, German sentences, French sentences, dialect sentences, Japanese sentences, Korean sentences, images, videos, documents, etc., which are not limited here.
  • the first electronic device may input a search term, generate a search request according to the search term, input the search term through the touch screen, and then generate a search request according to the search term.
  • the search term can be converted into text content, and then subsequent retrieval is performed.
  • At least one second electronic device may belong to the same set or the same group, and furthermore, the managed devices may be expanded, and more types of devices and devices under a larger number of user names may be managed.
  • the first electronic device may be directly connected, indirectly connected or non-connected to any second electronic device among the at least one second electronic device, which is not limited herein.
  • the number of the at least one second electronic device may be 1, 2, 3, or more, which is not limited herein.
  • the first electronic device may store relevant information of at least one second electronic device in the cloud server as a device list, and the relevant information may be at least one of the following: device identification information, device user record information, and device information, wherein the device identification
  • the information can be at least one of the following: a MAC address, an IP address, a SIM card number, an ICCID card number, a device name, an Internet access license number, etc., which are not limited here.
  • the device usage record information may be at least one of the following: browsing records, user habit data, user behavior habit data, work log data, etc., which are not limited herein.
  • the user habit data may be at least one of the following: operation habit data, browsing habit data, etc., which are not limited herein.
  • the above step, inputting a search term may include the following steps:
  • the first electronic device can collect the target speech segment input by the user, convert the target speech segment into text, and perform semantic recognition on the text to obtain search words.
  • the above step, inputting a search term may include the following steps:
  • the first electronic device can obtain input content through an input circuit
  • the input circuit can be at least one of the following: a microphone, a touch display screen, a stylus, a mouse, a keyboard, etc., which are not limited here.
  • the first electronic device can obtain the input content, and when the input content is not text content, it can convert the input content into target text content by means of character recognition, speech recognition, image recognition, etc., and perform keywords on the target text content. Extraction to obtain search terms, so that subsequent retrieval can be facilitated.
  • the first electronic device may send a retrieval request to the cloud server, and after the cloud server receives the retrieval request, the cloud server may acquire at least one device list of the second electronic device, and acquire at least one device list according to the device list. relevant information of a second electronic device, and feedback the relevant information to the first electronic device.
  • the cloud server may sequentially send at least one second electronic device to the first electronic device, or the cloud server may also package at least one second electronic device, and then send the packaged data package to the first electronic device.
  • the first electronic device may receive information about each second electronic device in the at least one second electronic device fed back by the cloud server.
  • Access each electronic device in the at least one second electronic device according to the relevant information of the at least one second electronic device, and receive a retrieval result fed back by the at least one second electronic device.
  • the first electronic device can access each electronic device in the at least one second electronic device according to the relevant information of the at least one second electronic device, and receive a retrieval result fed back by the at least one second electronic device, each The second electronic device may correspond to a retrieval result.
  • step 304 accessing each electronic device in the at least one second electronic device according to the relevant information of the at least one second electronic device, may be implemented as follows:
  • the relevant information of the at least one second electronic device confirms that the second electronic device i is allowed to be directly accessed, directly accessing the second electronic device i;
  • the relevant information of the at least one second electronic device confirms that the second electronic device i is not allowed to be directly accessed
  • the device information of the second electronic device i that needs to be connected is reported to the cloud server, and the cloud server
  • the server establishes a network tunnel between the first electronic device and the second electronic device i, and implements access to the second electronic device i through the network tunnel;
  • the second electronic device i is any second electronic device among the at least one second electronic device.
  • the second electronic device i is any second electronic device in the at least one second electronic device, and the relevant information of the at least one second electronic device confirms the second electronic device
  • the first electronic device can directly access the second electronic device i, and then directly obtain the retrieval result fed back by the second electronic device i.
  • the relevant information of at least one second electronic device confirms that the second electronic device i is not allowed to be directly accessed, report the device information of the second electronic device i to be connected to the cloud server, and the cloud server establishes the first electronic device i.
  • a network tunnel between the second electronic device i and the second electronic device i, and the second electronic device i is accessed through the network tunnel.
  • the first electronic device can The network traversal module of the device management system of the server reports the device information of the device to be connected, and the network traversal module establishes a network tunnel between the cloud and the second electronic device i, and provides a public IP and port to allow devices connected to the Internet Direct access and return this information to the first electronic device.
  • the cloud can also be changed to use the cloud as a transfer station for the entire search process, so as to achieve access to devices that are not directly connected.
  • the electronic device can display the retrieval results fed back by at least one second electronic device in a random or sorted manner. For example, a user can search for applications and data on all devices under his name, and applications The internal data and these data will be uniformly sorted by relevance.
  • the user's data is kept on the original device, and it may not be synchronized between various devices, or synchronized with the cloud.
  • searching only the reference data is transmitted between the devices, excluding the original data, thus ensuring the user's privacy. Safety.
  • the types of devices managed by users can be diversified, such as computers, mobile phones, Pads, TVs, watches, routers, etc. According to the characteristics of the devices themselves, the data provider and the retrieval device can exist at the same time or one of them. In the device, and further, the embodiments of the present application can ensure the retrieval validity of the devices of the users who do not communicate with each other under different network conditions, so as to satisfy the usual network state of the devices under the actual conditions.
  • the retrieval device in the embodiment of the present application can run on any device, and further can run on the web terminal, thereby realizing compatibility between different devices and systems.
  • the embodiment of the present application not only can the data on the device be searched, but also the data on the device can be searched. Search for data within apps on your device.
  • content in system applications and third-party applications can be added to the search scope.
  • only the content in the third-party application is strongly related to the user, such as browsed, recently visited by most people, etc., and can appear in the search results.
  • the immediacy and completeness of the display of search results can be realized by means of asynchronous retrieval of multiple devices and asynchronous display of UI, and further, the display method of different device data can be distinguished, and different colors can be used to determine different device results.
  • the definition of the strong correlation between in-app data and users can be expanded, and the collective user behavior data can be used as the main method, and the developer definition can be used as a supplement.
  • the current scene to define what is strongly related to it.
  • step 305 displaying the retrieval result fed back by the at least one second electronic device, may include the following steps:
  • the first electronic device can obtain the device usage information of at least one second electronic device, user habit data, or the correlation between the retrieval result and the retrieval request to determine the priority order, and the correlation can be used by the retrieval algorithm to compare the retrieval term with the retrieval result. It is obtained that, for example, if the device is frequently used, the priority is high, or, if the correlation is high, the priority is high, etc., which are not limited herein.
  • the first electronic device can display the retrieval results fed back by at least one second electronic device in priority order, so that retrieval results can be displayed intelligently according to user habits, or device usage frequency, or retrieval relevance.
  • determining the priority order of the retrieval results fed back by the at least one second electronic device may include the following steps:
  • the electronic device can obtain the user habit data of each second electronic device in the at least one second electronic device and the correlation degree of the corresponding retrieval result, and obtain at least one user habit data and the corresponding correlation degree, and further, can be based on at least one of the second electronic devices.
  • a corresponding adjustment coefficient is determined for each user habit data in a user habit data, and at least one adjustment coefficient is obtained.
  • the user's activity level can be determined according to the user habit data, and the user habit data can be the duration of using a certain application in a day,
  • the number of times the user presses the fingerprint recognition module in one day, etc. is not limited here, and the value range of the adjustment coefficient can be -1 to 1 or 0 to 1, or -0.15 to 0.15, etc.
  • the first electronic device may quantify the user habit data to obtain a quantized value, and determine the adjustment corresponding to the quantized value of the quantized user habit data according to the preset mapping relationship between the quantized value and the adjustment coefficient. coefficient. .
  • the first electronic device may adjust the corresponding correlation according to at least one adjustment coefficient to obtain at least one reference correlation, which may be implemented in the following manner:
  • Reference correlation degree j (1+adjustment coefficient j)*correlation degree j
  • the correlation j is the correlation corresponding to the user habit data j
  • the adjustment coefficient j is the adjustment coefficient corresponding to the user habit data j
  • the reference correlation j is the reference correlation corresponding to the user habit data j.
  • the first electronic device may determine the priority order of the retrieval results fed back by the at least one second electronic device according to the at least one reference correlation degree. If the reference correlation degree value is larger, the priority is higher; otherwise, the priority is lower. .
  • determining a corresponding adjustment coefficient according to each user habit data in the at least one user habit data, and obtaining at least one adjustment coefficient may include the following steps:
  • the preset neural network model may be at least one of the following: a fully connected neural network model, a convolutional neural network model, a recurrent neural network model, a spiking neural network model, etc., which are not limited herein.
  • a preset neural network model can be used to determine the degree of user dependence on the device.
  • the first electronic device may pre-train the neural network model, and input feature sets corresponding to different user habit data as samples and corresponding labels as sample labels, and the labels may be specific values.
  • the first electronic device can perform feature extraction on the user habit data j to obtain a feature set, where the user habit data j is any user habit data in at least one user habit data, and the feature set is input into the preset neural network model , obtain the target operation result, and then determine the adjustment coefficient corresponding to the target operation result according to the mapping relationship between the preset operation result and the adjustment coefficient.
  • the user's habit can be simulated through the neural network model to determine the user's dependence on the device. .
  • the information retrieval system may include a terminal device (a first electronic device or a second electronic device), a device management system, and an information service system.
  • the device management system and the information service system can be set up on the cloud server, and the unified information retrieval of multiple devices can be realized through the cooperation of the three roles.
  • device A has two subsystems of data provision and data retrieval, device B has only data retrieval subsystem, and device C has only data provision subsystem.
  • This deployment method can be based on the actual situation of the device. For example, device A can make those Devices that both store data and display input capabilities, such as PCs, mobile phones, Pads, etc., device B may not belong to the user.
  • device C may only have storage capabilities.
  • the terminal device can obtain retrieval results from the local through the index module, for example, can include but not limited to: local pictures, local videos, local documents, system applications, third-party General data such as applications can also be applications on the device, and further data in applications, applications can include system applications and third-party applications.
  • the information server system can store the device list of each device, and can also record user behavior through the user behavior log.
  • each device under the user name registers its own search service with the service management module of the cloud. This process does not happen when the search is triggered, but when the terminal search system is installed and uninstalled.
  • a search request is initiated, and a search is initiated through the UI module on the device.
  • the UI module collects the user's search query request and submits the request to the distributed query module.
  • the distributed query module requests intermediate search results from multiple devices and the cloud, which specifically includes the following steps A-F:
  • the distributed query module goes to the service management module in the cloud to query all the devices under the user name that have search services.
  • the current device accesses the search interface on the user device, and if the current device can directly access the user device, the search result on the user device is directly obtained.
  • the current device If the current device cannot directly access the user device, the current device reports the device information of the device to be connected to the network traversal module of the device management system, and the network traversal module establishes a network tunnel between the cloud and the user device, and provides a public
  • the network IP and port can be directly accessed by devices connected to the Internet and return this information to the current device the user is searching for.
  • the current device uses the obtained public network IP and port to access the search service on the user device again.
  • the current device will access all user devices in turn, and repeat steps 3 and 4 until all user devices are accessed;
  • the access in steps E and F can be performed asynchronously, and the returned results are sent to the search result merging module according to the actual time. Further, the search result merging module merges the intermediate search results on each device and submits it to the UI, and the user equipment inputs the search results into The search result merging module, these results contain the search ID indicating which search behavior belongs to, and a collection of multiple results. Each result contains a unique result ID and some fields involved in sorting, as well as some display fields. Because the whole search process is asynchronous, the next search result may arrive at the current device earlier than the current search result. Therefore, in the specific implementation, it is necessary to add a search ID to determine which search the user has made the search result from.
  • the search results on all devices can be comprehensively sorted, and aggregated according to data types. For example, picture information can be sorted. , video information, document information, application information and other categories.
  • a user equipment search result submission will trigger a merge process, and the merged result will be submitted to the UI asynchronously.
  • the UI module receives the data from the search result merge module and displays it in the form of data classification, as shown in Figure 3D, in When retrieving 4 devices, the retrieval results of the 4 devices can be displayed.
  • search results could also be sorted by data category, with each search result specifying which device it came from. For example, each search result is marked with a color label by means of preset colors to determine which device the search result comes from. This approach allows the user to know the device from which the results came from without requiring textual descriptions on each result to represent this information.
  • a search operation is performed on the UI module, there may be multiple results refresh processes. Whenever the data of a device is ready, the search result merging module will re-merge the results and submit them to the UI module, and the UI module will redraw the results.
  • the search results display page, the whole process is asynchronous and triggered automatically.
  • the goal of in-app data search for in-app data search on the device is to allow users to search not only data on the device, but also data of applications installed on the device, which may be the data that the user browses on this application.
  • the past data may also be the most popular data of this application.
  • the unified search device is more concerned with the in-app search that is highly relevant to the user.
  • the SDK is provided to the application developer, which allows the application developed by the developer to transfer the pages browsed by the user to the index module on the terminal, and also allows the application developed by the developer to transfer the user to the index module on the terminal.
  • Some browsing pages are transferred to the index module of the cloud. Whether the page is transferred to the cloud is decided by the developer, based on privacy considerations such as page information privacy and security.
  • the cloud when the user browses the application, some browsing pages will enter the cloud index. At the same time, the cloud will actively obtain the information in the application by means of web crawlers, cooperation interfaces, etc., and import the data into the cloud index module.
  • the decision module in the information server system can be used to decide the relevance between the user and the content in the application, and the content that does not meet the relevance of the user will be directly discarded.
  • step 301 before obtaining the retrieval request, may further include the following steps:
  • the target identity information may be at least one of the following: character strings, touch parameters, face images, fingerprint images, palmprint images, vein images, brain waves, voiceprints, etc. Do limit.
  • the electronic device can obtain the user's target identity information, and can verify the target identity information.
  • step 301 is performed, otherwise, subsequent steps are not performed.
  • step C2-step C3 when the target identity information is a target face image, between step C2-step C3, the following steps may also be included:
  • the preset face template may be stored in the electronic device in advance, and the preset image quality evaluation value and the preset matching threshold may be set by the user or the system defaults.
  • the electronic device can use at least one image quality evaluation index to evaluate the image quality of the target face image, and obtain the target image quality evaluation value, and the image quality evaluation index can be at least one of the following: information entropy, average gradient, average gray degree, contrast, etc., which are not limited here.
  • the target image quality evaluation value is greater than the preset image quality evaluation value, matching the target face image with the preset face template may be performed to obtain the target matching value; otherwise, re-authentication may be required.
  • step C4 determining the target image quality evaluation value of the target face image, may include the following steps:
  • the memory in the electronic device may pre-store the preset mapping relationship between the distribution density of feature points and the image quality evaluation value, the preset mapping relationship between the signal-to-noise ratio and the image quality deviation value, and the preset mapping relationship between the signal-to-noise ratio and the image quality deviation value.
  • the mapping relationship between the shooting parameters and the optimization coefficient wherein the value range of the image quality evaluation value may be 0-1, or may also be 0-100.
  • the image quality deviation value may be a positive real number, for example, 0 to 1, or may be greater than 1.
  • the value range of the optimization coefficient may be between -1 and 1, for example, the optimization coefficient may be -0.1 to 0.1.
  • the shooting parameters may be at least one of the following: exposure duration, shooting mode, ISO sensitivity, white balance parameters, focal length, focus, area of interest, etc., which are not limited herein.
  • the electronic device can determine the target feature point distribution density and the target signal-to-noise ratio of the target face image, and determine the target feature point distribution density according to the preset mapping relationship between the feature point distribution density and the image quality evaluation value.
  • the corresponding first image quality evaluation value, the feature point distribution density reflects the image quality to a certain extent, and the feature point distribution density can be understood as the ratio between the total number of feature points of the target face image and the image area of the target face image .
  • the electronic device can determine the target image quality deviation value corresponding to the target signal-to-noise ratio according to the preset mapping relationship between the signal-to-noise ratio and the image quality deviation value. angle, jitter, etc.) or internal (system, GPU) reasons, some noise will be generated, and these noises will have some impact on the image quality. Therefore, the image quality can be adjusted to a certain extent to ensure an objective evaluation of the image quality.
  • the electronic device can also acquire the first shooting parameter of the target face image, and the first shooting parameter can also be carried in the communication connection request, and further, according to the preset mapping relationship between the shooting parameters and the optimization coefficient, Determine the target optimization coefficient corresponding to the first shooting parameter.
  • the shooting parameter setting may also have a certain impact on the image quality evaluation. Therefore, it is necessary to determine the impact components of the shooting parameters on the image quality.
  • the target image quality The deviation value adjusts the first image quality evaluation value to obtain the target image quality evaluation value, wherein the target image quality evaluation value can be obtained according to the following formula:
  • Target image quality evaluation value (first image quality evaluation value+target image quality deviation value)*(1+target optimization coefficient)
  • Target image quality evaluation value first image quality evaluation value*(1+target image quality deviation value)*(1+target optimization coefficient)
  • the image quality can be objectively evaluated based on the influence of internal and external environmental factors and shooting setting factors, which helps to improve the accuracy of image quality evaluation.
  • the information retrieval method described in the embodiments of the present application is applied to the first electronic device to obtain a retrieval request, the retrieval request is used to retrieve at least one second electronic device, and the retrieval request is sent to the cloud server, Obtain a device list of at least one second electronic device from the cloud server, and obtain relevant information of at least one second electronic device according to the device list, and receive the relevant information of at least one second electronic device fed back by the cloud server, according to the at least one second electronic device.
  • the relevant information of the electronic device accesses each electronic device in the at least one second electronic device, and receives the retrieval result fed back by the at least one second electronic device, and displays the retrieval result fed back by the at least one second electronic device, and thus, By acquiring the relevant information of the device to be retrieved from the cloud server, and retrieving the device to be retrieved based on the relevant information, it is possible to search multiple devices and improve the intelligence of the search.
  • FIG. 4 is a schematic flowchart of an information retrieval method provided by an embodiment of the present application, which is applied to a first electronic device; as shown in the figure, the information retrieval method includes:
  • Access each electronic device in the at least one second electronic device according to the relevant information of the at least one second electronic device, and receive feedback from the at least one second electronic device for the search term. search result.
  • steps 401 to 408 may refer to the corresponding steps of the information retrieval method described in FIG. 3A , and details are not repeated here.
  • the information retrieval method described in the embodiments of the present application can extract a retrieval term by inputting the content, generate a retrieval request based on the retrieval term, respond to the response request, obtain the relevant information of the device to be retrieved from the cloud server, and The relevant information retrieves the device that needs to be retrieved, and further, it is possible to search for multiple devices, which improves the intelligence of the search.
  • FIG. 5A is a schematic flowchart of an information retrieval method provided by an embodiment of the present application, which is applied to a cloud server; as shown in the figure, the information retrieval method includes:
  • 501 Receive a retrieval request sent by a first electronic device, where the retrieval request is used to retrieve at least one second electronic device.
  • steps 501 to 503 may refer to the corresponding steps of the information retrieval method described in FIG. 3A , and details are not repeated here.
  • the first electronic device accesses each electronic device in the at least one second electronic device according to the relevant information of the at least one second electronic device, which may include the following steps:
  • the relevant information of the at least one second electronic device confirms that the second electronic device i is not allowed to be directly accessed, the device that receives the second electronic device i that needs to be connected reported by the first electronic device information;
  • the cloud server may receive the device information of the second electronic device i that needs to be connected reported by the first electronic device , a network tunnel between the first electronic device and the second electronic device i is established by the cloud server, and the second electronic device i is accessed through the network tunnel.
  • the first electronic device can report the device information of the device to be connected to the network traversal module of the device management system of the cloud server, and the network traversal module establishes a network tunnel between the cloud and the second electronic device i, and provides a public network IP and The port enables direct access by Internet-connected devices and returns this information to the first electronic device.
  • the cloud can also be changed to use the cloud as a transfer station for the entire search process, so as to achieve access to devices that are not directly connected.
  • a user can submit a search request to a distributed query in the cloud
  • the distributed query module requests the device management module to return all the device information of the user
  • the distributed query module sends a search request to each terminal and the cloud.
  • the search data merging module assembles all the search information, and then merges and organizes the UI module that is returned to the terminal.
  • FIG. 6 is a schematic structural diagram of a first electronic device provided by an embodiment of the present application.
  • the first electronic device includes a processor, a memory, a communication interface and a One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor.
  • the program includes instructions for executing the following steps:
  • the retrieval request is used to retrieve at least one second electronic device
  • the retrieval result fed back by the at least one second electronic device is displayed.
  • the above-mentioned program includes instructions for executing the following steps:
  • the relevant information of the at least one second electronic device confirms that the second electronic device i is allowed to be directly accessed, directly accessing the second electronic device i;
  • the relevant information of the at least one second electronic device confirms that the second electronic device i is not allowed to be directly accessed
  • the device information of the second electronic device i that needs to be connected is reported to the cloud server, and the cloud server
  • the server establishes a network tunnel between the first electronic device and the second electronic device i, and implements access to the second electronic device i through the network tunnel;
  • the second electronic device i is any second electronic device among the at least one second electronic device.
  • the above program includes an instruction for performing the following steps:
  • the retrieval result fed back by the at least one second electronic device is displayed according to the priority order.
  • the above program includes instructions for performing the following steps:
  • the priority order of the retrieval result fed back by the at least one second electronic device is determined according to the at least one reference relevancy.
  • the above program includes instructions for performing the following steps:
  • the adjustment coefficient corresponding to the target operation result is determined.
  • the electronic device includes corresponding hardware structures and/or software modules for executing each function.
  • the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in combination with the units and algorithm steps of each example described in the embodiments provided herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
  • the electronic device may be divided into functional units according to the foregoing method examples.
  • each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and other division methods may be used in actual implementation.
  • FIG. 7 is a schematic structural diagram of a cloud server provided by an embodiment of the present application.
  • the cloud server includes a processor, a memory, a communication interface, and one or more A program, wherein the above-mentioned one or more programs are stored in the above-mentioned memory and are configured to be executed by the above-mentioned processor.
  • the above-mentioned program includes instructions for executing the following steps:
  • Each electronic device in the device accesses and receives the retrieval result fed back by the at least one second electronic device, and displays the retrieval result fed back by the at least one second electronic device.
  • the above program includes the steps for executing the following steps: command:
  • the relevant information of the at least one second electronic device confirms that the second electronic device i is not allowed to be directly accessed, receiving the device information of the second electronic device i that needs to be connected reported by the first electronic device;
  • the second electronic device i is any second electronic device among the at least one second electronic device.
  • FIG. 8 is a schematic structural diagram of an information retrieval system provided by an embodiment of the present application.
  • the information retrieval system includes a first electronic device, a cloud server, and at least one A second electronic device, wherein the system is used to perform the following functions:
  • the first electronic device obtains a retrieval request, and the retrieval request is used to retrieve at least one second electronic device.
  • the first electronic device sends the retrieval request to a cloud server.
  • the cloud server acquires a device list of the at least one second electronic device, and acquires related information of the at least one second electronic device according to the device list.
  • the first electronic device receives the relevant information of the at least one second electronic device fed back by the cloud server.
  • the first electronic device accesses each electronic device in the at least one second electronic device according to the relevant information of the at least one second electronic device, and receives a retrieval result fed back by the at least one second electronic device .
  • the first electronic device displays the retrieval result fed back by the at least one second electronic device.
  • the above information retrieval system can also implement the embodiments covered by the information retrieval method described in FIG. 3A , which will not be repeated here.
  • FIG. 9 is a block diagram of functional units of the information retrieval apparatus 900 involved in the embodiment of the present application.
  • the information retrieval apparatus 900 is applied to a first electronic device, the apparatus 900 includes: applied to the first electronic device, and the apparatus includes: an acquisition unit 901, a transmission unit 902, a reception unit 903, a retrieval unit 904, and a display unit 905, in,
  • the obtaining unit 901 is configured to obtain a retrieval request, where the retrieval request is used to retrieve at least one second electronic device;
  • the sending unit 902 is configured to send the retrieval request to a cloud server, obtain a device list of the at least one second electronic device through the cloud server, and obtain the at least one second electronic device according to the device list. information about the device;
  • the receiving unit 903, configured to receive the relevant information of the at least one second electronic device fed back by the cloud server;
  • the retrieval unit 904 is configured to access each electronic device in the at least one second electronic device according to the relevant information of the at least one second electronic device, and receive feedback from the at least one second electronic device. search result;
  • the display unit 905 is configured to display the retrieval result fed back by the at least one second electronic device.
  • the retrieval unit 904 is specifically configured to:
  • the relevant information of the at least one second electronic device confirms that the second electronic device i is allowed to be directly accessed, directly accessing the second electronic device i;
  • the relevant information of the at least one second electronic device confirms that the second electronic device i is not allowed to be directly accessed
  • the device information of the second electronic device i that needs to be connected is reported to the cloud server, and the cloud server
  • the server establishes a network tunnel between the first electronic device and the second electronic device i, and implements access to the second electronic device i through the network tunnel;
  • the second electronic device i is any second electronic device among the at least one second electronic device.
  • the displaying unit 905 is specifically configured to:
  • the retrieval result fed back by the at least one second electronic device is displayed according to the priority order.
  • the presenting unit 905 is specifically configured to:
  • the priority order of the retrieval result fed back by the at least one second electronic device is determined according to the at least one reference relevancy.
  • the displaying unit 905 is specifically configured to:
  • the adjustment coefficient corresponding to the target operation result is determined.
  • each “unit” may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware Program processors (shared, dedicated, or chipset) and memory, combinational logic circuits, and/or other suitable components that provide the functions described above.
  • the acquiring unit 901 may be a touch screen display, a microphone, or one or more of a control circuit or a processor; the sending unit 902 and the receiving unit 903 may be communication circuits; the retrieval unit 904 and the display unit 905 may be The display unit 905 can also be a touch display screen, which can be one or more of a control circuit or a processor, and the functions or steps of any of the above methods can be implemented based on the above unit modules.
  • FIG. 10 is a block diagram of functional units of the information retrieval apparatus 1000 involved in the embodiment of the present application.
  • the information retrieval apparatus 1000 is applied to a cloud server, the apparatus 1000 includes: applied to a cloud server, the apparatus includes: a receiving unit 1001, an obtaining unit 1002 and a sending unit 1003, wherein,
  • the receiving unit 1001 is configured to receive a retrieval request sent by a first electronic device, where the retrieval request is used to retrieve at least one second electronic device;
  • the obtaining unit 1002 is configured to obtain a device list of the at least one second electronic device, and obtain relevant information of the at least one second electronic device according to the device list;
  • the sending unit 1003 is configured to send the relevant information of the at least one second electronic device to the first electronic device, so that the first electronic device can pair with the relevant information of the at least one second electronic device.
  • Each electronic device in the at least one second electronic device accesses and receives a retrieval result fed back by the at least one second electronic device, and displays the retrieval result fed back by the at least one second electronic device.
  • the apparatus is specifically configured to:
  • the relevant information of the at least one second electronic device confirms that the second electronic device i is not allowed to be directly accessed, receiving the device information of the second electronic device i that needs to be connected reported by the first electronic device;
  • the second electronic device i is any second electronic device among the at least one second electronic device.
  • the receiving unit 1001 and the sending unit 1003 may be a communication circuit; the obtaining unit 1002 may be one or more of a control circuit or a processor, and the functions or steps of any of the above methods can be implemented based on the above unit modules.
  • This embodiment also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the embodiments of the present application, so as to realize any of the methods described above.
  • This embodiment also provides a computer program product, which when the computer program product runs on the computer, causes the computer to execute the above-mentioned relevant steps to implement any of the methods in the above-mentioned embodiments.
  • the embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, and when the apparatus is running, The processor can execute the computer-executed instructions stored in the memory, so that the chip executes any one of the foregoing method embodiments.
  • the electronic device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, for the beneficial effects that can be achieved, reference can be made to the corresponding provided above. The beneficial effects in the method will not be repeated here.
  • the disclosed apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium.
  • a readable storage medium including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Abstract

一种信息检索方法、装置、系统及存储介质,应用于第一电子设备,该方法包括:获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索(301);将所述检索请求发送给云服务器,由所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息(302);接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息(303);依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果(304);将所述至少一个第二电子设备反馈的检索结果进行展示。采用该方法能够实现对多个设备进行检索(305)。

Description

信息检索方法、装置、系统及存储介质 技术领域
本申请涉及信息处理技术领域,尤其涉及一种信息检索方法、装置、系统及存储介质。
背景技术
随着电子产品(如手机、平板电脑等等)的大量普及应用,电子产品能够支持的应用越来越多,功能越来越强大,电子产品向着多样化、个性化的方向发展,电子产品对用户的重要性可想而知,显然电子产品已成为用户生活中不可缺少的电子用品。
生活中,用户可能同时拥有多个设备。设备可能有多种形态,如手机、电脑、平板、电视、路由器等,有些设备上有数据有些则没有,有些设备有显示和输入设备有些则没有;不同于云端搜索,服务器都处于同一个网络下,多个设备有可能处于复杂的网络环境,彼此之间不能直接连接,该种情况下如何对多个设备进行搜索的问题亟待解决。
发明内容
本申请实施例提供一种信息检索方法、装置、系统及存储介质,能够实现对多个设备进行搜索,提升了搜索智能性。
第一方面,本申请实施例提供一种信息检索方法,应用于电子设备,所述方法包括:
获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
将所述检索请求发送给云服务器,通过所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息;
依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果;
将所述至少一个第二电子设备反馈的检索结果进行展示。
第二方面,本申请实施例提供一种信息检索装置,应用于云服务器,所述方法包括:
接收由第一电子设备发送的检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
将所述至少一个第二电子设备的相关信息发送给所述第一电子设备,以使所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果,以及将所述至少一个第二电子设备反馈的检索结果进行展示。
第三方面,本申请实施例提供一种信息检索装置,应用于第一电子设备,所述装置包括:获取单元、发送单元、接收单元、检索单元和展示单元,其中,
所述获取单元,用于获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
所述发送单元,用于将所述检索请求发送给云服务器,通过所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
所述接收单元,用于接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息;
所述检索单元,用于依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果;
所述展示单元,用于将所述至少一个第二电子设备反馈的检索结果进行展示。
第四方面,本申请实施例提供一种信息检索装置,应用于云服务器,所述装置包括:接收单元、获取单元和发送单元,其中,
所述接收单元,用于接收由第一电子设备发送的检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
所述获取单元,用于获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
所述发送单元,用于将所述至少一个第二电子设备的相关信息发送给所述第一电子设备,以使所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果,以及将所述至少一个第二电子设备反馈的检索结果进行展示。
第五方面,本申请实施例提供一种信息检索系统,所述信息检索系统包括第一电子设备、云服务器以及至少一个第二电子设备,所述方法包括:
所述第一电子设备获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
所述第一电子设备将所述检索请求发送给云服务器;
所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
所述第一电子设备接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息;
所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果;
所述第一电子设备将所述至少一个第二电子设备反馈的检索结果进行展示。
第六方面,本申请实施例提供一种电子设备,所述电子设备包括处理器、存储器,所述存储器用于存储一个或多个程序,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求第一方面任一项所述的方法中的步骤的指令。
第七方面,本申请实施例提供一种云服务器,所述云服务器包括处理器、存储器,所述存储器用于存储一个或多个程序,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求第一方面任一项所述的方法中的步骤的指令。
第八方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。
第九方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第二方面中所描述的部分或全部步骤。
第十方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
第十一方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种电子设备的结构示意图;
图2是本申请实施例提供的一种电子设备的软件结构示意图;
图3A是本申请实施例提供的一种信息检索方法的流程示意图;
图3B是本申请实施例提供的一种信息检索系统的结构示意图;
图3C是本申请实施例提供的另一种信息检索系统的结构示意图;
图3D是本申请实施例提供的检索结果展示的演示示意图;
图4是本申请实施例提供的另一种信息检索系统的结构示意图;
图5A是本申请实施例提供的另一种信息检索方法的流程示意图;
图5B是本申请实施例提供的一种信息检索系统的结构示意图;
图6是本申请实施例提供的一种第一电子设备的结构示意图;
图7是本申请实施例提供的一种云服务器的结构示意图;
图8是本申请实施例提供的另一种信息检索方法的流程示意图;
图9是本申请实施例提供的一种信息检索装置的功能单元组成框图;
图10是本申请实施例提供的另一种信息检索装置的功能单元组成框图。
具体实施方式
下面将结合附图,对本申请实施例中的技术方案进行描述。
为了更好地理解本申请实施例的方案,下面先对本申请实施例可能涉及的相关术语和概念进行介绍。
电子设备可以通信功能的设备,例如,智能手机、车载设备(导航仪、行车记录仪、雷达测距仪、ETC支付装载等等)、可穿戴设备、智能手表、对讲机、智能眼镜、无线蓝牙耳机、计算设备、路由器或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),虚拟现实/增强现实设备,终端设备(terminal device)等等。无论第一电子设备、第二电子设备均可以称之为电子设备。
电子设备还可以包括智能家居设备,智能家居设备可以为以下至少一种:智能音箱、智能摄像头、智能电饭煲、智能轮椅、智能按摩椅、智能家具、智能洗碗机、智能电视机、智能冰箱、智能电风扇、智能取暖器、智能晾衣架、智能灯、智能路由器、智能交换机、智能开关面板、智能加湿器、智能空调、智能门、智能窗、智能灶台、智能消毒柜、智能马桶、扫地机器人等等,在此不做限定。
第一部分,本申请所公开的技术方案的软硬件运行环境介绍如下。
如图所示,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110、外部存储器接口120、内部存储器121、通用串行总线(universal serial bus,USB)接口130、充电管理模块140、电源管理模块141、电池142、天线1、天线2、移动通信模块150、无线通信模块160、音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、传感器模块180、指南针190、马达191、指示器192、摄像头193、显示屏194以及用户标识模块(subscriber identification module,SIM)卡接口195等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器AP,调制解调处理器,图形处理器GPU,图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器NPU等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备101也可以包括一个或多个处理器110。其中,控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。在其他一些实施例中,处理器110中还可以设置存储器,用于存储指令和数据。示例性地,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从存储器中直接调用。这样就避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备101处理数据或执行指令的 效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路间(inter-integrated circuit,I2C)接口、集成电路间音频(inter-integrated circuit sound,I2S)接口、脉冲编码调制(pulse code modulation,PCM)接口、通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口、移动产业处理器接口(mobile industry processor interface,MIPI)、用输入输出(general-purpose input/output,GPIO)接口、SIM卡接口和/或USB接口等。其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口、Micro USB接口、USB Type C接口等。USB接口130可以用于连接充电器为电子设备101充电,也可以用于电子设备101与外围设备之间传输数据。该USB接口130也可以用于连接耳机,通过耳机播放音频。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110、内部存储器121、外部存储器、显示屏194、摄像头193和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量、电池循环次数、电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1、天线2、移动通信模块150、无线通信模块160、调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G/6G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络)、蓝牙(blue tooth,BT),全球导航卫星系统(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)、UWB模块等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像、视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid  crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED)、柔性发光二极管(flex light-emitting diode,FLED)、迷你发光二极管(mini light-emitting diode,miniled)、MicroLed、Micro-oLed、量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或多个显示屏194。
电子设备100可以通过ISP、摄像头193、视频编解码器、GPU、显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点、亮度、肤色进行算法优化。ISP还可以对拍摄场景的曝光、色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或多个摄像头193。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1、MPEG2、MPEG3、MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别、人脸识别、语音识别、文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备101执行本申请一些实施例中所提供的显示页面元素的方法,以及各种应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用(比如图库、联系人等)等。存储数据区可存储电子设备101使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储部件,闪存部件,通用闪存存储器(universal flash storage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器121的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备101执行本申请实施例中所提供的显示页面元素的方法,以及其他应用及数据处理。电子设备100可以通过音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、以及应用处理器等实现音频功能。例如音乐播放、录音等。
传感器模块180可以包括压力传感器180A、陀螺仪传感器180B、气压传感器180C、磁传感器180D、加速度传感器180E、距离传感器180F、接近光传感器180G、指纹传感器180H、温度传感器180J、触摸传感器180K、环境光传感器180L、骨传导传感器180M等。
其中,压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有 力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即X、Y和Z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
示例性的,图2示出了电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。
如图2所示,应用程序层可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。 显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
第二部分,本申请实施例所公开的信息检索方法及装置介绍如下。
本申请提供了请参阅图3A,图3A是本申请实施例提供的一种信息检索方法的流程示意图,应用于第一电子设备,如图所示,本信息检索方法包括:
301、获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索。
其中,本申请实施例中,检索请求中可以包括检索词,也可以不包括检索词,检索的方式可以包括典型的有关键字,也包含没有关键字的对于给定资源的列表,如图片列表、视频列表、文件列表等,包含了对这些列表信息的各种筛选和排序方法。。检索词可以由用户自行输入,或者,系统推送。检索词可以为以下至少一种:汉字、英文句子、字符串、德语句子、法语句子、方言句子、日文句子、韩文句子、图像、视频、文档等等,在此不作限定。具体实现中,第一电子设备可以输入检索词,依据检索词生成检索请求,通过触控显示屏输入检索词,进而依据检索词生成检索请求。在输入的检索词不为文本内容时,则可以将检索词转化为文本内容,再进行后续检索。至少一个第二电子设备可以属于同一个集合或者同一个群,进而,还可以对管理的设备进行扩展,可以管理更多类型的设备,以及更多数量的用户名下设备。
另外,第一电子设备可以与至少一个第二电子设备中的任一第二电子设备是直接连接、间接连接或者非连接的,在此不做限定。至少一个第二电子设备的数量可以为1个、2个、3个,或者,更多,在此不作限定。第一电子设备可以将至少一个第二电子设备的相关信息作为一个设备列表保存在云服务器中,相关信息可以为以下至少一种:设备标识信息、设备用户记录信息、设备的,其中,设备标识信息可以为以下至少一种:MAC地址、IP地址、SIM卡号、ICCID卡号、设备名称、上网许可号等等,在此不作限定。设备使用记录信息可以为以下至少一种:浏览记录、用户习惯数据、用户行为习惯数据、工作日志数据等等,在此不作限定。用户习惯数据可以为以下至少一种:操作习惯数据、浏览习惯数据等等,在此不作限定。
本申请实施例,不仅可以搜索单个用户名下的所有设备,还可以通过一定的授权,也可以进行跨用户的设备间统一检索。通过用户间授权,一个用户可以搜索授权给他的属于其他用户的设备中的内容。
在一个可能地示例中,上述步骤,输入检索词,可以包括如下步骤:
A1、获取目标语音片段;
A2、对所述目标语音片段进行解析,得到所述检索词。
其中,第一电子设备可以采集用户输入的目标语音片段,并对目标语音片段转化为文本,对文本进行语义识别,得到检索词。
在一个可能地示例中,上述步骤,输入检索词,可以包括如下步骤:
B1、获取输入内容;
B2、在输入内容不为文本内容时,将所述输入内容转化为目标文本内容;
B3、对所述目标文本内容进行关键字提取,得到所述检索词。
其中,具体实现中,第一电子设备可以通过输入电路获取输入内容,输入电路可以为以下至少一种:麦克风、触控显示屏、触控笔、鼠标、键盘等等,在此不作限定。
具体实现中,第一电子设备可以获取输入内容,在输入内容不为文本内容时,可以通过字符识别、语音识别、图像识别等方式将输入内容转化为目标文本内容,对目标文本内容进行关键字提取,得到检索词,如此,可以便于后续检索。
302、将所述检索请求发送给云服务器,通过所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息。
其中,本申请实施例中,第一电子设备可以将检索请求发送给云服务器,云服务器在接收到检索请求之后,云服务器可以获取至少一个第二电子设备的设备列表,以及根据设备列表获取至少一个第二电子设备的相关信息,并将这些相关信息反馈给第一电子设备。
303、接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息。
其中,具体实现中,云服务器可以依次将至少一个第二电子设备发送给第一电子设备,或者,云服务器也可以对至少一个第二电子设备进行打包,再将打包后的数据包发送给第一电子设备,第一电子设备可以接收由云服务器反馈的至少一个第二电子设备中的每一第二电子设备的相关信息。
304、依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果。
具体实现中,第一电子设备可以依据至少一个第二电子设备的相关信息对至少一个第二电子设备中的每一电子设备进行访问,并接收至少一个第二电子设备反馈的检索结果,每一第二电子设备可以对应一个检索结果。
可选地,上述步骤304,依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,可以按照如下方式实施:
在所述至少一个第二电子设备的相关信息确认第二电子设备i允许被直接访问时,直接访问所述第二电子设备i;
或者,
在所述至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,向所述云服务器上报需要被连接的所述第二电子设备i的设备信息,由所述云服务器建立所述第一电子设备与所述第二电子设备i之间的网络隧道,通过所述网络隧道实现访问所述第二电子设备i;
其中,所述第二电子设备i为所述至少一个第二电子设备中的任一第二电子设备。
本申请实施例中,以第二电子设备i为例,该第二电子设备i为至少一个第二电子设备中的任一第二电子设备,在至少一个第二电子设备的相关信息确认第二电子设备i允许被直接访问时,第一电子设备则可以直接访问第二电子设备i,进而,直接得到该第二电子设备i反馈的检索结果。反之,在至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,向云服务器上报需要被连接的第二电子设备i的设备信息,由云服务器建立第一电子设备与第二电子设备i之间的网络隧道,通过网络隧 道实现访问所述第二电子设备i,具体地,如果第一电子设备不能直接访问第二电子设备i,则第一电子设备可以向云服务器的设备管理系统的网络穿越模块上报想要连接的设备的设备信息,网络穿越模块建立起云端和第二电子设备i上的网络隧道,并提供一个公网IP和端口能让连接互联网的设备直接访问,并将这些信息返回给第一电子设备。具体实现中,也可以变更为使用云端作为整个搜索过程中转站,以实现对未直接连接的设备进行访问。
305、将所述至少一个第二电子设备反馈的检索结果进行展示。
具体实现中,电子设备可以将至少一个第二电子设备反馈的检索结果以随机随性或者排序后进行展示,例如,用户可以在任意设备上搜索他名下所有设备的上应用和数据,以及应用内数据以及这些数据将按照相关度统一排序。
另外,用户的数据都保留在原先设备上,也可以不在各个设备间同步,也可不和云端同步,在搜索时只将引用数据在设备间传输,不包含原始数据,由此保证了用户的隐私安全。
具体实现中,管理的用户的设备的类型可以多样化,如电脑、手机、Pad、电视、手表、路由器等,按照设备本身的特点,数据提供方、检索装置方可以同时或者其中之一存在于设备中,进而,本申请实施例,能够保证不同网络条件下的互不相通的用户的设备的检索有效性,来满足现实条件下设备的常有网络状态。
当然,本申请实施例中的检索装置可以运行在任意设备上,进一步可以运行在web端,借此实现不同设备和系统的兼容,通过本申请实施例,不仅能够搜索设备上的数据,也能搜索设备上应用内的数据。通过开放数据索引模块,可以将系统应用,以及第三方应用中的内容加入搜索范围。为了过滤海量第三方应用信息,第三方应用中的内容只有和用户强相关,如浏览过、多数人近期访问过等,可以出现在搜索结果中。
具体实现中,可以通过多个设备异步检索、UI异步展示的方式实现了搜索结果的显示即时性和完整性,进而,可以实现不同设备数据区分的展现方式,以及通过不同的颜色来确定不同的设备的结果。
具体实现中,应用内数据和用户的强相关性的定义可以扩展,可以采用集体用户行为数据为主,开发者定义为辅的做法,进一步地,可以根据单个用户的浏览记录、使用偏好、以及当前场景来定义与之强相关的内容。
可选地,上述步骤305,将所述至少一个第二电子设备反馈的检索结果进行展示,可以包括如下步骤:
51、确定所述至少一个第二电子设备反馈的检索结果的优先级顺序;
52、依据所述优先级顺序展示所述至少一个第二电子设备反馈的检索结果。
其中,第一电子设备可以获取至少一个第二电子设备的设备使用信息、用户习惯数据或者检索结果与检索请求的相关度确定优先级顺序,相关度可以由检索算法将检索词与检索结果比对得到,例如,设备经常使用,则其优先级高,又或者,相关度高,则优先级高等等,在此不作限定。进而,第一电子设备可以依据优先级顺序展示至少一个第二电子设备反馈的检索结果,如此,可以依据用户习惯,或者,设备使用频率,或者,检索相关度实现智能展示检索结果。
进一步地,可选地,上述步骤51,确定所述至少一个第二电子设备反馈的检索结果的优先级顺序,可以包括如下步骤:
511、获取所述至少一个第二电子设备中的每一第二电子设备的用户习惯数据以及相应的检索结果的相关度,得到至少一个用户习惯数据以及相应的相关度;
512、依据所述至少一个用户习惯数据中的每一用户习惯数据确定相应的调节系数,得到至少一个调节系数;
513、依据所述至少一个调节系数对相应的相关度进行调节,得到至少一个参考相关度;
514、依据所述至少一个参考相关度确定所述至少一个第二电子设备反馈的检索结果的优先级顺序。
其中,电子设备可以获取至少一个第二电子设备中的每一第二电子设备的用户习惯数据以及相应的检索结果的相关度,得到至少一个用户习惯数据以及相应的相关度,进而,可以依据至少一个用户习惯 数据中的每一用户习惯数据确定相应的调节系数,得到至少一个调节系数,例如,可以依据用户习惯数据确定用户的活跃度,用户习惯数据可以为一天内使用某个应用的时长,又例如,一天内用户按压指纹识别模组的次数等等,在此不作限定,其中调节系数的取值范围可以为-1~1或者,0~1,或者,-0.15~0.15等等,在此不作限定,具体地,第一电子设备可以将用户习惯数据进行量化,得到量化值,按照预设的量化值与调节系数之间的映射关系,确定用户习惯数据量化后的量化值对应的调节系数。。进而,第一电子设备可以依据至少一个调节系数对相应的相关度进行调节,得到至少一个参考相关度,具体可以按照如下方式实施:
参考相关度j=(1+调节系数j)*相关度j
其中,相关度j为用户习惯数据j对应的相关度,调节系数j为用户习惯数据j对应的调节系数,参考相关度j为用户习惯数据j对应的参考相关度。
进而,第一电子设备可以依据至少一个参考相关度确定至少一个第二电子设备反馈的检索结果的优先级顺序,如参考相关度值越大,则优先级越高,反之,则优先级越低。
进一步地,可选地,上述步骤512,依据所述至少一个用户习惯数据中的每一用户习惯数据确定相应的调节系数,得到至少一个调节系数,可以包括如下步骤:
5121、对所述用户习惯数据j进行特征提取,得到特征集,所述用户习惯数据j为所述至少一个用户习惯数据中的任一用户习惯数据;
5122、将所述特征集输入到预设神经网络模型,得到目标运算结果;
5123、按照预设的运算结果与调节系数之间的映射关系,确定所述目标运算结果对应的调节系数。
其中,具体实现中,预设神经网络模型可以为以下至少一种:全连接神经网络模型、卷积神经网络模型、循环神经网络模型、脉冲神经网络模型等等,在此不作限定。预设神经网络模型可以用于实现确定用户对设备的依赖程度。第一电子设备可以预先对神经网络模型进行训练,输入不同的用户习惯数据对应的特征集作为样本以及相应的标签作为样本标签,标签可以为具体值。
具体实现中,第一电子设备可以对用户习惯数据j进行特征提取,得到特征集,用户习惯数据j为至少一个用户习惯数据中的任一用户习惯数据,将特征集输入到预设神经网络模型,得到目标运算结果,进而,按照预设的运算结果与调节系数之间的映射关系,确定目标运算结果对应的调节系数,如此,可以通过神经网络模型模拟用户习惯,确定用户对设备的依赖程度。
举例说明下,如图3B所示,信息检索系统可以包括终端设备(第一电子设备或者第二电子设备)、设备管理系统、信息服务系统。其中,设备管理系统、信息服务系统均可以设置于云服务器,通过该3个角色的配合来实现多设备的统一信息检索。
具体实现中,对于终端设备可以有数据提供、数据检索两个子系统,这两个子系统是互相独立的,可参看图3B中设备A、B、C的模块部署。其中,设备A拥有数据提供和数据检索两个子系统,设备B只有数据检索子系统,设备C只有数据提供子系统,这样的部署方式是可以根据设备的实际情况来的,如设备A可以使那些既存储数据,又有显示输入能力的设备,如PC、手机、Pad等,设备B可以不属于用户,在第三方设备上或者智能眼镜那样本身没有存储能力的设备,设备C可以是只有存储能力的设备,如路由器、CPE等,有数据存储能力而没有显示能力。信息检索的范围是设备上的数据,如图3C所述,终端设备可以通过索引模块从本地获取检索结果,例如,可以包括但不限于:本地图片、本地视频、本地文档、系统应用、第三方应用等通用数据,还可以是设备上的应用,更近一步应用内的数据,应用可以包括系统应用和第三方应用。信息服务器系统则可以存储各个设备的设备列表,还可以通过用户行为日志记录用户行为等等。
进一步地,分布式搜索主要流程如下:
1、预先流程,用户名下的各个设备端将自己的搜索服务注册到云端的服务治理模块。这个过程不发生在搜索触发时,而发生在终端搜索系统安装和卸载时。
2、用户登录后发起搜索请求,通过设备上的UI模块发起搜索,UI模块收集用户的搜索查询请求,向分布式查询模块提交请求。
3、分布式查询模块向多个设备和云端请求中间搜索结果,具体包括如下步骤A-F:
A、分布式查询模块通过用户信息,到云端的服务治理模块查询用户名下拥有搜索服务的所有设备。
B、根据服务治理模块得到的设备列表,到设备管理模块查询这些设备的相关信息,并将这些设备的相关信息返回给分布式查询模块。
C、当前设备访问用户设备上的搜索接口,如果当前设备可以直接访问用户设备,则直接得到这台用户设备上的搜索结果。
D、如果当前设备不能直接访问用户设备,则当前设备向设备管理系统的网络穿越模块上报想要连接的设备的设备信息,网络穿越模块建立起云端和用户设备上的网络隧道,并提供一个公网IP和端口能让连接互联网的设备直接访问,并将这些信息返回给用户搜索的当前设备。当前设备再次以得到的公网IP和端口访问用户设备上的搜索服务。
E、当前设备会依次访问所有的用户设备,重复执行步骤3,4,直到所有的用户设备都被访问到;
F、访问云端的应用搜索系统,返回和当前用户没有浏览过的应用数据,如热门应用数据。
其中,步骤E、F访问可以异步执行的,返回的结果按照实际时间送入搜索结果合并模块,进而,搜索结果合并模块合并各个设备上的中间搜索结果并提交给UI,用户设备将搜索结果输入搜索结果合并模块,这些结果中包含了表明属于哪一次搜索行为的搜索ID,以及多条结果的集合。每条结果包含了唯一结果ID以及参与排序的一些字段,以及一些展示字段。因为整个搜索过程是异步的,下一次搜索结果有可能比当前搜索结果更早到达当前设备,因此,具体实现中,有必要增加搜索ID来确定搜索结果来自于用户的哪次搜索。进而,可以根据一系列算法,结合用户的行为习惯、设备的使用情况、内容的相关程度等,对所有设备上的搜索结果进行综合排序,并按照数据类型做好聚合,例如,可以把图片信息、视频信息、文档信息、应用信息等分类。一次用户设备搜索结果的提交,将触发一次合并流程,并异步的将合并好的结果提交给UI,UI模块接收来自搜索结果合并模块的数据,按照数据分类的形式展现出来,如图3D,在检索4个设备时,可以将4个设备的检索结果进行展示。
当然,也可以搜索结果按照数据类别进行了分类,每个搜索结果指定了来自于哪台设备。例如,通过预置颜色的方式,给每个搜索结果打上颜色标签,来确定搜索结果来自于哪个设备。这种方式既能让用户知晓结果来源的设备,也不需要在每个结果上加上文字说明来表示这些信息。UI模块上执行一次搜索操作,有可能会有多次结果刷新过程,每当一个设备的数据准备好时,搜索结果合并模块就会重新合并一次结果并提交给UI模块,UI模块就会重新绘制搜索结果展示页面,整个过程是异步的,自动触发的。
进一步地,针对设备上的应用内数据搜索应用内数据搜索的目标是允许用户不仅仅能搜索设备上的数据,也能搜索设备上安装的应用的数据,这些数据可能是用户在这个应用上浏览过的数据,也可能是这个应用当前比较热门的数据。相比于通用搜索引擎,统一检索装置更关心和用户关联度高的应用内搜索。
另外,应用内数据搜索主要流程如下:在终端设备上,提供SDK给应用开发者,允许开发者开发的应用将用户浏览过页面传入终端上的索引模块,也允许开发者开发的应用将用户部分浏览页面传入云端的索引模块,页面是否传入云端由开发者决定,根据页面信息的隐私、安全等隐私考虑。在云端,则在用户浏览应用时,一部分浏览页面将进入云端索引。同时,云端会利用网络爬虫、合作接口等方式主动获取应用内的信息,并将这些数据导入云端索引模块。在用户搜索时,将按照分布式搜索的主流程,访问用户的各个设备和云端,搜索结果一部分和当前用户紧密相关,返回用户浏览过的相关应用的相关页面;另一部分则是强相关内容,如果不是强相关内容,即使和用户搜索关键字有相关度,也不会出现在搜索结果中,这样做的目标是让应用内搜索和用户强相关,用来区别通用搜索引擎。强相关内容的确定是由两种方式决定的。第一,是由应用开发者决定的,开发者可以预置一些页面作为应用的强相关内容,数量上会受到限制。第二,由于云端的存在,我们可以获取不同用户的浏览记录。在同一个应用中,那些被更多用户在设备端访问过内容将被认为强相关内容。其中第二种方式的内容将更具时效性,会随着用户的行为动态调整。举例说明下,如图3C所示,信息服务器系统中的决策模块,可以用来决策用 户和应用内内容的相关度,不符合用户相关度的内容将被直接舍去。
在一个可能的示例中,步骤301,获取检索请求之前,还可以包括如下步骤:
C1、获取用户的目标身份信息;
C2、对所述目标身份信息进行验证;
C3、在所述目标身份信息被验证通过时,执行所述获取检索请求的步骤。
其中,本申请实施例中,目标身份信息可以为以下至少一种:字符串、触控参数、人脸图像、指纹图像、掌纹图像、静脉图像、脑电波、声纹等等,在此不做限定。
具体实现中,电子设备可以获取用户的目标身份信息,可以对该目标身份信息进行验证,在目标身份信息被验证通过时,执行步骤301,否则,不执行后续步骤。
进一步地,在所述目标身份信息为目标人脸图像时,在步骤C2-步骤C3之间,还可以包括如下步骤:
C4、确定所述目标人脸图像的目标图像质量评价值;
C5、在所述目标图像质量评价值大于预设图像质量评价值时,将所述目标人脸图像与预设人脸模板进行匹配,得到目标匹配值;
C6、在所述目标匹配值大于预设匹配阈值时,确认所述目标身份信息被验证通过。
其中,预设人脸模板可以预先保存在电子设备中,预设图像质量评价值、预设匹配阈值可以由用户自行设置或者系统默认。具体实现中,电子设备可以采用至少一个图像质量评价指标对目标人脸图像进行图像质量评价,得到目标图像质量评价值,图像质量评价指标可以为以下至少一种:信息熵、平均梯度、平均灰度、对比度等等,在此不做限定。在目标图像质量评价值大于预设图像质量评价值时,可以执行将目标人脸图像与预设人脸模板进行匹配,得到目标匹配值,否则,则可以要求重新进行身份认证。
进一步地,上述步骤C4,确定所述目标人脸图像的目标图像质量评价值,可以包括如下步骤:
C41、确定所述目标人脸图像的目标特征点分布密度和目标信噪比;
C42、按照预设的特征点分布密度与图像质量评价值之间的映射关系,确定所述目标特征点分布密度对应的第一图像质量评价值;
C43、按照预设的信噪比与图像质量偏差值之间的映射关系,确定所述目标信噪比对应的目标图像质量偏差值;
C44、获取所述目标人脸图像的第一拍摄参数;
C45、按照预设的拍摄参数与优化系数之间的映射关系,确定所述第一拍摄参数对应的目标优化系数;
C46、依据所述目标优化系数、所述目标图像质量偏差值对所述第一图像质量评价值进行调整,得到所述目标图像质量评价值。
具体实现中,电子设备中的存储器可以预先存储预设的特征点分布密度与图像质量评价值之间的映射关系、预设的信噪比与图像质量偏差值之间的映射关系、以及预设的拍摄参数与优化系数之间的映射关系,其中,图像质量评价值的取值范围可以为0~1,或者,也可以为0~100。图像质量偏差值可以为正实数,例如,0~1,或者,也可以大于1。优化系数的取值范围可以为-1~1之间,例如,优化系数可以为-0.1~0.1。本申请实施例中,拍摄参数可以为以下至少一种:曝光时长、拍摄模式、感光度ISO、白平衡参数、焦距、焦点、感兴趣区域等等,在此不做限定。
具体实现中,电子设备可以确定目标人脸图像的目标特征点分布密度和目标信噪比,且按照预设的特征点分布密度与图像质量评价值之间的映射关系,确定目标特征点分布密度对应的第一图像质量评价值,特征点分布密度在一定程度上反映了图像质量,特征点分布密度可以理解为目标人脸图像的特征点总数与该目标人脸图像的图像面积之间的比值。进而,电子设备可以按照预设的信噪比与图像质量偏差值之间的映射关系,确定目标信噪比对应的目标图像质量偏差值,由于在生成图像的时候,由于外部(天气、光线、角度、抖动等)或者内部(系统、GPU)原因,产生一些噪声,这些噪声对图像质量会带来一些影响,因此,可以对图像质量进行一定程度调节,以保证对图像质量进行客观评价。
进一步地,电子设备还可以获取目标人脸图像的第一拍摄参数,该第一拍摄参数也可以被携带在通信连接请求中,进而,按照预设的拍摄参数与优化系数之间的映射关系,确定第一拍摄参数对应的目标优化系数,拍摄的参数设置也可能对图像质量评价带来一定的影响,因此,需要确定拍摄参数对图像质量的影响成分,最后,依据目标优化系数、目标图像质量偏差值对第一图像质量评价值进行调整,得到目标图像质量评价值,其中,目标图像质量评价值可以按照如下公式得到:
在图像质量评价值为百分制的情况下,具体计算公式如下:
目标图像质量评价值=(第一图像质量评价值+目标图像质量偏差值)*(1+目标优化系数)
在图像质量评价值为百分比的情况下,具体计算公式如下:
目标图像质量评价值=第一图像质量评价值*(1+目标图像质量偏差值)*(1+目标优化系数)
如此,可以结合内部、外部环境因素以及拍摄设置因素等影响,对图像质量进行客观评价,有助于提升图像质量评价精准度。
可以看出,在本申请实施例中所描述的信息检索方法,应用于第一电子设备,获取检索请求,检索请求用于对至少一个第二电子设备进行检索,将检索请求发送给云服务器,由云服务器获取至少一个第二电子设备的设备列表,以及根据设备列表获取至少一个第二电子设备的相关信息,接收由云服务器反馈的至少一个第二电子设备的相关信息,依据至少一个第二电子设备的相关信息对至少一个第二电子设备中的每一电子设备进行访问,并接收至少一个第二电子设备反馈的检索结果,将至少一个第二电子设备反馈的检索结果进行展示,如此,通过从云服务器获取需要检索设备的相关信息,基于该相关信息对需要被检索的设备进行检索,进而,能够实现对多个设备进行搜索,提升了搜索智能性。
本申请提供了请参阅图4,图4是本申请实施例提供的一种信息检索方法的流程示意图,应用于第一电子设备;如图所示,本信息检索方法包括:
401、获取输入内容。
402、在输入内容不为文本内容时,将所述输入内容转化为目标文本内容。
403、对所述目标文本内容进行关键字提取,得到检索词。
404、依据所述检索词生成检索请求,所述检索请求用于对至少一个第二电子设备进行检索。
405、将所述检索请求发送给云服务器,通过所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息。
406、接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息。
407、依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的针对所述检索词的检索结果。
408、将所述至少一个第二电子设备反馈的针对所述检索词检索结果进行展示。
其中,上述步骤401-步骤408的具体描述可以参照图3A所描述的信息检索方法的相应步骤,在此不再赘述。
可以看出,在本申请实施例中所描述的信息检索方法,能够通过输入内容提取检索词,基于该检索词生成检索请求,响应响应请求,通过从云服务器获取需要检索设备的相关信息,基于该相关信息对需要被检索的设备进行检索,进而,能够实现对多个设备进行搜索,提升了搜索智能性。
本申请提供了请参阅图5A,图5A是本申请实施例提供的一种信息检索方法的流程示意图,应用于云服务器;如图所示,本信息检索方法包括:
501、接收由第一电子设备发送的检索请求,所述检索请求用于对至少一个第二电子设备进行检索。
502、获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息。
503、将所述至少一个第二电子设备的相关信息发送给所述第一电子设备,以使所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问, 并接收所述至少一个第二电子设备反馈的检索结果,以及将所述至少一个第二电子设备反馈的检索结果进行展示。
其中,上述步骤501-步骤503的具体描述可以参照图3A所描述的信息检索方法的相应步骤,在此不再赘述。
可选地,上述步骤503,第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,可以包括如下步骤:
31、在所述至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,接收由所述第一电子设备上报的需要被连接的所述第二电子设备i的设备信息;
32、建立所述第一电子设备与所述第二电子设备i之间的网络隧道,由所述第一电子设备通过所述网络隧道实现访问所述第二电子设备i;其中,所述第二电子设备i为所述至少一个第二电子设备中的任一第二电子设备。
具体实现中,在至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,云服务器可以接收由第一电子设备上报的需要被连接的第二电子设备i的设备信息,由云服务器建立第一电子设备与第二电子设备i之间的网络隧道,通过网络隧道实现访问第二电子设备i,具体地,如果第一电子设备不能直接访问第二电子设备i,则第一电子设备可以向云服务器的设备管理系统的网络穿越模块上报想要连接的设备的设备信息,网络穿越模块建立起云端和第二电子设备i上的网络隧道,并提供一个公网IP和端口能让连接互联网的设备直接访问,并将这些信息返回给第一电子设备。具体实现中,也可以变更为使用云端作为整个搜索过程中转站,以实现对未直接连接的设备进行访问。举例说明下,如图5B所示,用户可以提交搜索请求到云端的分布式查询,分布式查询模请求设备管理模块返回用户所有的设备信息,分布式查询模块发送搜索请求到各个终端,以及云端信息服务器系统,搜索数据合并模块汇合所有的搜索信息,合并整理好返回给终端的UI模块。
与上述实施例一致地,请参阅图6,图6是本申请实施例提供的一种第一电子设备的结构示意图,如图所示,该第一电子设备包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,本申请实施例中,上述程序包括用于执行以下步骤的指令:
获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
将所述检索请求发送给云服务器,通过所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息;
依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果;
将所述至少一个第二电子设备反馈的检索结果进行展示。
可选地,在所述依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问方面,上述程序包括用于执行以下步骤的指令:
在所述至少一个第二电子设备的相关信息确认第二电子设备i允许被直接访问时,直接访问所述第二电子设备i;
或者,
在所述至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,向所述云服务器上报需要被连接的所述第二电子设备i的设备信息,由所述云服务器建立所述第一电子设备与所述第二电子设备i之间的网络隧道,通过所述网络隧道实现访问所述第二电子设备i;
其中,所述第二电子设备i为所述至少一个第二电子设备中的任一第二电子设备。
可选地,在所述将所述至少一个第二电子设备反馈的检索结果进行展示方面,上述程序包括用于执行以下步骤的指令:
确定所述至少一个第二电子设备反馈的检索结果的优先级顺序;
依据所述优先级顺序展示所述至少一个第二电子设备反馈的检索结果。
可选地,在所述确定所述至少一个第二电子设备反馈的检索结果的优先级顺序方面,上述程序包括用于执行以下步骤的指令:
获取所述至少一个第二电子设备中的每一第二电子设备的用户习惯数据以及相应的检索结果的相关度,得到至少一个用户习惯数据以及相应的相关度;
依据所述至少一个用户习惯数据中的每一用户习惯数据确定相应的调节系数,得到至少一个调节系数;
依据所述至少一个调节系数对相应的相关度进行调节,得到至少一个参考相关度;
依据所述至少一个参考相关度确定所述至少一个第二电子设备反馈的检索结果的优先级顺序。
可选地,在所述依据所述至少一个用户习惯数据中的每一用户习惯数据确定相应的调节系数,得到至少一个调节系数方面,上述程序包括用于执行以下步骤的指令:
对所述用户习惯数据j进行特征提取,得到特征集,所述用户习惯数据j为所述至少一个用户习惯数据中的任一用户习惯数据;
将所述特征集输入到预设神经网络模型,得到目标运算结果;
按照预设的运算结果与调节系数之间的映射关系,确定所述目标运算结果对应的调节系数。
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
与上述实施例一致地,请参阅图7,图7是本申请实施例提供的一种云服务器的结构示意图,如图所示,该云服务器包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,本申请实施例中,上述程序包括用于执行以下步骤的指令:
接收由第一电子设备发送的检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
将所述至少一个第二电子设备的相关信息发送给所述第一电子设备,以使所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果,以及将所述至少一个第二电子设备反馈的检索结果进行展示。
可选地,在所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问方面,上述程序包括用于执行以下步骤的指令:
在所述至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,接收由所述第一电子设备上报的需要被连接的所述第二电子设备i的设备信息;
建立所述第一电子设备与所述第二电子设备i之间的网络隧道,由所述第一电子设备通过所述网络隧道实现访问所述第二电子设备i;
其中,所述第二电子设备i为所述至少一个第二电子设备中的任一第二电子设备。
与上述实施例一致地,请参阅图8,图8是本申请实施例提供的一种信息检索系统的结构示意图,如图所示,该信息检索系统包括第一电子设备、云服务器以及至少一个第二电子设备,其中,该系统用于执行如下功能:
所述第一电子设备获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索。
所述第一电子设备将所述检索请求发送给云服务器。
所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息。
所述第一电子设备接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息。
所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果。
所述第一电子设备将所述至少一个第二电子设备反馈的检索结果进行展示。
其中,上述功能的具体描述可以参照图3A所描述的信息检索方法的相应步骤,在此不再赘述。
另外,上述信息检索系统还能够实现上述图3A所描述的信息检索方法的所涵盖的实施方式,在此不再赘述。
图9是本申请实施例中所涉及的信息检索装置900的功能单元组成框图。该信息检索装置900应用于第一电子设备,所述装置900包括:应用于第一电子设备,所述装置包括:获取单元901、发送单元902、接收单元903、检索单元904和展示单元905,其中,
所述获取单元901,用于获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
所述发送单元902,用于将所述检索请求发送给云服务器,通过所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
所述接收单元903,用于接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息;
所述检索单元904,用于依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果;
所述展示单元905,用于将所述至少一个第二电子设备反馈的检索结果进行展示。
可选地,在所述依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问方面,所述检索单元904具体用于:
在所述至少一个第二电子设备的相关信息确认第二电子设备i允许被直接访问时,直接访问所述第二电子设备i;
或者,
在所述至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,向所述云服务器上报需要被连接的所述第二电子设备i的设备信息,由所述云服务器建立所述第一电子设备与所述第二电子设备i之间的网络隧道,通过所述网络隧道实现访问所述第二电子设备i;
其中,所述第二电子设备i为所述至少一个第二电子设备中的任一第二电子设备。
可选地,在所述将所述至少一个第二电子设备反馈的检索结果进行展示方面,所述展示单元905具体用于:
确定所述至少一个第二电子设备反馈的检索结果的优先级顺序;
依据所述优先级顺序展示所述至少一个第二电子设备反馈的检索结果。
可选地,在所述确定所述至少一个第二电子设备反馈的检索结果的优先级顺序方面,所述展示单元905具体用于:
获取所述至少一个第二电子设备中的每一第二电子设备的用户习惯数据以及相应的检索结果的相关度,得到至少一个用户习惯数据以及相应的相关度;
依据所述至少一个用户习惯数据中的每一用户习惯数据确定相应的调节系数,得到至少一个调节系数;
依据所述至少一个调节系数对相应的相关度进行调节,得到至少一个参考相关度;
依据所述至少一个参考相关度确定所述至少一个第二电子设备反馈的检索结果的优先级顺序。
可选地,在所述依据所述至少一个用户习惯数据中的每一用户习惯数据确定相应的调节系数,得到至少一个调节系数方面,所述展示单元905具体用于:
对所述用户习惯数据j进行特征提取,得到特征集,所述用户习惯数据j为所述至少一个用户习惯数据中的任一用户习惯数据;
将所述特征集输入到预设神经网络模型,得到目标运算结果;
按照预设的运算结果与调节系数之间的映射关系,确定所述目标运算结果对应的调节系数。
需要注意的是,本申请实施例所描述的标签设备是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。
其中,获取单元901可以为触控显示屏、麦克风或者也可以是控制电路或处理器中的一个或者多个;发送单元902、接收单元903可以是通信电路;检索单元904和展示单元905均可以为可以是控制电路或处理器中的一个或者多个,展示单元905还可以为触控显示屏,基于上述单元模块能够实现上述任一方法的功能或者步骤。
图10是本申请实施例中所涉及的信息检索装置1000的功能单元组成框图。该信息检索装置1000应用于云服务器,所述装置1000包括:应用于云服务器,所述装置包括:接收单元1001、获取单元1002和发送单元1003,其中,
所述接收单元1001,用于接收由第一电子设备发送的检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
所述获取单元1002,用于获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
所述发送单元1003,用于将所述至少一个第二电子设备的相关信息发送给所述第一电子设备,以使所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果,以及将所述至少一个第二电子设备反馈的检索结果进行展示。
可选地,在所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问方面,所述装置具体用于:
在所述至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,接收由所述第一电子设备上报的需要被连接的所述第二电子设备i的设备信息;
建立所述第一电子设备与所述第二电子设备i之间的网络隧道,由所述第一电子设备通过所述网络隧道实现访问所述第二电子设备i;
其中,所述第二电子设备i为所述至少一个第二电子设备中的任一第二电子设备。
其中,接收单元1001、发送单元1003可以是通信电路;获取单元1002可以为可以是控制电路或处理器中的一个或者多个,基于上述单元模块能够实现上述任一方法的功能或者步骤。
本实施例还提供了一种计算机可读存储介质,其中,该计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例,以用于实现上述实施例中的任一方法。
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行 上述相关步骤,以实现上述实施例中的任一方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的任一方法。
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (20)

  1. 一种信息检索方法,其特征在于,应用于第一电子设备,所述方法包括:
    获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
    将所述检索请求发送给云服务器,通过所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
    接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息;
    依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果;
    将所述至少一个第二电子设备反馈的检索结果进行展示。
  2. 根据权利要求1所述的方法,其特征在于,所述依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,包括:
    在所述至少一个第二电子设备的相关信息确认第二电子设备i允许被直接访问时,直接访问所述第二电子设备i;
    或者,
    在所述至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,向所述云服务器上报需要被连接的所述第二电子设备i的设备信息,由所述云服务器建立所述第一电子设备与所述第二电子设备i之间的网络隧道,通过所述网络隧道实现访问所述第二电子设备i;
    其中,所述第二电子设备i为所述至少一个第二电子设备中的任一第二电子设备。
  3. 根据权利要求1或2所述的方法,其特征在于,所述将所述至少一个第二电子设备反馈的检索结果进行展示,包括:
    确定所述至少一个第二电子设备反馈的检索结果的优先级顺序;
    依据所述优先级顺序展示所述至少一个第二电子设备反馈的检索结果。
  4. 根据权利要求3所述的方法,其特征在于,所述确定所述至少一个第二电子设备反馈的检索结果的优先级顺序,包括:
    获取所述至少一个第二电子设备中的每一第二电子设备的用户习惯数据以及相应的检索结果的相关度,得到至少一个用户习惯数据以及相应的相关度;
    依据所述至少一个用户习惯数据中的每一用户习惯数据确定相应的调节系数,得到至少一个调节系数;
    依据所述至少一个调节系数对相应的相关度进行调节,得到至少一个参考相关度;
    依据所述至少一个参考相关度确定所述至少一个第二电子设备反馈的检索结果的优先级顺序。
  5. 根据权利要求4所述的方法,其特征在于,所述依据所述至少一个用户习惯数据中的每一用户习惯数据确定相应的调节系数,得到至少一个调节系数,包括:
    对所述用户习惯数据j进行特征提取,得到特征集,所述用户习惯数据j为所述至少一个用户习惯数据中的任一用户习惯数据;
    将所述特征集输入到预设神经网络模型,得到目标运算结果;
    按照预设的运算结果与调节系数之间的映射关系,确定所述目标运算结果对应的调节系数。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,在所述获取检索请求之前,所述方法还包括:
    获取用户的目标身份信息;
    对所述目标身份信息进行验证;
    在所述目标身份信息被验证通过时,执行所述获取检索请求的步骤。
  7. 一种信息检索方法,其特征在于,应用于云服务器,所述方法包括:
    接收由第一电子设备发送的检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
    获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设 备的相关信息;
    将所述至少一个第二电子设备的相关信息发送给所述第一电子设备,以使所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果,以及将所述至少一个第二电子设备反馈的检索结果进行展示。
  8. 根据权利要求7所述的方法,其特征在于,所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,包括:
    在所述至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,接收由所述第一电子设备上报的需要被连接的所述第二电子设备i的设备信息;
    建立所述第一电子设备与所述第二电子设备i之间的网络隧道,由所述第一电子设备通过所述网络隧道实现访问所述第二电子设备i;
    其中,所述第二电子设备i为所述至少一个第二电子设备中的任一第二电子设备。
  9. 一种第一电子设备,其特征在于,所述第一电子设备包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行以下方法中的步骤的指令:
    获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
    将所述检索请求发送给云服务器,通过所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
    接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息;
    依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果;
    将所述至少一个第二电子设备反馈的检索结果进行展示。
  10. 根据权利要求9所述的电子设备,其特征在于,在所述依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问方面,所述程序包括用于执行以下方法中的步骤的指令:
    在所述至少一个第二电子设备的相关信息确认第二电子设备i允许被直接访问时,直接访问所述第二电子设备i;
    或者,
    在所述至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,向所述云服务器上报需要被连接的所述第二电子设备i的设备信息,由所述云服务器建立所述第一电子设备与所述第二电子设备i之间的网络隧道,通过所述网络隧道实现访问所述第二电子设备i;
    其中,所述第二电子设备i为所述至少一个第二电子设备中的任一第二电子设备。
  11. 根据权利要求9或10所述的电子设备,其特征在于,在所述将所述至少一个第二电子设备反馈的检索结果进行展示方面,所述程序包括用于执行以下方法中的步骤的指令:
    确定所述至少一个第二电子设备反馈的检索结果的优先级顺序;
    依据所述优先级顺序展示所述至少一个第二电子设备反馈的检索结果。
  12. 根据权利要求11所述的电子设备,其特征在于,在所述确定所述至少一个第二电子设备反馈的检索结果的优先级顺序方面,所述程序包括用于执行以下方法中的步骤的指令:
    获取所述至少一个第二电子设备中的每一第二电子设备的用户习惯数据以及相应的检索结果的相关度,得到至少一个用户习惯数据以及相应的相关度;
    依据所述至少一个用户习惯数据中的每一用户习惯数据确定相应的调节系数,得到至少一个调节系数;
    依据所述至少一个调节系数对相应的相关度进行调节,得到至少一个参考相关度;
    依据所述至少一个参考相关度确定所述至少一个第二电子设备反馈的检索结果的优先级顺序。
  13. 根据权利要求12所述的电子设备,其特征在于,在所述依据所述至少一个用户习惯数据中的每一用户习惯数据确定相应的调节系数,得到至少一个调节系数方面,所述程序包括用于执行以下方法中的步骤的指令:
    对所述用户习惯数据j进行特征提取,得到特征集,所述用户习惯数据j为所述至少一个用户习惯数据中的任一用户习惯数据;
    将所述特征集输入到预设神经网络模型,得到目标运算结果;
    按照预设的运算结果与调节系数之间的映射关系,确定所述目标运算结果对应的调节系数。
  14. 一种云服务器,其特征在于,所述云服务器包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行以下方法中的步骤的指令:
    接收由第一电子设备发送的检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
    获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
    将所述至少一个第二电子设备的相关信息发送给所述第一电子设备,以使所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果,以及将所述至少一个第二电子设备反馈的检索结果进行展示。
  15. 根据权利要求14所述的云服务器,其特征在于,在所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问方面,所述程序包括用于执行以下方法中的步骤的指令:
    在所述至少一个第二电子设备的相关信息确认第二电子设备i不允许被直接访问时,接收由所述第一电子设备上报的需要被连接的所述第二电子设备i的设备信息;
    建立所述第一电子设备与所述第二电子设备i之间的网络隧道,由所述第一电子设备通过所述网络隧道实现访问所述第二电子设备i;
    其中,所述第二电子设备i为所述至少一个第二电子设备中的任一第二电子设备。
  16. 一种信息检索装置,其特征在于,应用于第一电子设备,所述装置包括:获取单元、发送单元、接收单元、检索单元和展示单元,其中,
    所述获取单元,用于获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
    所述发送单元,用于将所述检索请求发送给云服务器,通过所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
    所述接收单元,用于接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息;
    所述检索单元,用于依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果;
    所述展示单元,用于将所述至少一个第二电子设备反馈的检索结果进行展示。
  17. 一种信息检索装置,其特征在于,应用于云服务器,所述装置包括:接收单元、获取单元和发送单元,其中,
    所述接收单元,用于接收由第一电子设备发送的检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
    所述获取单元,用于获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
    所述发送单元,用于将所述至少一个第二电子设备的相关信息发送给所述第一电子设备,以使所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果,以及将所述至少一个第二电子设备反馈的检索结果进行展示。
  18. 一种信息检索系统,其特征在于,所述信息检索系统包括第一电子设备、云服务器以及至少一个第二电子设备,其中,
    所述第一电子设备获取检索请求,所述检索请求用于对至少一个第二电子设备进行检索;
    所述第一电子设备将所述检索请求发送给云服务器;
    所述云服务器获取所述至少一个第二电子设备的设备列表,以及根据所述设备列表获取所述至少一个第二电子设备的相关信息;
    所述第一电子设备接收由所述云服务器反馈的所述至少一个第二电子设备的相关信息;
    所述第一电子设备依据所述至少一个第二电子设备的相关信息对所述至少一个第二电子设备中的每一电子设备进行访问,并接收所述至少一个第二电子设备反馈的检索结果;
    所述第一电子设备将所述至少一个第二电子设备反馈的检索结果进行展示。
  19. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-8任一项所述的方法。
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-8任一项所述的方法。
PCT/CN2021/115825 2020-11-16 2021-08-31 信息检索方法、装置、系统及存储介质 WO2022100222A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011283949.9A CN112287234B (zh) 2020-11-16 2020-11-16 信息检索方法、装置及存储介质
CN202011283949.9 2020-11-16

Publications (1)

Publication Number Publication Date
WO2022100222A1 true WO2022100222A1 (zh) 2022-05-19

Family

ID=74398987

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/115825 WO2022100222A1 (zh) 2020-11-16 2021-08-31 信息检索方法、装置、系统及存储介质

Country Status (2)

Country Link
CN (1) CN112287234B (zh)
WO (1) WO2022100222A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115628758A (zh) * 2022-12-21 2023-01-20 四川图林科技有限责任公司 多物理场耦合条件下关键工艺参数的检测与修正方法

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112287234B (zh) * 2020-11-16 2023-05-30 Oppo广东移动通信有限公司 信息检索方法、装置及存储介质
CN112948390B (zh) * 2021-03-10 2023-06-06 四川一电航空技术有限公司 采集站仓位对应方法、装置、设备及可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467502A (zh) * 2010-10-29 2012-05-23 北大方正集团有限公司 一种检索方法及系统
CN104702683A (zh) * 2015-03-06 2015-06-10 西安诺瓦电子科技有限公司 基于网络的显示终端远程控制方法
CN108989879A (zh) * 2018-08-28 2018-12-11 广州视源电子科技股份有限公司 投屏的控制方法、装置和系统
WO2019095156A1 (zh) * 2017-11-15 2019-05-23 华为技术有限公司 一种信息搜索的方法、终端、网络设备和系统
CN111221845A (zh) * 2019-12-31 2020-06-02 华为技术有限公司 一种跨设备信息搜索方法及终端设备
CN112287234A (zh) * 2020-11-16 2021-01-29 Oppo广东移动通信有限公司 信息检索方法、装置及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467502A (zh) * 2010-10-29 2012-05-23 北大方正集团有限公司 一种检索方法及系统
CN104702683A (zh) * 2015-03-06 2015-06-10 西安诺瓦电子科技有限公司 基于网络的显示终端远程控制方法
WO2019095156A1 (zh) * 2017-11-15 2019-05-23 华为技术有限公司 一种信息搜索的方法、终端、网络设备和系统
CN108989879A (zh) * 2018-08-28 2018-12-11 广州视源电子科技股份有限公司 投屏的控制方法、装置和系统
CN111221845A (zh) * 2019-12-31 2020-06-02 华为技术有限公司 一种跨设备信息搜索方法及终端设备
CN112287234A (zh) * 2020-11-16 2021-01-29 Oppo广东移动通信有限公司 信息检索方法、装置及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115628758A (zh) * 2022-12-21 2023-01-20 四川图林科技有限责任公司 多物理场耦合条件下关键工艺参数的检测与修正方法

Also Published As

Publication number Publication date
CN112287234A (zh) 2021-01-29
CN112287234B (zh) 2023-05-30

Similar Documents

Publication Publication Date Title
WO2021013158A1 (zh) 显示方法及相关装置
WO2020211701A1 (zh) 模型训练方法、情绪识别方法及相关装置和设备
WO2021063343A1 (zh) 语音交互方法及装置
WO2022100222A1 (zh) 信息检索方法、装置、系统及存储介质
WO2022100221A1 (zh) 检索处理方法、装置及存储介质
WO2022052776A1 (zh) 一种人机交互的方法、电子设备及系统
WO2020233556A1 (zh) 一种通话内容处理方法和电子设备
WO2020259554A1 (zh) 可进行学习的关键词搜索方法和电子设备
JP7201827B2 (ja) 画像分類方法及び電子デバイス
CN111881315A (zh) 图像信息输入方法、电子设备及计算机可读存储介质
WO2022160991A1 (zh) 权限控制方法和电子设备
WO2022194190A1 (zh) 调整触摸手势的识别参数的数值范围的方法和装置
WO2022135157A1 (zh) 页面显示的方法、装置、电子设备以及可读存储介质
WO2020062014A1 (zh) 一种向输入框中输入信息的方法及电子设备
WO2022033432A1 (zh) 内容推荐方法、电子设备和服务器
WO2022152174A1 (zh) 一种投屏的方法和电子设备
WO2021238371A1 (zh) 生成虚拟角色的方法及装置
WO2021196980A1 (zh) 多屏交互方法、电子设备及计算机可读存储介质
CN111709843B (zh) 一种客户画像的生成方法、装置及电子设备
CN114465852A (zh) 信号处理方法及相关装置
WO2022089276A1 (zh) 一种收藏处理的方法及相关装置
WO2023185953A1 (zh) 网页访问方法及电子设备
WO2022179271A1 (zh) 反馈搜索结果的方法、装置及存储介质
WO2022111640A1 (zh) 应用分类方法、电子设备及芯片系统
WO2022111701A1 (zh) 投屏方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21890750

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21890750

Country of ref document: EP

Kind code of ref document: A1