WO2022062722A1 - Application installation processing method and apparatus, storage medium and electronic device - Google Patents

Application installation processing method and apparatus, storage medium and electronic device Download PDF

Info

Publication number
WO2022062722A1
WO2022062722A1 PCT/CN2021/111176 CN2021111176W WO2022062722A1 WO 2022062722 A1 WO2022062722 A1 WO 2022062722A1 CN 2021111176 W CN2021111176 W CN 2021111176W WO 2022062722 A1 WO2022062722 A1 WO 2022062722A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
desktop
application
terminal
text
Prior art date
Application number
PCT/CN2021/111176
Other languages
French (fr)
Chinese (zh)
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 WO2022062722A1 publication Critical patent/WO2022062722A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • 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
    • 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/044Recurrent networks, e.g. Hopfield networks
    • 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

Definitions

  • the present disclosure relates to the field of computer technologies, and in particular, to an application installation processing method, an application installation processing apparatus, a computer-readable storage medium, and an electronic device.
  • the present disclosure provides an application installation processing method, an application installation processing apparatus, a computer-readable storage medium, and an electronic device.
  • an application installation processing method including: acquiring a desktop image of a first terminal; identifying an application in the desktop image through text and/or icons in the desktop image ; Determine the application to be installed on the second terminal according to the application in the desktop image.
  • an application installation processing device comprising: a desktop image acquisition unit for acquiring a desktop image of a first terminal; and an application recognition unit for passing text in the desktop image and/or icon, identifying the application program in the desktop image; an application program determining unit, configured to determine the application program to be installed on the second terminal according to the application program in the desktop image.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the installation processing method of the application program of the first aspect and possible implementation thereof are implemented Way.
  • an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the executable instructions to Execute the installation processing method of the application program of the first aspect and a possible implementation manner thereof.
  • FIG. 1 shows a schematic diagram of a system architecture in this exemplary embodiment
  • FIG. 2 shows a structural diagram of an electronic device in this exemplary embodiment
  • FIG. 3 shows a flowchart of an application installation processing method in this exemplary embodiment
  • FIG. 4 shows a flowchart of a method for acquiring a desktop image in this exemplary embodiment
  • FIG. 5 shows a flowchart of a method for determining a starting frame in this exemplary embodiment
  • FIG. 6 shows a flowchart of another method for determining a starting frame in this exemplary embodiment
  • FIG. 7 shows a schematic diagram of a desktop image in this exemplary embodiment
  • FIG. 8 shows a flowchart of a method for determining an application program by a target to be identified in this exemplary embodiment
  • FIG. 9 shows a flowchart of a method for determining an application program through text and icons in this exemplary embodiment
  • FIG. 10 shows a flowchart of a method for determining an application program by icon matching in this exemplary embodiment
  • FIG. 11 shows a flowchart of a method for determining an application to be installed in this exemplary embodiment
  • FIG. 12 shows a schematic diagram of an installation processing method of an application program deployed on a server in this exemplary embodiment
  • Fig. 13 shows a flow chart of a method for installing an application program executed by a second terminal in this exemplary embodiment
  • FIG. 14 shows a structural diagram of an installation processing apparatus for an application in this exemplary embodiment
  • FIG. 15 is a structural diagram of another application installation processing apparatus in this exemplary embodiment.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
  • the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • numerous specific details are provided in order to give a thorough understanding of the embodiments of the present disclosure.
  • those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed.
  • well-known solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
  • FIG. 1 shows a schematic diagram of the system architecture of the operating environment of the method.
  • the system architecture 100 may include: a first terminal 110 , a second terminal 120 and a server 130 .
  • the first terminal 110 and the second terminal 120 may be terminal devices such as smart phones, tablet computers, personal computers, wearable devices, game consoles, etc.
  • the first terminal 110 is an old device, and the second terminal 120 is a new device.
  • the same or similar App as the first terminal 110 is installed on the second terminal 120 .
  • the server 130 may be a background system that provides an App installation service.
  • the server 130 may be a server of an App migration software, providing a complete App migration service, or a platform end of an App store, providing an App search and download service.
  • the server 130 forms a connection with at least the second terminal 120 through a network, and may also form a connection with the first terminal 110 at the same time.
  • the server 130 includes a business server 1301 and a basic server 1302 .
  • the business server 1301 is responsible for providing App installation services to the second terminal 120, for example, providing the second terminal 120 with a list of apps to be installed;
  • the basic server 1302 is responsible for providing basic services such as App search and installation package acquisition.
  • the application installation processing method in the exemplary embodiment of the present disclosure may be executed by the second terminal 120 or the server 130 described above.
  • the exemplary embodiment of the present disclosure further provides an electronic device, which may be the second terminal 120 or the server 130 .
  • an electronic device includes a processor and a memory.
  • the memory is used to store executable instructions of the processor, and may also store application data, such as image data, game data, etc.; the processor is configured to execute the application installation processing method in this exemplary embodiment by executing the executable instructions.
  • the mobile terminal 200 may specifically include: a processor 210, an internal memory 221, an external memory interface 222, a USB (Universal Serial Bus, Universal Serial Bus) interface 230, a charging management module 240, a power management module 241, Battery 242, Antenna 1, Antenna 2, Mobile Communication Module 250, Wireless Communication Module 260, Audio Module 270, Speaker 271, Receiver 272, Microphone 273, Headphone Interface 274, Sensor Module 280, Display Screen 290, Camera Module 291, Indication 292, a motor 293, a key 294, a Subscriber Identification Module (SIM) card interface 295, and the like.
  • SIM Subscriber Identification Module
  • the processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (Application Processor, AP), a modem processor, a graphics processor (Graphics Processing Unit, GPU), an image signal processor (Image Signal Processor, ISP), controller, encoder, decoder, digital signal processor (Digital Signal Processor, DSP), baseband processor and/or neural network processor (Neural-Network Processing Unit, NPU), etc.
  • an application processor Application Processor, AP
  • modem processor e.g., GPU
  • ISP image signal processor
  • controller e.g., encoder, decoder, digital signal processor (Digital Signal Processor, DSP), baseband processor and/or neural network processor (Neural-Network Processing Unit, NPU), etc.
  • NPU neural network Processing Unit
  • the processor 210 may include one or more interfaces through which connections are formed with other components of the mobile terminal 200 .
  • Internal memory 221 may be used to store computer executable program code, which includes instructions.
  • the internal memory 221 may include volatile memory, such as DRAM (Dynamic Random Access Memory, dynamic random access memory), SRAM (Static Random Access Memory, static random access memory), and may also include non-volatile memory, such as at least one disk storage device , Flash memory devices, etc.
  • the external memory interface 222 can be used to connect an external memory, so as to expand the storage capacity of the mobile terminal 200 .
  • the USB interface 230 is an interface conforming to the USB standard specification, and can be used to connect a charger to charge the mobile terminal 200, and can also be connected to an earphone or other electronic devices.
  • the charging management module 240 is used to receive charging input from the charger. While charging the battery 242, the charging management module 240 can also supply power to the device through the power management module 241; the power management module 241 can also monitor the state of the battery.
  • the wireless communication function of the mobile terminal 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, 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.
  • the mobile communication module 250 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the mobile terminal 200 .
  • the wireless communication module 260 can provide applications on the mobile terminal 200 including wireless local area networks (Wireless Local Area Networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) networks), Bluetooth (Bluetooth, BT), global navigation satellite Wireless communication solutions such as Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), and Infrared (IR).
  • WLAN wireless Local Area Networks
  • WLAN wireless Local Area Networks
  • WLAN wireless local Area Networks
  • WLAN wireless local Area Networks
  • WLAN wireless local Area Networks
  • Bluetooth Bluetooth
  • global navigation satellite Wireless communication solutions such as Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), and Infrared (IR).
  • GNSS Global Navigation Satellite System
  • FM Frequency Modulation
  • NFC Near Field Communication
  • IR Infrared
  • the mobile terminal 200 can realize the display function through the GPU, the display screen 290 and the application processor, etc., can realize the shooting function through the ISP, the camera module 291, the encoder, the decoder, the GPU, the display screen 290 and the application processor, etc., and can also realize the shooting function.
  • the audio function is realized by the audio module 270 , the speaker 271 , the receiver 272 , the microphone 273 , the headphone interface 274 and the application processor.
  • the sensor module 280 may include a depth sensor 2801, a pressure sensor 2802, a gyro sensor 2803, an air pressure sensor 2804, and the like.
  • the indicator 292 can be an indicator light, which can be used to indicate the charging status, the change of power, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the motor 293 can generate vibration prompts, and can also be used for touch vibration feedback and the like.
  • the keys 294 include a power-on key, a volume key, and the like.
  • the mobile terminal 200 may support one or more SIM card interfaces 295 for connecting SIM cards to realize voice calls and mobile communications.
  • FIG. 3 shows the flow of an application installation processing method in this exemplary embodiment, which may include:
  • Step S310 obtaining the desktop image of the first terminal
  • Step S320 identifying the application program in the desktop image through the text and/or icon in the desktop image;
  • Step S330 Determine the application to be installed on the second terminal according to the application in the desktop image.
  • the application to be installed of the second terminal is determined according to the application in the desktop of the first terminal.
  • the application to be installed on the second terminal is determined based on the recognition of the desktop image, without scanning and parsing the application data of the first terminal, Conducive to the rapid migration of applications.
  • there is no need to read relevant data from the first terminal thus reducing the risk of sensitive information leakage in the first terminal, and there is no need to establish a connection between the first terminal and the second terminal, making the solution applicable to more scenarios.
  • the entire processing process can be realized through simple image acquisition operations such as taking pictures and scanning, which simplifies user operations and improves user experience.
  • step S310 a desktop image of the first terminal is acquired.
  • the desktop of the first terminal may include the icon of the App installed on the first terminal and the name of the App below the icon, so the desktop image can reflect the App information of the first terminal.
  • the desktop image may be obtained by taking a photo or a screenshot of the desktop of the first terminal. For example, after the first terminal takes a screenshot of the desktop, it sends the captured desktop image to the second terminal or the server.
  • step 310 may include:
  • the second terminal turns on the camera, and captures images of the desktop of the first terminal by taking pictures, scanning, or the like.
  • a "scan" function may be added to the system interface, the App store, or the App migration software.
  • the camera is turned on and an image scanning interface is displayed at the same time.
  • the interface may include a scanning frame. The user aligns the scanning frame with the desktop of the first terminal, and the scanned image collected is the desktop image. As a result, the desktop image can be obtained through simple operation and visualization, and the learning cost of the user using the related functions is reduced.
  • the actual collected images may include photographed images, scanned images, preview images, etc.
  • the number of images is usually more than one frame. All the collected images can be used as desktop images, or a part of them can be selected as desktop images. .
  • Step S410 in the process of image acquisition, determine the starting frame
  • step S420 starting from the initial frame, the captured image of one or more frames is used as the desktop image.
  • the user In the scene of taking pictures or scanning, after the camera is turned on, the user generally needs to adjust the position or angle of the camera to aim at the desktop of the first terminal, which takes a certain amount of time. Therefore, the first few frames of images collected are usually useless images. Starting from a certain frame, the camera has been accurately and stably aimed at the desktop of the first terminal, and this frame is the starting frame.
  • the images collected thereafter can all be images with the desktop of the first terminal as the main image content, and can be used as desktop images. Therefore, it is equivalent to screening all the collected images, retaining the images that can accurately reflect the desktop content of the first terminal, reducing the processing of useless images, and improving the waste of system resources.
  • step S410 can be realized by the following steps:
  • Step S510 in the process of image acquisition, determine the relative change amount of each frame of image
  • Step S520 when the relative change amounts of the consecutive N frames of images are all smaller than the change amount threshold, determine the start frame from the consecutive N frames of images.
  • the relative change refers to the change of the image relative to the previous frame of image, which can be characterized by the change of any one or more image parameters, including but not limited to image pixel value, color, brightness, gray degree, etc.
  • the relative change amount of the current frame image may be determined according to the change amount of the color distribution data of the current frame image relative to the color distribution data of the previous frame image. For example, divide the color space into multiple subspaces in advance, count the distribution of the pixels of the current frame image in different subspaces, calculate the pixel ratio value in each subspace, and arrange the pixel ratio values in the order of the subspaces to form the current frame.
  • the color distribution vector of the image process the previous frame image in the same way to obtain the color distribution vector of the previous frame image; calculate the distance between the two color distribution vectors (such as Euclidean distance, Mansfield distance, etc.), as relative change.
  • count the color histograms of the current frame image and the previous frame image and calculate the difference between the two color histograms (eg, calculate the difference between the curves corresponding to the two color histograms) as the relative change.
  • a feature vector can be extracted from the current frame image and the previous frame image through models such as CNN (Convolutional Neural Network, convolutional neural network), respectively, and the distance between the two feature vectors can be calculated, as a relative change.
  • CNN Convolutional Neural Network, convolutional neural network
  • the image changes between different frames before and after are relatively large, and when the camera is adjusted and stably aimed at the desktop of the first terminal, the image changes between the different frames before and after are small. Therefore, when the relative changes of images of consecutive N frames are smaller than the preset change threshold, it can be determined that the camera has been stably aimed at the desktop of the first terminal, and then the starting frame can be determined.
  • N represents the required number of images for continuous stabilization, which is a positive integer not less than 2, which can be set according to experience or actual conditions. Generally, the higher the frequency of image acquisition, the larger the value of N.
  • the change threshold is a standardized threshold for measuring whether two consecutive frames of images are stable, and can be set according to experience or actual conditions. When using different image parameters to calculate the relative change, the change threshold can also be adjusted adaptively.
  • the variation threshold when a larger value is set for N, the variation threshold can be appropriately lowered, or when a higher variation threshold is set, the value of N can be appropriately lowered; and vice versa .
  • any frame of the N frames of images can be used as the starting frame, for example, the first frame or the last frame of the N frames of images is used as the starting frame. start frame.
  • N 10 and the change threshold to 0.2; in the process of image acquisition, every time a frame of image is collected, its color distribution data is analyzed and compared with the color distribution data of the previous frame image to calculate the relative change
  • the change in the color distribution data of each frame of images compared to the previous frame of images is less than 0.2, then the starting frame is determined in these 10 frames of images.
  • step S410 can be realized by the following steps:
  • Step S610 in the process of image acquisition, perform target detection on the acquired image
  • Step S620 when a target of a preset category is detected, the detected image is determined as the starting frame.
  • Target detection refers to the detection of objects or specific objects in the image, which can be processed by target detection models such as CNN, RCNN (Recurrent CNN, recurrent convolutional neural network), SSD (Single Shot MultiBox Detector, single-step multi-box detection).
  • the target detection detection model generally includes an input layer, a hidden layer and an output layer; the input layer is used to receive the input of the image; the hidden layer is used to process the input image; the output layer is used to output the result of the image processing. Information such as category, location, size, etc. of each detected target can be included.
  • the preset category may be a category related to the desktop of the first terminal, such as a mobile terminal, a desktop, an icon, and the like.
  • the target category is a preset category, it is determined that the camera is currently aimed at the desktop of the first terminal, so the image can be determined as the initial frame image.
  • the pose data of the second terminal can be obtained, for example, through the built-in IMU (Inertial Measurement Unit, inertial measurement unit) Measure the pose data; then check whether the pose data is stable, such as judging that the difference between the pose data between the two adjacent timestamps is less than the preset pose difference threshold; keep multiple (such as N consecutive) pose data in a row Stabilization is one of the ways to judge the starting frame.
  • IMU Inertial Measurement Unit, inertial measurement unit
  • the pose data can be measured synchronously, the pose data of each timestamp is formed into a pose vector, and the distance from the pose vector of the previous timestamp can be calculated to obtain the relative value of the current timestamp relative to the current timestamp.
  • the pose data difference of the last timestamp is compared with the preset pose difference threshold. If the pose data difference is less than the threshold, it means that the pose data of the current timestamp is stable, and the second terminal does not experience significant jitter. , thus, when the pose data of the consecutive N time stamps are all kept stable, any frame image collected in the time period of the consecutive N time stamps can be determined as the starting frame.
  • any combination of the above methods can be carried out.
  • the combination of the above methods (1) and (2) can be used to perform the stability detection and target detection of the image color distribution data at the same time.
  • the starting frame is determined.
  • the above method of determining the starting frame can obtain an effective desktop image. Compared with the method of photographing the desktop image of the first terminal, it eliminates the possibility of occurrence during photographing. Compared with the way of taking screenshots of the desktop of the first terminal, there is no need to obtain a screenshot image from the first terminal, and there is no need to establish a connection between the first terminal and the second terminal. , the desktop image can be obtained even when the first terminal has no network. For example, after taking out the SIM card from the first terminal, the first terminal has no network service. At this time, the second terminal can also be used to scan its desktop to obtain the desktop image. Therefore, this method is suitable for more scenarios.
  • the number M of desktop images may be preset, and after the start frame is determined, the start frame and subsequent M-1 frames may be acquired to obtain M frames of desktop images.
  • the frame image of the start frame may be determined as a desktop image, and subsequent processing is performed. If the subsequent processing process is normal, there is no need to acquire more desktop images; if the subsequent processing process is abnormal, such as the desktop image cannot be identified, more desktop images can be selected after the initial frame and the subsequent processing is performed again.
  • only one frame of image can be selected as the desktop image at a time, and subsequent processing can be performed. If the subsequent processing process is normal, the process ends. If the subsequent processing process is abnormal, the currently selected desktop image After that, select another frame of image (for example, the next frame of image can be selected, or a frame of image can be selected after a certain number of frames) as the desktop image; this cycle is repeated until the subsequent processing process is normal, and the process ends. This further reduces the number of desktop images that need to be processed, increasing efficiency.
  • the first terminal may include multiple desktops, for example, the number of apps thereof is large, occupying 3 desktop pages. Then, image acquisition can be performed on each desktop separately, and each desktop image can be processed separately in the subsequent process.
  • step S320 the applications in the desktop image are identified by the text and/or icons in the desktop image.
  • FIG. 7 is a schematic diagram of a desktop image, and FIG. 7 includes text and icons.
  • the text refers to the text of the App name, such as "AA News", “BB Music”, etc.; the icon is the App icon, such as the icons above "AA News” and "BB Music”.
  • These two kinds of information are the main information in the desktop image, and through these two kinds of information, it is possible to identify which applications are in the desktop image, which is equivalent to identifying which applications are installed in the first terminal.
  • step S320 may include:
  • Step S810 extracting one or more targets to be identified from the desktop image, each target to be identified includes a text and an icon;
  • Step S820 according to the text and/or icon in the to-be-recognized target, identify the application program corresponding to the to-be-recognized target.
  • the text and icons in the target to be recognized can be extracted separately.
  • Text extraction can be achieved by algorithms such as OCR (Optical Character Recognition, Optical Character Recognition).
  • OCR is to determine the shape of the characters contained in the image by detecting the dark and bright, and then translate it into computer text by means of character recognition.
  • grayscale and binarization can be performed on the background image to distinguish the background and foreground of the image; then the image is optimized and corrected, such as noise reduction, tilt correction, etc.; character features are extracted from the foreground part;
  • the characters in the desktop image are identified by comparison with the data in the character database. After the characters are recognized, they are organized into texts according to the different positions of the characters in the desktop image.
  • the extraction of icons can be realized by algorithms such as edge detection and shape detection. For example, detect the connected area in the desktop image, and determine the part where the pixel value suddenly changes as the edge, so as to obtain multiple independent connected areas; since the icon is generally a rounded square, the shape of the connected area is detected, and the rounded square is The connected area is extracted to get the icon. It is also possible to detect icons and their positions in desktop images through models such as CNN, so as to achieve icon extraction.
  • the extracted text or icons may also be filtered according to the border position of the first terminal in the desktop image and the grid arrangement rule of the desktop. For example, delete the recognized text or icon outside the border; the grid points on the desktop are arranged as 3*4, if there are 4 icons in a row, it means that one of them is a misrecognized object. Align icons in a row, delete an extra icon, and so on.
  • the corresponding application program can be identified by using any aspect of the information in the text and the icon, and the application program can also be identified by combining the two aspects of the information in the text and the icon, so as to improve the accuracy.
  • step S320 may include:
  • Step S910 Match each text in the desktop image with the name of the application program, and determine the application program corresponding to the text information according to the matching result.
  • app_name is the standardized name for each app in the app library.
  • misrecognition such as recognizing a certain character as other characters with similar glyphs, such as recognizing "AA News" as "AA Xinjian”.
  • misidentifications can be corrected by matching against standardized application names. Matching of text to application name, including but not limited to the following ways:
  • Character matching can be performed on the text and the application name, such as detecting whether the proportion of the same characters is higher than a certain threshold (such as 50%, which can be set according to experience or actual conditions), and detecting whether different characters are characters with similar glyphs , when these two conditions are met, it is judged that the text matches the name of the application program successfully, and it is determined that the text is the name of the application program, thereby determining the application program.
  • a certain threshold such as 50%, which can be set according to experience or actual conditions
  • the same font can be used to draw the binarized image of the text and the application name, and then the sequence features of the image are extracted by models such as LSTM (Long Short-Term Memory, long short-term memory network), and the similarity of the two sequence features is calculated.
  • LSTM Long Short-Term Memory, long short-term memory network
  • step S320 may further include:
  • Step S920 when the text and the application program name are not successfully matched, determine the application program corresponding to the text according to the icon corresponding to the text.
  • the icon recognition method can be used to determine the application. .
  • a CNN model for image classification can be pre-trained, and the classification label is the application name. Therefore, inputting the icon into the CNN model can directly output the corresponding application name, which is very convenient.
  • step S920 may include:
  • Step S1010 forming the icon corresponding to the above text into a first icon image.
  • the part where the icon is located can be cut out from the desktop image, which is the first icon image.
  • Step S1020 respectively matching the first icon image with the second icon image formed by each application icon in the application library.
  • image retrieval is used to calculate the matching degree (or confidence, similarity, etc., basically the same meaning) between the first icon image and each second icon image, such as extracting the feature vector of the first icon image and the second icon respectively.
  • the feature vectors of the image, and the similarity between the feature vectors is calculated.
  • Step S1030 when there is a second icon image whose matching degree with the first icon image is greater than the matching degree threshold, determine the application program corresponding to the second icon image as the application program corresponding to the above text.
  • the matching degree threshold is a standard for measuring whether the first icon image and the second icon image match, and can be set according to experience or actual conditions, such as 80%. When the degree of matching between the first icon image and the second icon image is greater than the threshold, it is determined that the two match, so as to determine the application corresponding to the above text or icon.
  • the second icon image with the highest matching degree may be selected as the matching result, or all the first icon images may be selected as the matching result.
  • the two icon images are presented to the user as a matching result, and the user selects one icon therefrom. It is also possible that no second icon image whose matching degree with the first icon image is greater than the matching degree threshold is not found, that is, if the matching is unsuccessful, an unsuccessful matching result can be presented, for example, the application corresponding to the above text is marked as "" ?", "Unknown", etc.
  • the flow shown in FIG. 9 is essentially that the character recognition application is preferentially used, and if the recognition is unsuccessful, the icon recognition application is used. Since the corresponding application program can be accurately identified through the text in most cases, the flow of FIG. 9 can reduce the processing amount and further improve the efficiency.
  • the ambient light parameters can be detected by the ambient light sensor. If the light parameters are within the preset value range (indicating the range of good lighting, which can be set according to experience or actual conditions), it is judged that the light is sufficient and there is no reflection. Use text recognition, otherwise use icon recognition.
  • characters and icons may also be recognized at the same time.
  • the text can be matched with the application program name to obtain the first matching result
  • the icon can be matched with the application program icon to obtain the second matching result; then compare whether the first matching result and the second matching result are the same, if they are the same, Any matching result is used to determine the corresponding application, and if they are not the same, an unsuccessful matching result is returned; the first matching result and the second matching result with a higher degree of matching may also be selected to determine the corresponding application.
  • step S320 the corresponding application program can be determined for each text or icon in the desktop image, thereby determining the application program of the first terminal.
  • step S330 the application to be installed on the second terminal is determined according to the application in the desktop image.
  • the application programs in the desktop image are all application programs to be installed on the second terminal. Or, a part of application programs may have been installed on the second terminal, the installed application programs are excluded from the application programs of the desktop image, and the rest are the applications to be installed. Or, if the system of the second terminal is different from that of the first terminal, there may be some application programs, which use different versions or names in different systems, and the application programs in the desktop image can be adapted according to the system of the second terminal. sex conversion to obtain the application to be installed on the second terminal.
  • step S330 may include:
  • Step S1110 generating an application list of the first terminal according to the application in the desktop image
  • Step S1120 obtaining user feedback information for the application list of the first terminal
  • Step S1130 Determine the application to be installed on the second terminal according to the user feedback information.
  • the application list of the first terminal may be presented in the form of a list or an image.
  • the application manifest can be displayed to the user and allow the user to submit feedback, such as providing feedback on errors in the manifest, or changing or removing parts of the application. Further, according to the user feedback information, the above application list is adjusted to obtain the application to be installed on the second terminal.
  • multiple recommended applications of the same type may be provided beside each application. For example, if “AA News” is installed on the first terminal, it can be recommended in the application list. "XX News”, “YY News”, and add relevant text descriptions, such as "70% of users have installed XX News", or show the ratings of recommended apps, etc. This disclosure does not limit this.
  • the location information of the application to be installed on the desktop of the second terminal may be determined according to the location information of each application in the desktop image. For example, when the screen size of the second terminal and the first terminal are the same and the resolution settings are the same, the desktop grid arrangement of the two is also the same, and the location information of each application program in the desktop image of the first terminal can be used as each application program. position information on the desktop of the second terminal; or, when the grid points of the desktop of the second terminal are different from those of the first terminal, corresponding conversion calculations can be performed. , Arrange each application program in order from top to bottom, and then rearrange it according to the desktop grid arrangement of the second terminal to determine the position of each application program. Thereby, the automatic layout of the desktop of the second terminal is realized.
  • the desktop preview image of the second terminal may also be generated according to the location information of the application to be installed on the desktop of the second terminal, which is based on the layout of the application to be installed on the desktop Preview allows users to visually see the layout effect. Users can also make adjustments in the desktop preview image, such as changing the location of the application, to determine the final desktop layout scheme.
  • the above-mentioned method for determining the application to be installed may be deployed on the server and executed.
  • an API Application Programming Interface
  • the basic server 1302 provides an identification service, performs App identification, and provides a search service.
  • the search service through the information of the application library obtained from the resource service, the App identification result is matched and corrected, and the finalized App information is sent to Business server 1301.
  • the service server 1301 generates the desktop layout of the second terminal 120 and returns it to the second terminal 120 for displaying the results.
  • the feedback information is sent to the resource service of the basic server 1302, and the resource is corrected and updated according to the icon and the correct App name, so as to improve the accuracy of subsequent App identification.
  • the basic server 1302 provides App download through the resource service, and automatically downloads the App to the second terminal 120 and installs it.
  • the installation process is mainly deployed on the server side, which reduces the pressure on the terminal side, and realizes the decoupling between the scan service and the basic service, which is conducive to flexible deployment and expansion of related service logic.
  • FIG. 13 shows an exemplary flow of the installation processing method performed by the second terminal, including:
  • step S1301 the user selects to enable the scan function, which can be deployed as a separate client, or can be integrated into the App store or system functions, and the camera is turned on at the same time.
  • Step S1302 the camera scans the desktop image of the first terminal, and determines whether the scanned image is the initial frame; if so, executes step S1303, and if not, continues to determine whether the next frame of image is the initial frame.
  • Step S1303 starting from the starting frame, acquiring a desktop image, performing App positioning in combination with the text and icons in the desktop image, and extracting the targets to be identified corresponding to each App.
  • Step S1304 matching the text with the App name provided by the App resource service.
  • the App resource service can be deployed on the server, or can be pre-deployed on the second terminal.
  • step S1305 it is judged whether the text matching is successful; if yes, step S1306 is executed; if not, step S1307 is executed.
  • Step S1306 Determine the corresponding App according to the matching result.
  • Step S1307 matching the icon with the App icon provided by the App resource service.
  • step S1308 it is judged whether the icon matching is successful; if yes, go to step S1306, if not, go to step S1309.
  • Step S1309 returning the result that the identification is unsuccessful.
  • Step S1310 when all the targets to be identified have obtained corresponding App identification results, including successful identification of the corresponding App and unsuccessful identification results, determine the App to be installed on the second terminal, download and install these Apps, and follow the steps of the first terminal. desktop layout.
  • the application installation processing apparatus 1400 may include a processor 1410 and a memory 1420, wherein the memory 1420 stores the following program units:
  • the desktop image acquisition unit 1421 is configured to acquire the desktop image of the first terminal
  • the application identification unit 1422 is configured to identify the application in the desktop image through the text and/or icons in the desktop image;
  • the application program determination unit 1423 is configured to determine the application program to be installed of the second terminal according to the application program in the desktop image
  • the processor 1410 is used to execute the above program units.
  • the desktop image acquisition unit 1421 is configured to:
  • the above-mentioned acquisition of one or more frames of desktop images collected includes:
  • Starting from the starting frame take the captured image of one or more frames as the desktop image.
  • the determination of the starting frame includes:
  • the relative change amount of each frame of image is determined, and the relative change amount is the change amount of each frame image relative to the previous frame image;
  • the start frame is determined from the consecutive N frames of images; N is a positive integer not less than 2.
  • the above-mentioned determination of the relative change amount of each frame of image includes:
  • the relative change amount of the current frame image is determined according to the change amount of the color distribution data of the current frame image relative to the color distribution data of the previous frame image.
  • the determination of the starting frame includes:
  • target detection is performed on the acquired images
  • the detected image is determined as the starting frame.
  • the determination of the starting frame includes:
  • the optical flow corresponding to each frame of image is determined, and the optical flow is the optical flow between each frame of image and the previous frame of image;
  • the starting frame is determined from the consecutive N frames of images; N is a positive integer not less than 2.
  • the application identification unit 1422 is configured to:
  • each object to be recognized includes a text and an icon
  • the application identification unit 1422 is further configured to:
  • the extracted text or icons are filtered according to the border position of the first terminal in the desktop image and the grid point arrangement rule of the first terminal.
  • the above-mentioned through the text and/or icon in the desktop image identify the application program in the desktop image, including:
  • the above-mentioned identifying the application program in the desktop image through the text and/or icons in the desktop image further includes:
  • the application corresponding to the text is determined according to the icon corresponding to the text.
  • the above-mentioned determination of the application program corresponding to the text according to the icon corresponding to the text includes:
  • the application program corresponding to the second icon image is determined as the application program corresponding to the text.
  • the application program determination unit 1423 is configured to:
  • the application to be installed on the second terminal is determined according to the user feedback information.
  • the application program determination unit 1423 is further configured to:
  • the location information of each application in the desktop image is determined.
  • the above-mentioned determining the location information of the application to be installed on the desktop of the second terminal according to the location information of each application in the desktop image includes:
  • the applications to be installed are rearranged according to the order of the grid point arrangement of the desktop of the second terminal and the applications to be installed, so as to determine the location information of the applications to be installed on the desktop of the second terminal.
  • the application program determination unit 1423 is further configured to:
  • a desktop preview image of the second terminal is generated according to the location information of the application to be installed on the desktop of the second terminal.
  • the application program determination unit 1423 is further configured to:
  • the location information of the application to be installed in the desktop of the second terminal is changed.
  • Exemplary embodiments of the present disclosure also provide another application installation processing apparatus.
  • the installation processing apparatus 1500 of the application may include:
  • a desktop image acquiring unit 1510 configured to acquire a desktop image of the first terminal
  • the application identification unit 1520 is configured to identify the application in the desktop image through the text and/or icons in the desktop image;
  • the application program determining unit 1530 is configured to determine the application program to be installed on the second terminal according to the application program in the desktop image.
  • the desktop image acquisition unit 1510 is configured to:
  • the above-mentioned acquisition of one or more frames of desktop images collected includes:
  • Starting from the starting frame take the captured image of one or more frames as the desktop image.
  • the determination of the starting frame includes:
  • the relative change amount of each frame of image is determined, and the relative change amount is the change amount of each frame image relative to the previous frame image;
  • the start frame is determined from the consecutive N frames of images; N is a positive integer not less than 2.
  • the above-mentioned determination of the relative change amount of each frame of image includes:
  • the relative change amount of the current frame image is determined according to the change amount of the color distribution data of the current frame image relative to the color distribution data of the previous frame image.
  • the determination of the starting frame includes:
  • target detection is performed on the acquired images
  • the detected image is determined as the starting frame.
  • the determination of the starting frame includes:
  • the optical flow corresponding to each frame of image is determined, and the optical flow is the optical flow between each frame of image and the previous frame of image;
  • the starting frame is determined from the consecutive N frames of images; N is a positive integer not less than 2.
  • the application identification unit 1520 is configured to:
  • each object to be recognized includes a text and an icon
  • the application identification unit 1520 is further configured to:
  • the extracted text or icons are filtered according to the border position of the first terminal in the desktop image and the grid point arrangement rule of the first terminal.
  • the above-mentioned identifying the application program in the desktop image through the text and/or icons in the desktop image includes:
  • the above-mentioned identifying the application program in the desktop image through the text and/or icons in the desktop image further includes:
  • the application corresponding to the text is determined according to the icon corresponding to the text.
  • the application identification unit 1520 is configured to:
  • the application program corresponding to the second icon image is determined as the application program corresponding to the text.
  • the application program determination unit 1530 is configured to:
  • the application to be installed on the second terminal is determined according to the user feedback information.
  • the application program determining unit 1530 is further configured to:
  • the location information of each application in the desktop image is determined.
  • the above-mentioned determining the location information of the application to be installed on the desktop of the second terminal according to the location information of each application in the desktop image includes:
  • the applications to be installed are rearranged according to the order of the grid point arrangement of the desktop of the second terminal and the applications to be installed, so as to determine the location information of the applications to be installed on the desktop of the second terminal.
  • the application program determining unit 1530 is further configured to:
  • a desktop preview image of the second terminal is generated according to the location information of the application to be installed on the desktop of the second terminal.
  • the application program determining unit 1530 is further configured to:
  • the location information of the application to be installed in the desktop of the second terminal is changed.
  • Exemplary embodiments of the present disclosure also provide a computer-readable storage medium, which can be implemented in the form of a program product, including program code, which, when the program product runs on a terminal device, is used to cause the terminal device to execute this specification
  • the steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Methods" section above may be performed, for example, by any one or more of the steps in FIGS. 3 to 6 or 8 to 13 .
  • the program product can take the form of a portable compact disk read only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer.
  • CD-ROM portable compact disk read only memory
  • the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • the program product may employ any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory, read only memory (ROM), erasable programmable Read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
  • a computer readable signal medium may include a propagated data signal in baseband or as part of a carrier wave with readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as the "C" language or similar programming language.
  • the program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
  • LAN local area network
  • WAN wide area network
  • an external computing device eg, using an Internet service provider business via an Internet connection
  • aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure can be embodied in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as implementations "circuit", “module” or "system”.

Abstract

An application installation processing method, an application installation processing apparatus, a computer readable storage medium and an electronic device. The application installation processing method comprises: obtaining a desktop image of a first terminal (S310); identifying an application in the desktop image according to characters and/or icons in the desktop image (S320); and determining an application to be installed of a second terminal according to the application in the desktop image (S330). The method achieves quick migration of the application and reduces the leakage risk of sensitive information.

Description

应用程序的安装处理方法、装置、存储介质与电子设备Application installation processing method, device, storage medium and electronic device
本申请要求于2020年09月23日提交的,申请号为202011009695.1,名称为“应用程序的安装处理方法、装置、存储介质与电子设备”的中国专利申请的优先权,该中国专利申请的全部内容通过引用结合在本文中。This application claims the priority of the Chinese patent application with the application number of 202011009695.1, which was filed on September 23, 2020, and entitled "Application Installation and Processing Method, Device, Storage Medium and Electronic Equipment", all of the Chinese patent application The contents are incorporated herein by reference.
技术领域technical field
本公开涉及计算机技术领域,尤其涉及一种应用程序的安装处理方法、应用程序的安装处理装置、计算机可读存储介质与电子设备。The present disclosure relates to the field of computer technologies, and in particular, to an application installation processing method, an application installation processing apparatus, a computer-readable storage medium, and an electronic device.
背景技术Background technique
当用户更换智能手机、平板电脑等终端设备时,通常需要在新设备上安装原有的App(Application,应用程序)。如果用户手动下载并安装每个App,则非常耗费时间与精力。When a user replaces a terminal device such as a smartphone or a tablet computer, it is usually necessary to install an original App (Application, application program) on the new device. If the user manually downloads and installs each app, it takes a lot of time and effort.
发明内容SUMMARY OF THE INVENTION
本公开提供了一种应用程序的安装处理方法、应用程序的安装处理装置、计算机可读存储介质与电子设备。The present disclosure provides an application installation processing method, an application installation processing apparatus, a computer-readable storage medium, and an electronic device.
根据本公开的第一方面,提供一种应用程序的安装处理方法,包括:获取第一终端的桌面图像;通过所述桌面图像中的文字和/或图标,识别所述桌面图像中的应用程序;根据所述桌面图像中的应用程序确定第二终端的待安装应用程序。According to a first aspect of the present disclosure, there is provided an application installation processing method, including: acquiring a desktop image of a first terminal; identifying an application in the desktop image through text and/or icons in the desktop image ; Determine the application to be installed on the second terminal according to the application in the desktop image.
根据本公开的第二方面,提供一种应用程序的安装处理装置,包括:桌面图像获取单元,用于获取第一终端的桌面图像;应用程序识别单元,用于通过所述桌面图像中的文字和/或图标,识别所述桌面图像中的应用程序;应用程序确定单元,用于根据所述桌面图像中的应用程序确定第二终端的待安装应用程序。According to a second aspect of the present disclosure, there is provided an application installation processing device, comprising: a desktop image acquisition unit for acquiring a desktop image of a first terminal; and an application recognition unit for passing text in the desktop image and/or icon, identifying the application program in the desktop image; an application program determining unit, configured to determine the application program to be installed on the second terminal according to the application program in the desktop image.
根据本公开的第三方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面的应用程序的安装处理方法及其可能的实现方式。According to a third aspect of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the installation processing method of the application program of the first aspect and possible implementation thereof are implemented Way.
根据本公开的第四方面,提供一种电子设备,包括:处理器;以及存储器,用于存储所述处理器的可执行指令;其中,所述处理器配置为经由执行所述可执行指令来执行上述第一方面的应用程序的安装处理方法及其可能的实现方式。According to a fourth aspect of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the executable instructions to Execute the installation processing method of the application program of the first aspect and a possible implementation manner thereof.
附图说明Description of drawings
图1示出本示例性实施方式中一种系统架构的示意图;FIG. 1 shows a schematic diagram of a system architecture in this exemplary embodiment;
图2示出本示例性实施方式中一种电子设备的结构图;FIG. 2 shows a structural diagram of an electronic device in this exemplary embodiment;
图3示出本示例性实施方式中一种应用程序的安装处理方法的流程图;FIG. 3 shows a flowchart of an application installation processing method in this exemplary embodiment;
图4示出本示例性实施方式中一种获取桌面图像方法的流程图;FIG. 4 shows a flowchart of a method for acquiring a desktop image in this exemplary embodiment;
图5示出本示例性实施方式中一种确定起始帧方法的流程图;FIG. 5 shows a flowchart of a method for determining a starting frame in this exemplary embodiment;
图6示出本示例性实施方式中另一种确定起始帧方法的流程图;FIG. 6 shows a flowchart of another method for determining a starting frame in this exemplary embodiment;
图7示出本示例性实施方式中一种桌面图像的示意图;FIG. 7 shows a schematic diagram of a desktop image in this exemplary embodiment;
图8示出本示例性实施方式中一种通过待识别目标确定应用程序方法的流程图;FIG. 8 shows a flowchart of a method for determining an application program by a target to be identified in this exemplary embodiment;
图9示出本示例性实施方式中一种通过文字与图标确定应用程序方法的流程图;FIG. 9 shows a flowchart of a method for determining an application program through text and icons in this exemplary embodiment;
图10示出本示例性实施方式中一种通过图标匹配确定应用程序方法的流程图;FIG. 10 shows a flowchart of a method for determining an application program by icon matching in this exemplary embodiment;
图11示出本示例性实施方式中一种确定待安装应用程序方法的流程图;FIG. 11 shows a flowchart of a method for determining an application to be installed in this exemplary embodiment;
图12示出本示例性实施方式中一种部署在服务端的应用程序的安装处理方法的示意图;FIG. 12 shows a schematic diagram of an installation processing method of an application program deployed on a server in this exemplary embodiment;
图13示出本示例性实施方式中一种由第二终端执行的应用程序的安装处理方法的流 程图;Fig. 13 shows a flow chart of a method for installing an application program executed by a second terminal in this exemplary embodiment;
图14示出本示例性实施方式中一种应用程序的安装处理装置的结构图;FIG. 14 shows a structural diagram of an installation processing apparatus for an application in this exemplary embodiment;
图15示出本示例性实施方式中另一种应用程序的安装处理装置的结构图。FIG. 15 is a structural diagram of another application installation processing apparatus in this exemplary embodiment.
具体实施方式detailed description
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本公开的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted. Some of the block diagrams shown in the figures are functional entities that do not necessarily necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
相关技术的一种方案中,在Android设备间进行App迁移时,需要在新设备上安装App迁移的软件,并在旧设备与新设备建立连接(如通过蓝牙连接,或者连接到同一无线局域网)的情况下,选择需要迁移的文件,通过动态码匹配后进行传输,以实现迁移。该方案需要将两设备建立连接,且操作流程较为复杂,传输较为耗时。In a solution of the related art, when migrating an app between Android devices, it is necessary to install software for app migration on the new device, and establish a connection between the old device and the new device (such as connecting via Bluetooth, or connecting to the same wireless local area network) In the case of , select the files that need to be migrated, and transfer them after matching the dynamic code to realize the migration. This solution needs to establish a connection between two devices, and the operation process is relatively complicated, and the transmission is relatively time-consuming.
相关技术的另一种方案中,在iOS设备间,或者iOS设备与Android设备间进行App迁移时,需要借助与iCloud等云存储服务,将旧设备上的App相关数据上传到云端,再从云端下载到新设备,以实现迁移。该方案依赖于云存储服务,通常对迁移的文件数据大小有限制,且需要和云端进行上传与下载两次传输,更为耗时。In another solution of the related art, when migrating an App between iOS devices, or between an iOS device and an Android device, it is necessary to use cloud storage services such as iCloud to upload the App-related data on the old device to the cloud, and then from the cloud. Download to new device for migration. This solution relies on cloud storage services, which usually limit the size of the file data to be migrated, and need to upload and download to the cloud twice, which is more time-consuming.
鉴于上述问题,本公开的示例性实施方式提供一种应用程序的安装处理方法。图1示出了该方法运行环境的系统架构示意图。如图1所示,该系统架构100可以包括:第一终端110、第二终端120和服务端130。其中,第一终端110和第二终端120可以是智能手机、平板电脑、个人电脑、可穿戴设备、游戏机等终端设备,第一终端110为旧设备,第二终端120为新设备,需要在第二终端120上安装与第一终端110相同或相近的App。服务端130可以是提供App安装服务的后台系统,例如服务端130可以是App迁移软件的服务端,提供完整的App迁移服务,也可以是App商店的平台端,提供App搜索与下载服务。服务端130至少与第二终端120通过网络形成连接,也可以同时与第一终端110形成连接。In view of the above problems, exemplary embodiments of the present disclosure provide an application installation processing method. FIG. 1 shows a schematic diagram of the system architecture of the operating environment of the method. As shown in FIG. 1 , the system architecture 100 may include: a first terminal 110 , a second terminal 120 and a server 130 . The first terminal 110 and the second terminal 120 may be terminal devices such as smart phones, tablet computers, personal computers, wearable devices, game consoles, etc. The first terminal 110 is an old device, and the second terminal 120 is a new device. The same or similar App as the first terminal 110 is installed on the second terminal 120 . The server 130 may be a background system that provides an App installation service. For example, the server 130 may be a server of an App migration software, providing a complete App migration service, or a platform end of an App store, providing an App search and download service. The server 130 forms a connection with at least the second terminal 120 through a network, and may also form a connection with the first terminal 110 at the same time.
在一种可选的实施方式中,服务端130包括业务服务端1301和基础服务端1302。业务服务端1301负责对第二终端120提供App安装服务,例如向第二终端120提供待安装的App列表;基础服务端1302负责提供App搜索与安装包获取等基础性服务。In an optional implementation manner, the server 130 includes a business server 1301 and a basic server 1302 . The business server 1301 is responsible for providing App installation services to the second terminal 120, for example, providing the second terminal 120 with a list of apps to be installed; the basic server 1302 is responsible for providing basic services such as App search and installation package acquisition.
本公开示例性实施方式中的应用程序的安装处理方法,可以由上述第二终端120或服务端130执行。为了实现该方法,本公开的示例性实施方式还提供了电子设备,其可以是第二终端120或服务端130。一般的,电子设备包括处理器和存储器。存储器用于存储处理器的可执行指令,也可以存储应用数据,如图像数据、游戏数据等;处理器配置为经由执行可执行指令来执行本示例性实施方式中的应用程序的安装处理方法。The application installation processing method in the exemplary embodiment of the present disclosure may be executed by the second terminal 120 or the server 130 described above. In order to implement the method, the exemplary embodiment of the present disclosure further provides an electronic device, which may be the second terminal 120 or the server 130 . Typically, an electronic device includes a processor and a memory. The memory is used to store executable instructions of the processor, and may also store application data, such as image data, game data, etc.; the processor is configured to execute the application installation processing method in this exemplary embodiment by executing the executable instructions.
下面以图2中的移动终端200为例,对上述电子设备的构造进行示例性说明。本领域技术人员应当理解,除了特别用于移动目的的部件之外,图2中的构造也能够应用于固定类型的设备。The following takes the mobile terminal 200 in FIG. 2 as an example to illustrate the structure of the above electronic device. It will be understood by those skilled in the art that the configuration in Figure 2 can also be applied to stationary type devices, in addition to components specifically for mobile purposes.
如图2所示,移动终端200具体可以包括:处理器210、内部存储器221、外部存储 器接口222、USB(Universal Serial Bus,通用串行总线)接口230、充电管理模块240、电源管理模块241、电池242、天线1、天线2、移动通信模块250、无线通信模块260、音频模块270、扬声器271、受话器272、麦克风273、耳机接口274、传感器模块280、显示屏290、摄像模组291、指示器292、马达293、按键294以及用户标识模块(Subscriber Identification Module,SIM)卡接口295等。As shown in FIG. 2, the mobile terminal 200 may specifically include: a processor 210, an internal memory 221, an external memory interface 222, a USB (Universal Serial Bus, Universal Serial Bus) interface 230, a charging management module 240, a power management module 241, Battery 242, Antenna 1, Antenna 2, Mobile Communication Module 250, Wireless Communication Module 260, Audio Module 270, Speaker 271, Receiver 272, Microphone 273, Headphone Interface 274, Sensor Module 280, Display Screen 290, Camera Module 291, Indication 292, a motor 293, a key 294, a Subscriber Identification Module (SIM) card interface 295, and the like.
处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(Application Processor,AP)、调制解调处理器、图形处理器(Graphics Processing Unit,GPU)、图像信号处理器(Image Signal Processor,ISP)、控制器、编码器、解码器、数字信号处理器(Digital Signal Processor,DSP)、基带处理器和/或神经网络处理器(Neural-Network Processing Unit,NPU)等。The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (Application Processor, AP), a modem processor, a graphics processor (Graphics Processing Unit, GPU), an image signal processor (Image Signal Processor, ISP), controller, encoder, decoder, digital signal processor (Digital Signal Processor, DSP), baseband processor and/or neural network processor (Neural-Network Processing Unit, NPU), etc.
在一些实施方式中,处理器210可以包括一个或多个接口,通过不同的接口和移动终端200的其他部件形成连接。In some embodiments, the processor 210 may include one or more interfaces through which connections are formed with other components of the mobile terminal 200 .
内部存储器221可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器221可以包括易失性存储器,如DRAM(Dynamic Random Access Memory,动态随机存储器)、SRAM(Static Random Access Memory,静态随机存储器),还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件等。外部存储器接口222可以用于连接外部存储器,实现扩展移动终端200的存储能力。Internal memory 221 may be used to store computer executable program code, which includes instructions. The internal memory 221 may include volatile memory, such as DRAM (Dynamic Random Access Memory, dynamic random access memory), SRAM (Static Random Access Memory, static random access memory), and may also include non-volatile memory, such as at least one disk storage device , Flash memory devices, etc. The external memory interface 222 can be used to connect an external memory, so as to expand the storage capacity of the mobile terminal 200 .
USB接口230是符合USB标准规范的接口,可以用于连接充电器为移动终端200充电,也可以连接耳机或其他电子设备。The USB interface 230 is an interface conforming to the USB standard specification, and can be used to connect a charger to charge the mobile terminal 200, and can also be connected to an earphone or other electronic devices.
充电管理模块240用于从充电器接收充电输入。充电管理模块240为电池242充电的同时,还可以通过电源管理模块241为设备供电;电源管理模块241还可以监测电池的状态。The charging management module 240 is used to receive charging input from the charger. While charging the battery 242, the charging management module 240 can also supply power to the device through the power management module 241; the power management module 241 can also monitor the state of the battery.
移动终端200的无线通信功能可以通过天线1、天线2、移动通信模块250、无线通信模块260、调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。移动通信模块250可以提供应用在移动终端200上的包括2G/3G/4G/5G等无线通信的解决方案。无线通信模块260可以提供应用在移动终端200上的包括无线局域网(Wireless Local Area Networks,WLAN)(如无线保真(Wireless Fidelity,Wi-Fi)网络)、蓝牙(Bluetooth,BT)、全球导航卫星系统(Global Navigation Satellite System,GNSS)、调频(Frequency Modulation,FM)、近距离无线通信技术(Near Field Communication,NFC)、红外技术(Infrared,IR)等无线通信解决方案。The wireless communication function of the mobile terminal 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, 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. The mobile communication module 250 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the mobile terminal 200 . The wireless communication module 260 can provide applications on the mobile terminal 200 including wireless local area networks (Wireless Local Area Networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) networks), Bluetooth (Bluetooth, BT), global navigation satellite Wireless communication solutions such as Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), and Infrared (IR).
移动终端200可以通过GPU、显示屏290及应用处理器等实现显示功能,可以通过ISP、摄像模组291、编码器、解码器、GPU、显示屏290及应用处理器等实现拍摄功能,还可以通过音频模块270、扬声器271、受话器272、麦克风273、耳机接口274及应用处理器等实现音频功能。The mobile terminal 200 can realize the display function through the GPU, the display screen 290 and the application processor, etc., can realize the shooting function through the ISP, the camera module 291, the encoder, the decoder, the GPU, the display screen 290 and the application processor, etc., and can also realize the shooting function. The audio function is realized by the audio module 270 , the speaker 271 , the receiver 272 , the microphone 273 , the headphone interface 274 and the application processor.
传感器模块280可以包括深度传感器2801、压力传感器2802、陀螺仪传感器2803、气压传感器2804等。The sensor module 280 may include a depth sensor 2801, a pressure sensor 2802, a gyro sensor 2803, an air pressure sensor 2804, and the like.
指示器292可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。马达293可以产生振动提示,也可以用于触摸振动反馈等。按键294包括开机键,音量键等。The indicator 292 can be an indicator light, which can be used to indicate the charging status, the change of power, and can also be used to indicate messages, missed calls, notifications, and the like. The motor 293 can generate vibration prompts, and can also be used for touch vibration feedback and the like. The keys 294 include a power-on key, a volume key, and the like.
移动终端200可以支持一个或多个SIM卡接口295,用于连接SIM卡,以实现语音通话与移动通信。The mobile terminal 200 may support one or more SIM card interfaces 295 for connecting SIM cards to realize voice calls and mobile communications.
图3示出了本示例性实施方式中一种应用程序的安装处理方法的流程,可以包括:FIG. 3 shows the flow of an application installation processing method in this exemplary embodiment, which may include:
步骤S310,获取第一终端的桌面图像;Step S310, obtaining the desktop image of the first terminal;
步骤S320,通过桌面图像中的文字和/或图标,识别桌面图像中的应用程序;Step S320, identifying the application program in the desktop image through the text and/or icon in the desktop image;
步骤S330,根据桌面图像中的应用程序确定第二终端的待安装应用程序。Step S330: Determine the application to be installed on the second terminal according to the application in the desktop image.
通过上述方法,根据第一终端的桌面中的应用程序确定第二终端的待安装应用程序。一方面,当用户从旧的第一终端更换为新的第二终端时,基于桌面图像的识别,确定第二终端的待安装应用程序,无需对第一终端的应用程序数据进行扫描与解析,有利于实现应用程序的快速迁移。另一方面,无需从第一终端读取相关数据,因此降低了第一终端中敏感信息泄露的风险,并且无需建立第一终端与第二终端的连接,使得本方案能够适用于更多场景。再一方面,通过拍照、扫描等简单的图像采集操作即可实现整个处理流程,简化了用户操作,提高了用户体验。Through the above method, the application to be installed of the second terminal is determined according to the application in the desktop of the first terminal. On the one hand, when the user changes from the old first terminal to the new second terminal, the application to be installed on the second terminal is determined based on the recognition of the desktop image, without scanning and parsing the application data of the first terminal, Conducive to the rapid migration of applications. On the other hand, there is no need to read relevant data from the first terminal, thus reducing the risk of sensitive information leakage in the first terminal, and there is no need to establish a connection between the first terminal and the second terminal, making the solution applicable to more scenarios. On the other hand, the entire processing process can be realized through simple image acquisition operations such as taking pictures and scanning, which simplifies user operations and improves user experience.
下面分别对图3中的每个步骤做具体说明。Each step in FIG. 3 will be described in detail below.
步骤S310中,获取第一终端的桌面图像。In step S310, a desktop image of the first terminal is acquired.
第一终端的桌面可以包括第一终端所安装的App图标与图标下方的App名称,因此桌面图像能够体现第一终端的App信息。可以通过对第一终端的桌面进行拍照或截屏等方式获得桌面图像。例如,第一终端对桌面截屏后,将截取的桌面图像发送至第二终端或服务端。The desktop of the first terminal may include the icon of the App installed on the first terminal and the name of the App below the icon, so the desktop image can reflect the App information of the first terminal. The desktop image may be obtained by taking a photo or a screenshot of the desktop of the first terminal. For example, after the first terminal takes a screenshot of the desktop, it sends the captured desktop image to the second terminal or the server.
在一种可选的实施方式中,步骤310可以包括:In an optional embodiment, step 310 may include:
控制摄像头开启,以对第一终端的桌面进行图像采集;controlling the camera to be turned on to capture images of the desktop of the first terminal;
获取所采集的一帧或多帧桌面图像。Acquire one or more of the captured desktop images.
例如,第二终端开启摄像头,通过拍照、扫描等方式对第一终端的桌面进行图像采集。在一种可选的实施方式中,可以在系统界面、App商店或者App迁移软件中增加“扫一扫”的功能。当用户选择该功能时,开启摄像头,同时显示图像扫描的界面,该界面中可以包括扫描框,用户将扫描框对准第一终端的桌面,所采集的扫描图像即为桌面图像。由此实现了通过简单的操作以及可视化的方式获取桌面图像,降低了用户使用相关功能的学习成本。For example, the second terminal turns on the camera, and captures images of the desktop of the first terminal by taking pictures, scanning, or the like. In an optional implementation manner, a "scan" function may be added to the system interface, the App store, or the App migration software. When the user selects this function, the camera is turned on and an image scanning interface is displayed at the same time. The interface may include a scanning frame. The user aligns the scanning frame with the desktop of the first terminal, and the scanned image collected is the desktop image. As a result, the desktop image can be obtained through simple operation and visualization, and the learning cost of the user using the related functions is reduced.
在图像采集过程中,实际采集得到图像可以包括拍照图像、扫描图像、预览图像等,其数量通常不止一帧,可以将所采集的全部图像均作为桌面图像,也可以选取其中的一部分作为桌面图像。In the process of image collection, the actual collected images may include photographed images, scanned images, preview images, etc. The number of images is usually more than one frame. All the collected images can be used as desktop images, or a part of them can be selected as desktop images. .
在采集桌面图像的过程中可能产生无用图像,例如用户未对准第一终端的桌面时所采集的图像,用户手部抖动时所采集的模糊图像等。如果将这些无用图像也作为桌面图像,并在后续步骤中进行识别处理,会导致系统资源的浪费。基于此,在一种可选的实施方式中,参考图4所示,可以通过以下步骤来实现桌面图像的获取:In the process of collecting desktop images, useless images may be generated, such as images collected when the user is not aiming at the desktop of the first terminal, blurred images collected when the user's hand shakes, and the like. If these useless images are also used as desktop images and are identified in subsequent steps, system resources will be wasted. Based on this, in an optional implementation manner, as shown in FIG. 4 , the acquisition of the desktop image can be achieved through the following steps:
步骤S410,在进行图像采集的过程中,确定起始帧;Step S410, in the process of image acquisition, determine the starting frame;
步骤S420,从起始帧开始,将所采集的一帧或多帧图像作为桌面图像。In step S420, starting from the initial frame, the captured image of one or more frames is used as the desktop image.
在拍照或扫描的场景中,开启摄像头后,用户一般需要调整摄像头的位置或角度,以对准第一终端的桌面,这需要一定的时间。因此采集的前数帧图像通常为无用图像,从某一帧开始,摄像头已准确、稳定地对准第一终端的桌面,该帧即为起始帧。此后所采集的图像均可以是以第一终端的桌面为主要图像内容的图像,能够作为桌面图像。由此,相当于对所采集的全部图像进行了筛选,保留了能够准确体现第一终端桌面内容的图像,减少对无用图像的处理,改善系统资源的浪费情况。In the scene of taking pictures or scanning, after the camera is turned on, the user generally needs to adjust the position or angle of the camera to aim at the desktop of the first terminal, which takes a certain amount of time. Therefore, the first few frames of images collected are usually useless images. Starting from a certain frame, the camera has been accurately and stably aimed at the desktop of the first terminal, and this frame is the starting frame. The images collected thereafter can all be images with the desktop of the first terminal as the main image content, and can be used as desktop images. Therefore, it is equivalent to screening all the collected images, retaining the images that can accurately reflect the desktop content of the first terminal, reducing the processing of useless images, and improving the waste of system resources.
下面提供几种确定起始帧的示例性方式:Several exemplary ways of determining the start frame are provided below:
(1)参考图5所示,步骤S410可以通过以下步骤实现:(1) Referring to Fig. 5, step S410 can be realized by the following steps:
步骤S510,在进行图像采集的过程中,确定每一帧图像的相对变化量;Step S510, in the process of image acquisition, determine the relative change amount of each frame of image;
步骤S520,当连续N帧图像的相对变化量均小于变化量阈值时,从该连续N帧图像中确定起始帧。Step S520 , when the relative change amounts of the consecutive N frames of images are all smaller than the change amount threshold, determine the start frame from the consecutive N frames of images.
其中,相对变化量是指图像相对于前一帧图像的变化量,可以通过任意一种或多种图像参数的变化量来进行表征,图像参数包括但不限于图像像素值、颜色、亮度、灰度等。Among them, the relative change refers to the change of the image relative to the previous frame of image, which can be characterized by the change of any one or more image parameters, including but not limited to image pixel value, color, brightness, gray degree, etc.
在一种可选的实施方式中,可以根据当前帧图像的颜色分布数据相对于前一帧图像的 颜色分布数据的变化量,确定当前帧图像的相对变化量。例如,将颜色空间预先划分为多个子空间,统计当前帧图像的像素在不同子空间的分布,计算每个子空间内的像素比例值,将像素比例值按照子空间的顺序进行排列,形成当前帧图像的颜色分布向量;采用同样的方式对前一帧图像进行处理,得到前一帧图像的颜色分布向量;计算两个颜色分布向量之间的距离(如欧式距离、曼氏距离等),作为相对变化量。或者,统计当前帧图像与前一帧图像的颜色直方图,计算两个颜色直方图之间的差值(如计算两个颜色直方图对应的曲线之间的差值),作为相对变化量。In an optional implementation manner, the relative change amount of the current frame image may be determined according to the change amount of the color distribution data of the current frame image relative to the color distribution data of the previous frame image. For example, divide the color space into multiple subspaces in advance, count the distribution of the pixels of the current frame image in different subspaces, calculate the pixel ratio value in each subspace, and arrange the pixel ratio values in the order of the subspaces to form the current frame. The color distribution vector of the image; process the previous frame image in the same way to obtain the color distribution vector of the previous frame image; calculate the distance between the two color distribution vectors (such as Euclidean distance, Mansfield distance, etc.), as relative change. Or, count the color histograms of the current frame image and the previous frame image, and calculate the difference between the two color histograms (eg, calculate the difference between the curves corresponding to the two color histograms) as the relative change.
在一种可选的实施方式中,可以通过CNN(Convolutional Neural Network,卷积神经网络)等模型分别从当前帧图像与前一帧图像中提取特征向量,计算两个特征向量之间的距离,作为相对变化量。In an optional embodiment, a feature vector can be extracted from the current frame image and the previous frame image through models such as CNN (Convolutional Neural Network, convolutional neural network), respectively, and the distance between the two feature vectors can be calculated, as a relative change.
当用户调整摄像头时,前后不同帧之间的图像变化较大,而当摄像头调整结束,稳定地对准第一终端的桌面时,所前后不同帧之间的图像变化较小。因此,当连续N帧图像的相对变化量均小于预设的变化量阈值时,可以确定摄像头已经稳定地对准第一终端的桌面,进而可以确定起始帧。When the user adjusts the camera, the image changes between different frames before and after are relatively large, and when the camera is adjusted and stably aimed at the desktop of the first terminal, the image changes between the different frames before and after are small. Therefore, when the relative changes of images of consecutive N frames are smaller than the preset change threshold, it can be determined that the camera has been stably aimed at the desktop of the first terminal, and then the starting frame can be determined.
N表示图像连续稳定的需求数量,为不小于2的正整数,具体可以根据经验或实际情况进行设定。一般的,图像采集的频率越高,N的值越大。N represents the required number of images for continuous stabilization, which is a positive integer not less than 2, which can be set according to experience or actual conditions. Generally, the higher the frequency of image acquisition, the larger the value of N.
变化量阈值是衡量连续两帧图像是否稳定的标准化阈值,可以根据经验或实际情况进行设定。当采用不同的图像参数计算相对变化量时,变化量阈值也可以适应性调整。The change threshold is a standardized threshold for measuring whether two consecutive frames of images are stable, and can be set according to experience or actual conditions. When using different image parameters to calculate the relative change, the change threshold can also be adjusted adaptively.
在一种可选的实施方式中,当为N设置较大的数值时,可以适当地降低变化量阈值,或者当设置较高的变化量阈值时,可以适当地降低N的数值;反之亦然。In an optional implementation manner, when a larger value is set for N, the variation threshold can be appropriately lowered, or when a higher variation threshold is set, the value of N can be appropriately lowered; and vice versa .
当检测到连续N帧图像的相对变化量均小于变化量阈值时,可以将该N帧图像中的任一帧作为起始帧,如以N帧图像中的第一帧或最后一帧为起始帧。When it is detected that the relative changes of consecutive N frames of images are all smaller than the change threshold, any frame of the N frames of images can be used as the starting frame, for example, the first frame or the last frame of the N frames of images is used as the starting frame. start frame.
举例来说,设置N为10,变化量阈值为0.2;在图像采集的过程中,每采集一帧图像,解析其颜色分布数据,并与前一帧图像的颜色分布数据进行对比,计算相对变化量;当检测到连续10帧图像,其中的每一帧图像相比于前一帧图像的颜色分布数据变化量均低于0.2,则在这10帧图像中确定起始帧。For example, set N to 10 and the change threshold to 0.2; in the process of image acquisition, every time a frame of image is collected, its color distribution data is analyzed and compared with the color distribution data of the previous frame image to calculate the relative change When 10 consecutive frames of images are detected, and the change in the color distribution data of each frame of images compared to the previous frame of images is less than 0.2, then the starting frame is determined in these 10 frames of images.
(2)参考图6所示,步骤S410可以通过以下步骤实现:(2) Referring to Fig. 6, step S410 can be realized by the following steps:
步骤S610,在进行图像采集的过程中,对所采集的图像进行目标检测;Step S610, in the process of image acquisition, perform target detection on the acquired image;
步骤S620,当检测到预设类别的目标时,将所检测的图像确定为起始帧。Step S620, when a target of a preset category is detected, the detected image is determined as the starting frame.
目标检测是指检测中图像中的物体或特定对象,可以通过CNN、RCNN(Recurrent CNN,循环卷积神经网络)、SSD(Single Shot MultiBox Detector,单步多框检测)等目标检测模型进行处理。目标检测检测模型一般包括输入层、隐含层和输出层;输入层用于接收图像的输入;隐含层用于对输入的图像进行处理;输出层用于输出对图像处理的结果,该结果可以包括所检测的每个目标的类别、位置、尺寸等信息。Target detection refers to the detection of objects or specific objects in the image, which can be processed by target detection models such as CNN, RCNN (Recurrent CNN, recurrent convolutional neural network), SSD (Single Shot MultiBox Detector, single-step multi-box detection). The target detection detection model generally includes an input layer, a hidden layer and an output layer; the input layer is used to receive the input of the image; the hidden layer is used to process the input image; the output layer is used to output the result of the image processing. Information such as category, location, size, etc. of each detected target can be included.
本示例性实施方式中,预设类别可以是与第一终端的桌面有相关性的类别,如移动终端、桌面、图标等。当从图像中检测到目标、且目标的类别为预设类别时,确定摄像头当前已对准第一终端的桌面,因此可以将该图像确定为起始帧图像。In this exemplary embodiment, the preset category may be a category related to the desktop of the first terminal, such as a mobile terminal, a desktop, an icon, and the like. When a target is detected from the image and the target category is a preset category, it is determined that the camera is currently aimed at the desktop of the first terminal, so the image can be determined as the initial frame image.
(3)在进行图像采集的过程中,确定每一帧图像与前一帧图像之间的光流,当连续N帧图像的光流中的像素点数量均小于数量阈值时,从该连续N帧图像中确定起始帧。光流可用于度量相邻两帧图像之间的变化,一般的,光流中包含的像素点数量越多,表示变化越大。因此,可以根据经验或实际情况设定关于光流中像素点数量的数量阈值。当光流中的像素点数量小于数量阈值时,表示前后两帧图像基本一致;当连续N帧图像的光流中的像素点数量均小于数量阈值时,表示摄像头已经稳定,可以从中确定起始帧。(3) In the process of image acquisition, determine the optical flow between each frame of image and the previous frame of image, when the number of pixels in the optical flow of consecutive N frames of images is less than the number threshold, from the continuous N Determine the start frame in the frame image. Optical flow can be used to measure the change between two adjacent frames of images. Generally, the more pixels contained in the optical flow, the greater the change. Therefore, the number threshold of the number of pixels in the optical flow can be set according to experience or actual conditions. When the number of pixels in the optical flow is less than the number threshold, it means that the two frames of images before and after are basically the same; when the number of pixels in the optical flow of consecutive N frames of images is less than the number threshold, it means that the camera has stabilized, and the starting point can be determined from it. frame.
(4)使用第二终端扫描第一终端的桌面图像时,为了保证第二终端不发生剧烈晃动,可以获取第二终端的位姿数据,如通过内置的IMU(Inertial Measurement Unit,惯性测量 单元)测量位姿数据;然后检测位姿数据是否稳定,如判断前后相邻两时间戳的位姿数据差值小于预设的位姿差阈值;将连续多个(如连续N个)位姿数据保持稳定作为判断起始帧的方式之一。具体地,在采集图像的过程中,可以同步测量位姿数据,将每个时间戳的位姿数据形成位姿向量,与上一时间戳的位姿向量计算距离,以得到当前时间戳相对于上一时间戳的位姿数据差值,并与预设的位姿差阈值进行比较,若位姿数据差值小于该阈值,说明当前时间戳的位姿数据稳定,第二终端未发生明显抖动,由此,当连续N个时间戳的位姿数据均保持稳定时,可以将这连续N个时间戳的时间段内所采集的任一帧图像确定为起始帧。(4) When using the second terminal to scan the desktop image of the first terminal, in order to ensure that the second terminal does not shake violently, the pose data of the second terminal can be obtained, for example, through the built-in IMU (Inertial Measurement Unit, inertial measurement unit) Measure the pose data; then check whether the pose data is stable, such as judging that the difference between the pose data between the two adjacent timestamps is less than the preset pose difference threshold; keep multiple (such as N consecutive) pose data in a row Stabilization is one of the ways to judge the starting frame. Specifically, in the process of collecting images, the pose data can be measured synchronously, the pose data of each timestamp is formed into a pose vector, and the distance from the pose vector of the previous timestamp can be calculated to obtain the relative value of the current timestamp relative to the current timestamp. The pose data difference of the last timestamp is compared with the preset pose difference threshold. If the pose data difference is less than the threshold, it means that the pose data of the current timestamp is stable, and the second terminal does not experience significant jitter. , thus, when the pose data of the consecutive N time stamps are all kept stable, any frame image collected in the time period of the consecutive N time stamps can be determined as the starting frame.
实际应用中,可以对上述方式进行任意组合,例如采用上述方式(1)、(2)的组合,同时进行图像颜色分布数据的稳定性检测与目标检测,当连续N帧图像的颜色分布数据保持稳定,且检测到预设类别的目标时,确定起始帧。In practical applications, any combination of the above methods can be carried out. For example, the combination of the above methods (1) and (2) can be used to perform the stability detection and target detection of the image color distribution data at the same time. When the color distribution data of consecutive N frames of images remain When it is stable and a target of the preset class is detected, the starting frame is determined.
在扫描第一终端的桌面以进行图像采集的过程中,通过上述确定起始帧的方式,可以得到有效的桌面图像,相比于拍摄第一终端的桌面图像的方式,消除了拍摄中可能发生的画面抖动、聚焦不佳等异常情况,保证了桌面图像的质量;相比于第一终端桌面截屏的方式,无需从第一终端获取截屏图像,进而无需使第一终端与第二终端建立连接,甚至可以在第一终端无网络的情况下实现桌面图像的获取,例如从第一终端取出SIM卡后,第一终端无网络服务,此时也可以采用第二终端扫描其桌面得到桌面图像,因此该方法适用于更多的场景。In the process of scanning the desktop of the first terminal for image acquisition, the above method of determining the starting frame can obtain an effective desktop image. Compared with the method of photographing the desktop image of the first terminal, it eliminates the possibility of occurrence during photographing. Compared with the way of taking screenshots of the desktop of the first terminal, there is no need to obtain a screenshot image from the first terminal, and there is no need to establish a connection between the first terminal and the second terminal. , the desktop image can be obtained even when the first terminal has no network. For example, after taking out the SIM card from the first terminal, the first terminal has no network service. At this time, the second terminal can also be used to scan its desktop to obtain the desktop image. Therefore, this method is suitable for more scenarios.
在一种可选的实施方式中,可以预先设置桌面图像的数量M,则确定起始帧后,可以获取起始帧以及后续的M-1帧,得到M帧桌面图像。In an optional implementation manner, the number M of desktop images may be preset, and after the start frame is determined, the start frame and subsequent M-1 frames may be acquired to obtain M frames of desktop images.
在一种可选的实施方式中,在确定起始帧后,可以先确定起始帧这一帧图像为桌面图像,并进行后续处理。若后续处理过程正常,则无需再获取更多的桌面图像;若后续处理过程异常,如无法对桌面图像进行识别,则可以在起始帧后选取更多的桌面图像,并再次进行后续处理。In an optional implementation manner, after the start frame is determined, the frame image of the start frame may be determined as a desktop image, and subsequent processing is performed. If the subsequent processing process is normal, there is no need to acquire more desktop images; if the subsequent processing process is abnormal, such as the desktop image cannot be identified, more desktop images can be selected after the initial frame and the subsequent processing is performed again.
进一步的,从起始帧开始,可以每次仅选取一帧图像为桌面图像,并进行后续处理,若后续处理过程正常,则流程结束,若后续处理过程异常,则在当前所选的桌面图像之后,再选取一帧图像(如可以选取后一帧图像,也可以间隔一定的帧数后选取一帧图像)为桌面图像;由此循环,直到后续处理过程正常,流程结束。这样进一步减少了所需处理的桌面图像数量,提高了效率。Further, starting from the starting frame, only one frame of image can be selected as the desktop image at a time, and subsequent processing can be performed. If the subsequent processing process is normal, the process ends. If the subsequent processing process is abnormal, the currently selected desktop image After that, select another frame of image (for example, the next frame of image can be selected, or a frame of image can be selected after a certain number of frames) as the desktop image; this cycle is repeated until the subsequent processing process is normal, and the process ends. This further reduces the number of desktop images that need to be processed, increasing efficiency.
需要说明的是,第一终端可能包括多个桌面,例如其App数量较多,占用了3个桌面页面。则可以分别对每个桌面进行图像采集,并在后续分别对每张桌面图像进行处理。It should be noted that the first terminal may include multiple desktops, for example, the number of apps thereof is large, occupying 3 desktop pages. Then, image acquisition can be performed on each desktop separately, and each desktop image can be processed separately in the subsequent process.
继续参考图3,步骤S320中,通过桌面图像中的文字和/或图标,识别桌面图像中的应用程序。Continuing to refer to FIG. 3 , in step S320 , the applications in the desktop image are identified by the text and/or icons in the desktop image.
图7为桌面图像的示意图,图7中包括文字和图标。文字是指App名称的文字,如“AA新闻”、“BB音乐”等;图标即App图标,如“AA新闻”与“BB音乐”上方的图标等。这两种信息是桌面图像中的主要信息,通过这两种信息,可以识别桌面图像中有哪些应用程序,相当于识别第一终端安装有哪些应用程序。FIG. 7 is a schematic diagram of a desktop image, and FIG. 7 includes text and icons. The text refers to the text of the App name, such as "AA News", "BB Music", etc.; the icon is the App icon, such as the icons above "AA News" and "BB Music". These two kinds of information are the main information in the desktop image, and through these two kinds of information, it is possible to identify which applications are in the desktop image, which is equivalent to identifying which applications are installed in the first terminal.
一般的,桌面图像中的文字与图标是成对出现的,即每个App均有一行名称文字以及对应的一个图标。因此,可以将这部分信息单独提取出来进行识别,而不对桌面图像中的其他信息(如桌面背景)进行处理。在一种可选的实施方式中,参考图8所示,步骤S320可以包括:Generally, text and icons in the desktop image appear in pairs, that is, each App has a line of name text and a corresponding icon. Therefore, this part of information can be extracted separately for identification without processing other information (such as desktop background) in the desktop image. In an optional implementation manner, referring to FIG. 8 , step S320 may include:
步骤S810,从桌面图像中提取一个或多个待识别目标,每个待识别目标包括一条文字和一个图标;Step S810, extracting one or more targets to be identified from the desktop image, each target to be identified includes a text and an icon;
步骤S820,根据待识别目标中的文字和/或图标,识别待识别目标对应的应用程序。Step S820, according to the text and/or icon in the to-be-recognized target, identify the application program corresponding to the to-be-recognized target.
待识别目标中的文字和图标可以分别进行提取。The text and icons in the target to be recognized can be extracted separately.
文字的提取可以通过OCR(Optical Character Recognition,光学字符识别)等算法实现。OCR是通过检测暗、亮的方式确定图像中所包含的字符形状,然后用字符识别的方式将其翻译成计算机文字。具体地,首先可以将背景图像进行灰度与二值化处理,以区分图像的背景和前景;然后对图像进行优化校正,例如降噪、倾斜校正等;再对前景部分提取字符特征;最后通过与字符数据库中的数据进行对比,识别出桌面图像中的字符。在识别字符后,根据字符在桌面图像中的不同位置,整理为一条条文字。Text extraction can be achieved by algorithms such as OCR (Optical Character Recognition, Optical Character Recognition). OCR is to determine the shape of the characters contained in the image by detecting the dark and bright, and then translate it into computer text by means of character recognition. Specifically, grayscale and binarization can be performed on the background image to distinguish the background and foreground of the image; then the image is optimized and corrected, such as noise reduction, tilt correction, etc.; character features are extracted from the foreground part; The characters in the desktop image are identified by comparison with the data in the character database. After the characters are recognized, they are organized into texts according to the different positions of the characters in the desktop image.
图标的提取可以通过边缘检测、形状检测等算法实现。例如,检测桌面图像中的连通区域,将像素值发生突变的部分确定为边缘,由此得到多个独立的连通区域;由于图标一般为圆角正方形,检测连通区域的形状,将圆角正方形的连通区域提取出来,得到图标。也可以通过CNN等模型检测桌面图像中的图标及其位置,从而实现图标的提取。The extraction of icons can be realized by algorithms such as edge detection and shape detection. For example, detect the connected area in the desktop image, and determine the part where the pixel value suddenly changes as the edge, so as to obtain multiple independent connected areas; since the icon is generally a rounded square, the shape of the connected area is detected, and the rounded square is The connected area is extracted to get the icon. It is also possible to detect icons and their positions in desktop images through models such as CNN, so as to achieve icon extraction.
在一种可选的实施方式中,还可以根据桌面图像中第一终端的边框位置以及桌面的格点排列规则对所提取的文字或图标进行过滤。举例来说,将识别到的位于边框外的文字或图标删除;桌面的格点排列为3*4,若识别到某一行存在4个图标,则说明有一个为误识别对象,可以通过与下一行的图标进行对齐,删除多余的一个图标,等等。In an optional implementation manner, the extracted text or icons may also be filtered according to the border position of the first terminal in the desktop image and the grid arrangement rule of the desktop. For example, delete the recognized text or icon outside the border; the grid points on the desktop are arranged as 3*4, if there are 4 icons in a row, it means that one of them is a misrecognized object. Align icons in a row, delete an extra icon, and so on.
每个App的文字和图标存在固定的位置关系,如图7所示,文字一般位于图标正下方。由此,根据所提取的文字和图标的位置信息,将文字和图标关联起来,一个文字关联一个图标,两者形成一个待识别目标。例如将满足下列条件的文字和图标进行关联:图标的中点横坐标与文字的中点横坐标相同,图标的下边框纵坐标与文字的上边框纵坐标相同(或差值小于一定阈值)。随后,分别对每个待识别目标中的文字、图标进行识别,以确定是哪个应用程序。There is a fixed positional relationship between the text and the icon of each App. As shown in Figure 7, the text is generally located directly below the icon. Therefore, according to the extracted position information of the text and the icon, the text and the icon are associated, and one text is associated with an icon, and the two form a target to be recognized. For example, associate text and icons that meet the following conditions: the abscissa of the midpoint of the icon is the same as the abscissa of the midpoint of the text, and the ordinate of the lower border of the icon is the same as the ordinate of the upper border of the text (or the difference is less than a certain threshold). Then, the characters and icons in each target to be recognized are respectively recognized to determine which application program it is.
采用文字和图标中的任一方面信息,均可以识别出对应的应用程序,也可以结合文字和图标两方面信息来识别应用程序,以提高准确度。The corresponding application program can be identified by using any aspect of the information in the text and the icon, and the application program can also be identified by combining the two aspects of the information in the text and the icon, so as to improve the accuracy.
在一种可选的实施方式中,参考图9所示,步骤S320可以包括:In an optional implementation manner, referring to FIG. 9 , step S320 may include:
步骤S910,将桌面图像中的每一条文字分别与应用程序名称进行匹配,根据匹配结果确定文字信息对应的应用程序。Step S910: Match each text in the desktop image with the name of the application program, and determine the application program corresponding to the text information according to the matching result.
其中,应用程序名称是应用程序库中每个应用程序的标准化名称。在从桌面图像中提取文字后,可能存在一定的误识别情况,例如将某个文字识别为字形相近的其他文字,如将“AA新闻”识别为“AA新间”。通过与标准化的应用程序名称进行匹配,可以对上述误识别情况进行矫正。文字与应用程序名称的匹配,包括但不限于以下方式:where app_name is the standardized name for each app in the app library. After the text is extracted from the desktop image, there may be some misrecognition, such as recognizing a certain character as other characters with similar glyphs, such as recognizing "AA News" as "AA Xinjian". The above misidentifications can be corrected by matching against standardized application names. Matching of text to application name, including but not limited to the following ways:
可以对文字与应用程序名称进行字符匹配,如检测相同字符所占的比例是否高于一定阈值(如50%,可根据经验或实际情况设定),检测不相同的字符是否为字形相近的字符,当满足这两个条件时,判断文字与应用程序名称匹配成功,确定该文字即为该应用程序名称,从而确定应用程序。Character matching can be performed on the text and the application name, such as detecting whether the proportion of the same characters is higher than a certain threshold (such as 50%, which can be set according to experience or actual conditions), and detecting whether different characters are characters with similar glyphs , when these two conditions are met, it is judged that the text matches the name of the application program successfully, and it is determined that the text is the name of the application program, thereby determining the application program.
可以采用相同的字体分别绘制文字与应用程序名称的二值化图像,再通过LSTM(Long Short-Term Memory,长短期记忆网络)等模型提取图像的序列特征,计算两个序列特征的相似度,当相似度高于一定阈值(如80%,可根据经验或实际情况设定)时,判断文字与应用程序名称匹配成功,确定文字对应的应用程序。The same font can be used to draw the binarized image of the text and the application name, and then the sequence features of the image are extracted by models such as LSTM (Long Short-Term Memory, long short-term memory network), and the similarity of the two sequence features is calculated. When the similarity is higher than a certain threshold (eg, 80%, which can be set according to experience or actual conditions), it is judged that the text and the application name are successfully matched, and the application corresponding to the text is determined.
在一种可选的实施方式中,参考上述图9所示,步骤S320还可以包括:In an optional implementation manner, referring to the above shown in FIG. 9 , step S320 may further include:
步骤S920,当文字与应用程序名称匹配不成功时,根据文字对应的图标确定文字对应的应用程序。Step S920, when the text and the application program name are not successfully matched, determine the application program corresponding to the text according to the icon corresponding to the text.
如果文字误识别情况较严重,与正确的应用程序名称偏差较大,则可能与应用程序库中的所有应用程序名称均匹配不成功,在此情况下,可以采用图标识别的方式来确定应用程序。If the misrecognition of the text is serious and the deviation from the correct application name is large, it may be unsuccessful to match all the application names in the application library. In this case, the icon recognition method can be used to determine the application. .
在一种可选的实施方式中,可以预先训练用于图像分类的CNN模型,分类标签为应用程序名称。由此,将图标输入CNN模型,可以直接输出对应的应用程序名称,非常便 捷。In an optional implementation, a CNN model for image classification can be pre-trained, and the classification label is the application name. Therefore, inputting the icon into the CNN model can directly output the corresponding application name, which is very convenient.
在一种可选的实施方式中,也可以采用图标匹配的方式。参考图10所示,步骤S920可以包括:In an optional implementation manner, a method of icon matching may also be used. Referring to Figure 10, step S920 may include:
步骤S1010,将上述文字对应的图标形成第一图标图像。如可以从桌面图像中截取出图标所在的部分,为第一图标图像。Step S1010, forming the icon corresponding to the above text into a first icon image. For example, the part where the icon is located can be cut out from the desktop image, which is the first icon image.
步骤S1020,将第一图标图像分别与应用程序库中每个应用程序图标所形成的第二图标图像进行匹配。例如采用图像检索的方式,计算第一图标图像与每个第二图标图像的匹配度(或置信度、相似度等,含义基本相同),如分别提取第一图标图像的特征向量与第二图标图像的特征向量,计算特征向量之间的相似度。Step S1020, respectively matching the first icon image with the second icon image formed by each application icon in the application library. For example, image retrieval is used to calculate the matching degree (or confidence, similarity, etc., basically the same meaning) between the first icon image and each second icon image, such as extracting the feature vector of the first icon image and the second icon respectively. The feature vectors of the image, and the similarity between the feature vectors is calculated.
步骤S1030,当存在与第一图标图像的匹配度大于匹配度阈值的第二图标图像时,将该第二图标图像对应的应用程序确定为上述文字对应的应用程序。匹配度阈值是衡量第一图标图像与第二图标图像是否匹配的标准,可以根据经验或实际情况设定,如可以是80%。当第一图标图像与第二图标图像的匹配度大于该阈值时,确定两者匹配,从而确定上述文字或图标对应的应用程序。Step S1030, when there is a second icon image whose matching degree with the first icon image is greater than the matching degree threshold, determine the application program corresponding to the second icon image as the application program corresponding to the above text. The matching degree threshold is a standard for measuring whether the first icon image and the second icon image match, and can be set according to experience or actual conditions, such as 80%. When the degree of matching between the first icon image and the second icon image is greater than the threshold, it is determined that the two match, so as to determine the application corresponding to the above text or icon.
需要说明的是,可能存在多个第二图标图像,其与第一图标图像的匹配度均大于匹配度阈值,可以从中选择匹配度最高的第二图标图像作为匹配结果,也可以将所有的第二图标图像作为匹配结果呈现给用户,由用户从中选择一个图标。还可能未查找到任何与第一图标图像的匹配度大于匹配度阈值的第二图标图像,即匹配不成功的情况,可以呈现匹配不成功的结果,例如将上述文字对应的应用程序标记为“?”、“未知”等。It should be noted that there may be multiple second icon images whose matching degrees with the first icon image are all greater than the matching degree threshold, and the second icon image with the highest matching degree may be selected as the matching result, or all the first icon images may be selected as the matching result. The two icon images are presented to the user as a matching result, and the user selects one icon therefrom. It is also possible that no second icon image whose matching degree with the first icon image is greater than the matching degree threshold is not found, that is, if the matching is unsuccessful, an unsuccessful matching result can be presented, for example, the application corresponding to the above text is marked as "" ?", "Unknown", etc.
图9所示的流程实质上是优先采用文字识别应用程序,在识别不成功的情况下,采用图标识别应用程序。由于大多数情况下通过文字可以准确识别出对应的应用程序,因此图9的流程可以减少处理量,进一步提高效率。The flow shown in FIG. 9 is essentially that the character recognition application is preferentially used, and if the recognition is unsuccessful, the icon recognition application is used. Since the corresponding application program can be accurately identified through the text in most cases, the flow of FIG. 9 can reduce the processing amount and further improve the efficiency.
在一种可选的实施方式中,也可以根据环境与场景的特征,确定采用文字识别或图标识别,一般的,在光照不足、存在反光等环境中,采用文字识别的效果较差,可以采用图标识别。举例来说,可以通过环境光传感器检测环境的光照参数,如果光照参数位于预设的数值范围内(表示光照良好的范围,可以根据经验或实际情况设定),判断光照充足、不存在反光,采用文字识别,否则采用图标识别。In an optional implementation, it can also be determined to use character recognition or icon recognition according to the characteristics of the environment and the scene. Generally, in an environment such as insufficient lighting and reflections, the effect of using character recognition is poor, and the use of text recognition can be used. Icon recognition. For example, the ambient light parameters can be detected by the ambient light sensor. If the light parameters are within the preset value range (indicating the range of good lighting, which can be set according to experience or actual conditions), it is judged that the light is sufficient and there is no reflection. Use text recognition, otherwise use icon recognition.
在一种可选的实施方式中,为了提高准确度,也可以同时对文字与图标进行识别。具体地,可以将文字与应用程序名称匹配,得到第一匹配结果,并将图标与应用程序图标匹配,得到第二匹配结果;然后对比第一匹配结果与第二匹配结果是否相同,如果相同,采用任一匹配结果确定对应的应用程序,如果不相同,则返回匹配不成功的结果;也可以选取第一匹配结果与第二匹配结果中匹配度更高的一个,以确定对应的应用程序。In an optional implementation manner, in order to improve the accuracy, characters and icons may also be recognized at the same time. Specifically, the text can be matched with the application program name to obtain the first matching result, and the icon can be matched with the application program icon to obtain the second matching result; then compare whether the first matching result and the second matching result are the same, if they are the same, Any matching result is used to determine the corresponding application, and if they are not the same, an unsuccessful matching result is returned; the first matching result and the second matching result with a higher degree of matching may also be selected to determine the corresponding application.
通过步骤S320,可以对桌面图像中的每一条文字或图标确定对应的应用程序,从而确定第一终端的应用程序。Through step S320, the corresponding application program can be determined for each text or icon in the desktop image, thereby determining the application program of the first terminal.
继续参考图3,步骤S330中,根据桌面图像中的应用程序确定第二终端的待安装应用程序。Continuing to refer to FIG. 3 , in step S330 , the application to be installed on the second terminal is determined according to the application in the desktop image.
如果需要在第二终端上安装与第一终端完全相同的应用程序,则桌面图像中的应用程序均为第二终端的待安装应用程序。或者,第二终端上可能已经安装了一部分应用程序,从桌面图像的应用程序中排除已安装的应用程序,剩余的为待安装应用程序。又或者,第二终端与第一终端的系统不同,可能存在一些应用程序,其在不同的系统中采用不同的版本或名称,则可以将桌面图像中的应用程序按照第二终端的系统进行适应性转换,得到第二终端的待安装应用程序。If the same application program as that of the first terminal needs to be installed on the second terminal, the application programs in the desktop image are all application programs to be installed on the second terminal. Or, a part of application programs may have been installed on the second terminal, the installed application programs are excluded from the application programs of the desktop image, and the rest are the applications to be installed. Or, if the system of the second terminal is different from that of the first terminal, there may be some application programs, which use different versions or names in different systems, and the application programs in the desktop image can be adapted according to the system of the second terminal. sex conversion to obtain the application to be installed on the second terminal.
在一种可选的实施方式中,参考图11所示,步骤S330可以包括:In an optional implementation manner, referring to FIG. 11 , step S330 may include:
步骤S1110,根据桌面图像中的应用程序生成第一终端的应用程序清单;Step S1110, generating an application list of the first terminal according to the application in the desktop image;
步骤S1120,获取针对第一终端的应用程序清单的用户反馈信息;Step S1120, obtaining user feedback information for the application list of the first terminal;
步骤S1130,根据用户反馈信息确定第二终端的待安装应用程序。Step S1130: Determine the application to be installed on the second terminal according to the user feedback information.
其中,第一终端的应用程序清单可以采用列表或图像等方式呈现。应用程序清单可以展示给用户,并允许用户提交反馈信息,如用户针对清单中的错误提供反馈,或者更改、删除一部分应用程序。进而,根据用户反馈信息,对上述应用程序清单进行调整,得到第二终端的待安装应用程序。The application list of the first terminal may be presented in the form of a list or an image. The application manifest can be displayed to the user and allow the user to submit feedback, such as providing feedback on errors in the manifest, or changing or removing parts of the application. Further, according to the user feedback information, the above application list is adjusted to obtain the application to be installed on the second terminal.
在一种可选的实施方式中,在应用程序清单中,每个应用程序的旁边可以提供多个推荐的同类应用程序,如第一终端安装有“AA新闻”,在应用程序清单中可以推荐“XX新闻”、“YY新闻”,并增加相关的文字说明,如“70%的用户安装了XX新闻”,或展示推荐应用的评分等。本公开对此不做限定。In an optional implementation manner, in the application list, multiple recommended applications of the same type may be provided beside each application. For example, if “AA News” is installed on the first terminal, it can be recommended in the application list. "XX News", "YY News", and add relevant text descriptions, such as "70% of users have installed XX News", or show the ratings of recommended apps, etc. This disclosure does not limit this.
在一种可选的实施方式中,可以根据桌面图像中各应用程序的位置信息,确定待安装应用程序在第二终端的桌面中的位置信息。例如,第二终端与第一终端的屏幕尺寸相同、分辨率设置相同时,两者的桌面格点排列也相同,可以将第一终端的桌面图像中各应用程序的位置信息,作为各应用程序在第二终端的桌面中的位置信息;或者,第二终端与第一终端的桌面格点排列不同时,可以进行相应的转换计算,例如在第一终端的桌面图像中,按照从左到右、从上到下的顺序排列各应用程序,然后再按照第二终端的桌面格点排列进行重排,以确定每个应用程序的位置。由此实现了对第二终端的桌面进行自动布局。In an optional implementation manner, the location information of the application to be installed on the desktop of the second terminal may be determined according to the location information of each application in the desktop image. For example, when the screen size of the second terminal and the first terminal are the same and the resolution settings are the same, the desktop grid arrangement of the two is also the same, and the location information of each application program in the desktop image of the first terminal can be used as each application program. position information on the desktop of the second terminal; or, when the grid points of the desktop of the second terminal are different from those of the first terminal, corresponding conversion calculations can be performed. , Arrange each application program in order from top to bottom, and then rearrange it according to the desktop grid arrangement of the second terminal to determine the position of each application program. Thereby, the automatic layout of the desktop of the second terminal is realized.
在一种可选的实施方式中,还可以根据待安装应用程序在第二终端的桌面中的位置信息,生成第二终端的桌面预览图像,是对待安装应用程序在桌面上的布局所做的预览,使得用户可以直观地看到布局效果。用户还可以在桌面预览图像进行调整,例如更改应用程序的位置等,以确定最终的桌面布局方案。In an optional implementation manner, the desktop preview image of the second terminal may also be generated according to the location information of the application to be installed on the desktop of the second terminal, which is based on the layout of the application to be installed on the desktop Preview allows users to visually see the layout effect. Users can also make adjustments in the desktop preview image, such as changing the location of the application, to determine the final desktop layout scheme.
上述确定待安装应用程序的方法可以部署在服务端执行。参考图12所示,第二终端120上部署“扫一扫”服务的API(Application Programming Interface,应用程序接口),用户进行“扫一扫”操作,得到第一终端的桌面图像,发送至基础服务端1302。基础服务端1302提供识别服务,进行App识别,并提供搜索服务,在搜索服务中,通过从资源服务获取的应用程序库的信息,对App识别结果进行匹配矫正,将最终确定的App信息发送至业务服务端1301。业务服务端1301生成第二终端120的桌面布局,并返回给第二终端120,以进行结果展示。用户可以对桌面布局提出反馈信息,如针对其中的错误识别进行修正,反馈图标与正确的App名称。反馈信息发送至基础服务端1302的资源服务,根据图标与正确的App名称进行资源的纠错更新,以提高后续进行App识别的准确度。随后,基础服务端1302通过资源服务提供App下载,自动下载App到第二终端120上并进行安装。通过图12的方式,将安装处理过程主要部署在服务端执行,减轻了终端侧的压力,并且实现了扫一扫服务与基础服务之间的解耦,有利于灵活部署与扩展相关服务逻辑。The above-mentioned method for determining the application to be installed may be deployed on the server and executed. Referring to FIG. 12 , an API (Application Programming Interface) of the “scanning” service is deployed on the second terminal 120, and the user performs the “scanning” operation to obtain the desktop image of the first terminal and send it to the base Server 1302. The basic server 1302 provides an identification service, performs App identification, and provides a search service. In the search service, through the information of the application library obtained from the resource service, the App identification result is matched and corrected, and the finalized App information is sent to Business server 1301. The service server 1301 generates the desktop layout of the second terminal 120 and returns it to the second terminal 120 for displaying the results. Users can provide feedback on the desktop layout, such as corrections for misidentification, feedback icons and correct App names. The feedback information is sent to the resource service of the basic server 1302, and the resource is corrected and updated according to the icon and the correct App name, so as to improve the accuracy of subsequent App identification. Subsequently, the basic server 1302 provides App download through the resource service, and automatically downloads the App to the second terminal 120 and installs it. Through the method shown in Figure 12, the installation process is mainly deployed on the server side, which reduces the pressure on the terminal side, and realizes the decoupling between the scan service and the basic service, which is conducive to flexible deployment and expansion of related service logic.
图13示出了由第二终端所执行的安装处理方法的示例性流程,包括:FIG. 13 shows an exemplary flow of the installation processing method performed by the second terminal, including:
步骤S1301,用户选择打开扫一扫功能,该功能可以部署为单独的客户端,也可以集成于App商店、系统功能中,同时开启摄像头。In step S1301, the user selects to enable the scan function, which can be deployed as a separate client, or can be integrated into the App store or system functions, and the camera is turned on at the same time.
步骤S1302,摄像头扫描第一终端的桌面图像,判断所扫描的图像是否为起始帧;若是,则执行步骤S1303,若否,则继续判断下一帧图像是否为起始帧。Step S1302, the camera scans the desktop image of the first terminal, and determines whether the scanned image is the initial frame; if so, executes step S1303, and if not, continues to determine whether the next frame of image is the initial frame.
步骤S1303,从起始帧开始,获取桌面图像,结合桌面图像中的文字与图标进行App定位,提取出一个个App对应的待识别目标。Step S1303 , starting from the starting frame, acquiring a desktop image, performing App positioning in combination with the text and icons in the desktop image, and extracting the targets to be identified corresponding to each App.
步骤S1304,将文字与App资源服务所提供的App名称进行匹配。App资源服务可以部署在服务端,也可以预先部署在第二终端。Step S1304, matching the text with the App name provided by the App resource service. The App resource service can be deployed on the server, or can be pre-deployed on the second terminal.
步骤S1305,判断文字匹配是否成功;若是,则执行步骤S1306,若否,则执行步骤S1307。In step S1305, it is judged whether the text matching is successful; if yes, step S1306 is executed; if not, step S1307 is executed.
步骤S1306,根据匹配结果确定对应的App。Step S1306: Determine the corresponding App according to the matching result.
步骤S1307,将图标与App资源服务所提供的App图标进行匹配。Step S1307, matching the icon with the App icon provided by the App resource service.
步骤S1308,判断图标匹配是否成功;若是,则执行步骤S1306,若否,则执行步骤S1309。In step S1308, it is judged whether the icon matching is successful; if yes, go to step S1306, if not, go to step S1309.
步骤S1309,返回识别不成功的结果。Step S1309, returning the result that the identification is unsuccessful.
步骤S1310,当所有的待识别目标均得到对应的App识别结果,包括成功识别对应的App以及识别不成功的结果时,确定第二终端的待安装App,下载并安装这些App,按照第一终端的桌面进行布局。Step S1310, when all the targets to be identified have obtained corresponding App identification results, including successful identification of the corresponding App and unsuccessful identification results, determine the App to be installed on the second terminal, download and install these Apps, and follow the steps of the first terminal. desktop layout.
整个流程结束,实现了将第一终端的App迁移至第二终端。The whole process ends, and the App of the first terminal is migrated to the second terminal.
本公开的示例性实施方式还提供一种应用程序的安装处理装置。参考图14所示,该应用程序的安装处理装置1400可以包括处理器1410与存储器1420,其中,存储器1420存储有以下程序单元:Exemplary embodiments of the present disclosure also provide an installation processing apparatus for an application program. Referring to FIG. 14 , the application installation processing apparatus 1400 may include a processor 1410 and a memory 1420, wherein the memory 1420 stores the following program units:
桌面图像获取单元1421,被配置为获取第一终端的桌面图像;The desktop image acquisition unit 1421 is configured to acquire the desktop image of the first terminal;
应用程序识别单元1422,被配置为通过桌面图像中的文字和/或图标,识别桌面图像中的应用程序;The application identification unit 1422 is configured to identify the application in the desktop image through the text and/or icons in the desktop image;
应用程序确定单元1423,被配置为根据桌面图像中的应用程序确定第二终端的待安装应用程序;The application program determination unit 1423 is configured to determine the application program to be installed of the second terminal according to the application program in the desktop image;
处理器1410用于执行上述各程序单元。The processor 1410 is used to execute the above program units.
在一种可选的实施方式中,桌面图像获取单元1421,被配置为:In an optional implementation manner, the desktop image acquisition unit 1421 is configured to:
控制摄像头开启,以对第一终端的桌面进行图像采集;controlling the camera to be turned on to capture images of the desktop of the first terminal;
获取所采集的一帧或多帧桌面图像。Acquire one or more of the captured desktop images.
在一种可选的实施方式中,上述获取所采集的一帧或多帧桌面图像,包括:In an optional implementation manner, the above-mentioned acquisition of one or more frames of desktop images collected includes:
在进行图像采集的过程中,确定起始帧;In the process of image acquisition, determine the starting frame;
从起始帧开始,将所采集的一帧或多帧图像作为桌面图像。Starting from the starting frame, take the captured image of one or more frames as the desktop image.
在一种可选的实施方式中,上述在进行图像采集的过程中,确定起始帧,包括:In an optional implementation manner, in the process of image acquisition, the determination of the starting frame includes:
在进行图像采集的过程中,确定每一帧图像的相对变化量,相对变化量为每一帧图像相对于前一帧图像的变化量;In the process of image acquisition, the relative change amount of each frame of image is determined, and the relative change amount is the change amount of each frame image relative to the previous frame image;
当连续N帧图像的相对变化量均小于变化量阈值时,从连续N帧图像中确定起始帧;N为不小于2的正整数。When the relative changes of consecutive N frames of images are all smaller than the threshold of change, the start frame is determined from the consecutive N frames of images; N is a positive integer not less than 2.
在一种可选的实施方式中,上述确定每一帧图像的相对变化量,包括:In an optional implementation manner, the above-mentioned determination of the relative change amount of each frame of image includes:
根据当前帧图像的颜色分布数据相对于前一帧图像的颜色分布数据的变化量,确定当前帧图像的相对变化量。The relative change amount of the current frame image is determined according to the change amount of the color distribution data of the current frame image relative to the color distribution data of the previous frame image.
在一种可选的实施方式中,上述在进行图像采集的过程中,确定起始帧,包括:In an optional implementation manner, in the process of image acquisition, the determination of the starting frame includes:
在进行图像采集的过程中,对所采集的图像进行目标检测;In the process of image acquisition, target detection is performed on the acquired images;
当检测到预设类别的目标时,将所检测的图像确定为起始帧。When an object of a preset category is detected, the detected image is determined as the starting frame.
在一种可选的实施方式中,上述在进行图像采集的过程中,确定起始帧,包括:In an optional implementation manner, in the process of image acquisition, the determination of the starting frame includes:
在进行图像采集的过程中,确定每一帧图像对应的光流,光流为每一帧图像与前一帧图像之间的光流;In the process of image acquisition, the optical flow corresponding to each frame of image is determined, and the optical flow is the optical flow between each frame of image and the previous frame of image;
当连续N帧图像对应的光流中的像素点数量均小于数量阈值时,从连续N帧图像中确定起始帧;N为不小于2的正整数。When the number of pixels in the optical flow corresponding to the consecutive N frames of images are all less than the number threshold, the starting frame is determined from the consecutive N frames of images; N is a positive integer not less than 2.
在一种可选的实施方式中,应用程序识别单元1422,被配置为:In an optional implementation manner, the application identification unit 1422 is configured to:
从桌面图像中提取一个或多个待识别目标,每个待识别目标包括一条文字和一个图标;Extract one or more objects to be recognized from the desktop image, each object to be recognized includes a text and an icon;
根据待识别目标中的文字和/或图标,识别待识别目标对应的应用程序。Identify the application program corresponding to the target to be recognized according to the text and/or icon in the target to be recognized.
在一种可选的实施方式中,应用程序识别单元1422,还被配置为:In an optional implementation manner, the application identification unit 1422 is further configured to:
在从桌面图像中提取一个或多个待识别目标后,根据桌面图像中第一终端的边框位置以及第一终端的桌面格点排列规则,对所提取的文字或图标进行过滤。After extracting one or more targets to be identified from the desktop image, the extracted text or icons are filtered according to the border position of the first terminal in the desktop image and the grid point arrangement rule of the first terminal.
在一种可选的实施方式中,上述通过桌面图像中的文字和/或图标,识别桌面图像中的 应用程序,包括:In an optional implementation manner, the above-mentioned through the text and/or icon in the desktop image, identify the application program in the desktop image, including:
将桌面图像中的每一条文字分别与应用程序名称进行匹配,根据匹配结果确定文字信息对应的应用程序。Match each text in the desktop image with the name of the application program, and determine the application program corresponding to the text information according to the matching result.
在一种可选的实施方式中,上述通过桌面图像中的文字和/或图标,识别桌面图像中的应用程序,还包括:In an optional implementation manner, the above-mentioned identifying the application program in the desktop image through the text and/or icons in the desktop image further includes:
当文字与应用程序名称匹配不成功时,根据文字对应的图标确定文字对应的应用程序。When the text and the application name are unsuccessfully matched, the application corresponding to the text is determined according to the icon corresponding to the text.
在一种可选的实施方式中,上述根据文字对应的图标确定文字对应的应用程序,包括:In an optional implementation manner, the above-mentioned determination of the application program corresponding to the text according to the icon corresponding to the text includes:
将文字对应的图标形成第一图标图像;forming the icon corresponding to the text into a first icon image;
将第一图标图像分别与应用程序库中每个应用程序图标所形成的第二图标图像进行匹配;Matching the first icon image with the second icon image formed by each application icon in the application library;
当存在与第一图标图像的匹配度大于匹配度阈值的第二图标图像时,将第二图标图像对应的应用程序确定为文字对应的应用程序。When there is a second icon image whose matching degree with the first icon image is greater than the matching degree threshold, the application program corresponding to the second icon image is determined as the application program corresponding to the text.
在一种可选的实施方式中,应用程序确定单元1423,被配置为:In an optional implementation manner, the application program determination unit 1423 is configured to:
根据桌面图像中的应用程序生成第一终端的应用程序清单;generating an application list of the first terminal according to the application in the desktop image;
获取针对第一终端的应用程序清单的用户反馈信息;obtaining user feedback information for the application list of the first terminal;
根据用户反馈信息确定第二终端的待安装应用程序。The application to be installed on the second terminal is determined according to the user feedback information.
在一种可选的实施方式中,应用程序确定单元1423,还被配置为:In an optional implementation manner, the application program determination unit 1423 is further configured to:
根据桌面图像中各应用程序的位置信息,确定待安装应用程序在第二终端的桌面中的位置信息。According to the location information of each application in the desktop image, the location information of the application to be installed on the desktop of the second terminal is determined.
在一种可选的实施方式中,上述根据桌面图像中各应用程序的位置信息,确定待安装应用程序在第二终端的桌面中的位置信息,包括:In an optional implementation manner, the above-mentioned determining the location information of the application to be installed on the desktop of the second terminal according to the location information of each application in the desktop image includes:
根据桌面图像中各应用程序的位置信息,确定待安装应用程序的顺序;Determine the order of the applications to be installed according to the location information of each application in the desktop image;
按照第二终端的桌面格点排列与待安装应用程序的顺序对待安装应用程序进行重排,以确定待安装应用程序在第二终端的桌面中的位置信息。The applications to be installed are rearranged according to the order of the grid point arrangement of the desktop of the second terminal and the applications to be installed, so as to determine the location information of the applications to be installed on the desktop of the second terminal.
在一种可选的实施方式中,应用程序确定单元1423,还被配置为:In an optional implementation manner, the application program determination unit 1423 is further configured to:
根据待安装应用程序在第二终端的桌面中的位置信息,生成第二终端的桌面预览图像。A desktop preview image of the second terminal is generated according to the location information of the application to be installed on the desktop of the second terminal.
在一种可选的实施方式中,应用程序确定单元1423,还被配置为:In an optional implementation manner, the application program determination unit 1423 is further configured to:
响应于对桌面预览图像的调整操作,更改待安装应用程序在第二终端的桌面中的位置信息。In response to the adjustment operation on the desktop preview image, the location information of the application to be installed in the desktop of the second terminal is changed.
本公开的示例性实施方式还提供另一种应用程序的安装处理装置。参考图15所示,该应用程序的安装处理装置1500可以包括:Exemplary embodiments of the present disclosure also provide another application installation processing apparatus. Referring to Fig. 15, the installation processing apparatus 1500 of the application may include:
桌面图像获取单元1510,被配置为获取第一终端的桌面图像;a desktop image acquiring unit 1510, configured to acquire a desktop image of the first terminal;
应用程序识别单元1520,被配置为通过桌面图像中的文字和/或图标,识别桌面图像中的应用程序;The application identification unit 1520 is configured to identify the application in the desktop image through the text and/or icons in the desktop image;
应用程序确定单元1530,被配置为根据桌面图像中的应用程序确定第二终端的待安装应用程序。The application program determining unit 1530 is configured to determine the application program to be installed on the second terminal according to the application program in the desktop image.
在一种可选的实施方式中,桌面图像获取单元1510,被配置为:In an optional implementation manner, the desktop image acquisition unit 1510 is configured to:
控制摄像头开启,以对第一终端的桌面进行图像采集;controlling the camera to be turned on to capture images of the desktop of the first terminal;
获取所采集的一帧或多帧桌面图像。Acquire one or more of the captured desktop images.
在一种可选的实施方式中,上述获取所采集的一帧或多帧桌面图像,包括:In an optional implementation manner, the above-mentioned acquisition of one or more frames of desktop images collected includes:
在进行图像采集的过程中,确定起始帧;In the process of image acquisition, determine the starting frame;
从起始帧开始,将所采集的一帧或多帧图像作为桌面图像。Starting from the starting frame, take the captured image of one or more frames as the desktop image.
在一种可选的实施方式中,上述在进行图像采集的过程中,确定起始帧,包括:In an optional implementation manner, in the process of image acquisition, the determination of the starting frame includes:
在进行图像采集的过程中,确定每一帧图像的相对变化量,相对变化量为每一帧图像相对于前一帧图像的变化量;In the process of image acquisition, the relative change amount of each frame of image is determined, and the relative change amount is the change amount of each frame image relative to the previous frame image;
当连续N帧图像的相对变化量均小于变化量阈值时,从连续N帧图像中确定起始帧;N为不小于2的正整数。When the relative changes of consecutive N frames of images are all smaller than the threshold of change, the start frame is determined from the consecutive N frames of images; N is a positive integer not less than 2.
在一种可选的实施方式中,上述确定每一帧图像的相对变化量,包括:In an optional implementation manner, the above-mentioned determination of the relative change amount of each frame of image includes:
根据当前帧图像的颜色分布数据相对于前一帧图像的颜色分布数据的变化量,确定当前帧图像的相对变化量。The relative change amount of the current frame image is determined according to the change amount of the color distribution data of the current frame image relative to the color distribution data of the previous frame image.
在一种可选的实施方式中,上述在进行图像采集的过程中,确定起始帧,包括:In an optional implementation manner, in the process of image acquisition, the determination of the starting frame includes:
在进行图像采集的过程中,对所采集的图像进行目标检测;In the process of image acquisition, target detection is performed on the acquired images;
当检测到预设类别的目标时,将所检测的图像确定为起始帧。When an object of a preset category is detected, the detected image is determined as the starting frame.
在一种可选的实施方式中,上述在进行图像采集的过程中,确定起始帧,包括:In an optional implementation manner, in the process of image acquisition, the determination of the starting frame includes:
在进行图像采集的过程中,确定每一帧图像对应的光流,光流为每一帧图像与前一帧图像之间的光流;In the process of image acquisition, the optical flow corresponding to each frame of image is determined, and the optical flow is the optical flow between each frame of image and the previous frame of image;
当连续N帧图像对应的光流中的像素点数量均小于数量阈值时,从连续N帧图像中确定起始帧;N为不小于2的正整数。When the number of pixels in the optical flow corresponding to the consecutive N frames of images are all less than the number threshold, the starting frame is determined from the consecutive N frames of images; N is a positive integer not less than 2.
在一种可选的实施方式中,应用程序识别单元1520,被配置为:In an optional implementation manner, the application identification unit 1520 is configured to:
从桌面图像中提取一个或多个待识别目标,每个待识别目标包括一条文字和一个图标;Extract one or more objects to be recognized from the desktop image, each object to be recognized includes a text and an icon;
根据待识别目标中的文字和/或图标,识别待识别目标对应的应用程序。Identify the application program corresponding to the target to be recognized according to the text and/or icon in the target to be recognized.
在一种可选的实施方式中,应用程序识别单元1520,还被配置为:In an optional implementation manner, the application identification unit 1520 is further configured to:
在从桌面图像中提取一个或多个待识别目标后,根据桌面图像中第一终端的边框位置以及第一终端的桌面格点排列规则,对所提取的文字或图标进行过滤。After extracting one or more targets to be identified from the desktop image, the extracted text or icons are filtered according to the border position of the first terminal in the desktop image and the grid point arrangement rule of the first terminal.
在一种可选的实施方式中,上述通过桌面图像中的文字和/或图标,识别桌面图像中的应用程序,包括:In an optional implementation manner, the above-mentioned identifying the application program in the desktop image through the text and/or icons in the desktop image includes:
将桌面图像中的每一条文字分别与应用程序名称进行匹配,根据匹配结果确定文字信息对应的应用程序。Match each text in the desktop image with the name of the application program, and determine the application program corresponding to the text information according to the matching result.
在一种可选的实施方式中,上述通过桌面图像中的文字和/或图标,识别桌面图像中的应用程序,还包括:In an optional implementation manner, the above-mentioned identifying the application program in the desktop image through the text and/or icons in the desktop image further includes:
当文字与应用程序名称匹配不成功时,根据文字对应的图标确定文字对应的应用程序。When the text and the application name are unsuccessfully matched, the application corresponding to the text is determined according to the icon corresponding to the text.
在一种可选的实施方式中,应用程序识别单元1520,被配置为:In an optional implementation manner, the application identification unit 1520 is configured to:
将文字对应的图标形成第一图标图像;forming the icon corresponding to the text into a first icon image;
将第一图标图像分别与应用程序库中每个应用程序图标所形成的第二图标图像进行匹配;Matching the first icon image with the second icon image formed by each application icon in the application library;
当存在与第一图标图像的匹配度大于匹配度阈值的第二图标图像时,将第二图标图像对应的应用程序确定为文字对应的应用程序。When there is a second icon image whose matching degree with the first icon image is greater than the matching degree threshold, the application program corresponding to the second icon image is determined as the application program corresponding to the text.
在一种可选的实施方式中,应用程序确定单元1530,被配置为:In an optional implementation manner, the application program determination unit 1530 is configured to:
根据桌面图像中的应用程序生成第一终端的应用程序清单;generating an application list of the first terminal according to the application in the desktop image;
获取针对第一终端的应用程序清单的用户反馈信息;obtaining user feedback information for the application list of the first terminal;
根据用户反馈信息确定第二终端的待安装应用程序。The application to be installed on the second terminal is determined according to the user feedback information.
在一种可选的实施方式中,应用程序确定单元1530,还被配置为:In an optional implementation manner, the application program determining unit 1530 is further configured to:
根据桌面图像中各应用程序的位置信息,确定待安装应用程序在第二终端的桌面中的位置信息。According to the location information of each application in the desktop image, the location information of the application to be installed on the desktop of the second terminal is determined.
在一种可选的实施方式中,上述根据桌面图像中各应用程序的位置信息,确定待安装应用程序在第二终端的桌面中的位置信息,包括:In an optional implementation manner, the above-mentioned determining the location information of the application to be installed on the desktop of the second terminal according to the location information of each application in the desktop image includes:
根据桌面图像中各应用程序的位置信息,确定待安装应用程序的顺序;Determine the order of the applications to be installed according to the location information of each application in the desktop image;
按照第二终端的桌面格点排列与待安装应用程序的顺序对待安装应用程序进行重排,以确定待安装应用程序在第二终端的桌面中的位置信息。The applications to be installed are rearranged according to the order of the grid point arrangement of the desktop of the second terminal and the applications to be installed, so as to determine the location information of the applications to be installed on the desktop of the second terminal.
在一种可选的实施方式中,应用程序确定单元1530,还被配置为:In an optional implementation manner, the application program determining unit 1530 is further configured to:
根据待安装应用程序在第二终端的桌面中的位置信息,生成第二终端的桌面预览图像。A desktop preview image of the second terminal is generated according to the location information of the application to be installed on the desktop of the second terminal.
在一种可选的实施方式中,应用程序确定单元1530,还被配置为:In an optional implementation manner, the application program determining unit 1530 is further configured to:
响应于对桌面预览图像的调整操作,更改待安装应用程序在第二终端的桌面中的位置信息。In response to the adjustment operation on the desktop preview image, the location information of the application to be installed in the desktop of the second terminal is changed.
上述装置中各部分的具体细节在方法部分实施方式中已经详细说明,因而不再赘述。The specific details of each part in the above-mentioned apparatus have been described in detail in the method part of the implementation, and thus will not be repeated.
本公开的示例性实施方式还提供了一种计算机可读存储介质,可以实现为程序产品的形式,包括程序代码,当程序产品在终端设备上运行时,程序代码用于使终端设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤,例如可以执行图3至图6或图8至图13中任意一个或多个步骤。该程序产品可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本公开的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Exemplary embodiments of the present disclosure also provide a computer-readable storage medium, which can be implemented in the form of a program product, including program code, which, when the program product runs on a terminal device, is used to cause the terminal device to execute this specification The steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Methods" section above may be performed, for example, by any one or more of the steps in FIGS. 3 to 6 or 8 to 13 . The program product can take the form of a portable compact disk read only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory, read only memory (ROM), erasable programmable Read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a propagated data signal in baseband or as part of a carrier wave with readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。As will be appreciated by one skilled in the art, various aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure can be embodied in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as implementations "circuit", "module" or "system".
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施方式。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施方式仅被视为示例性的,本公开的真正范围和精神由权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common general knowledge or techniques in the technical field not disclosed by this disclosure . The specification and embodiments are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限定。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (20)

  1. 一种应用程序的安装处理方法,其特征在于,包括:A method for installing and processing an application, comprising:
    获取第一终端的桌面图像;Obtain the desktop image of the first terminal;
    通过所述桌面图像中的文字和/或图标,识别所述桌面图像中的应用程序;Identify applications in the desktop image through the text and/or icons in the desktop image;
    根据所述桌面图像中的应用程序确定第二终端的待安装应用程序。The application to be installed on the second terminal is determined according to the application in the desktop image.
  2. 根据权利要求1所述的方法,其特征在于,所述获取第一终端的桌面图像,包括:The method according to claim 1, wherein the acquiring the desktop image of the first terminal comprises:
    控制摄像头开启,以对所述第一终端的桌面进行图像采集;Controlling the camera to be turned on to capture images of the desktop of the first terminal;
    获取所采集的一帧或多帧桌面图像。Acquire one or more of the captured desktop images.
  3. 根据权利要求2所述的方法,其特征在于,所述获取所采集的一帧或多帧桌面图像,包括:The method according to claim 2, wherein the acquiring one or more frames of desktop images collected comprises:
    在进行图像采集的过程中,确定起始帧;In the process of image acquisition, determine the starting frame;
    从所述起始帧开始,将所采集的一帧或多帧图像作为所述桌面图像。Starting from the starting frame, the captured image of one or more frames is used as the desktop image.
  4. 根据权利要求3所述的方法,其特征在于,所述在进行图像采集的过程中,确定起始帧,包括:The method according to claim 3, wherein, in the process of image acquisition, determining the starting frame, comprising:
    在进行图像采集的过程中,确定每一帧图像的相对变化量,所述相对变化量为所述每一帧图像相对于前一帧图像的变化量;In the process of image acquisition, determine the relative change amount of each frame of image, where the relative change amount is the change amount of each frame image relative to the previous frame image;
    当连续N帧图像的所述相对变化量均小于变化量阈值时,从所述连续N帧图像中确定所述起始帧;N为不小于2的正整数。When the relative change amounts of consecutive N frames of images are all smaller than the change amount threshold, the start frame is determined from the consecutive N frames of images; N is a positive integer not less than 2.
  5. 根据权利要求4所述的方法,其特征在于,所述确定每一帧图像的相对变化量,包括:The method according to claim 4, wherein the determining the relative change amount of each frame of image comprises:
    根据当前帧图像的颜色分布数据相对于前一帧图像的颜色分布数据的变化量,确定所述当前帧图像的相对变化量。The relative change amount of the current frame image is determined according to the change amount of the color distribution data of the current frame image relative to the color distribution data of the previous frame image.
  6. 根据权利要求3所述的方法,其特征在于,所述在进行图像采集的过程中,确定起始帧,包括:The method according to claim 3, wherein, in the process of image acquisition, determining the starting frame, comprising:
    在进行图像采集的过程中,对所采集的图像进行目标检测;In the process of image acquisition, target detection is performed on the acquired images;
    当检测到预设类别的目标时,将所检测的图像确定为所述起始帧。When a target of a preset category is detected, the detected image is determined as the starting frame.
  7. 根据权利要求3所述的方法,其特征在于,所述在进行图像采集的过程中,确定起始帧,包括:The method according to claim 3, wherein, in the process of image acquisition, determining the starting frame, comprising:
    在进行图像采集的过程中,确定每一帧图像对应的光流,所述光流为所述每一帧图像与前一帧图像之间的光流;In the process of image acquisition, determine the optical flow corresponding to each frame of image, and the optical flow is the optical flow between the each frame of image and the previous frame of image;
    当连续N帧图像对应的光流中的像素点数量均小于数量阈值时,从所述连续N帧图像中确定所述起始帧;N为不小于2的正整数。When the number of pixels in the optical flow corresponding to the consecutive N frames of images are all less than the number threshold, the starting frame is determined from the consecutive N frames of images; N is a positive integer not less than 2.
  8. 根据权利要求1所述的方法,其特征在于,所述通过所述桌面图像中的文字和/或图标,识别所述桌面图像中的应用程序,包括:The method according to claim 1, wherein the identifying the application program in the desktop image through the text and/or icons in the desktop image comprises:
    从所述桌面图像中提取一个或多个待识别目标,每个所述待识别目标包括一条文字和一个图标;Extract one or more objects to be identified from the desktop image, each of the objects to be identified includes a text and an icon;
    根据所述待识别目标中的所述文字和/或所述图标,识别所述待识别目标对应的应用程序。According to the text and/or the icon in the to-be-recognized target, the application program corresponding to the to-be-recognized target is identified.
  9. 根据权利要求8所述的方法,其特征在于,在从所述桌面图像中提取一个或多个待识别目标后,所述方法还包括:The method according to claim 8, wherein after extracting one or more targets to be identified from the desktop image, the method further comprises:
    根据所述桌面图像中所述第一终端的边框位置以及所述第一终端的桌面格点排列规则,对所提取的文字或图标进行过滤。The extracted text or icon is filtered according to the position of the frame of the first terminal in the desktop image and the arrangement rule of the desktop grid of the first terminal.
  10. 根据权利要求1所述的方法,其特征在于,所述通过所述桌面图像中的文字和/或图标,识别所述桌面图像中的应用程序,包括:The method according to claim 1, wherein the identifying the application program in the desktop image through the text and/or icons in the desktop image comprises:
    将所述桌面图像中的每一条文字分别与应用程序名称进行匹配,根据匹配结果确定所 述文字信息对应的应用程序。Matching each text in the desktop image with the application program name respectively, and determining the application program corresponding to the text information according to the matching result.
  11. 根据权利要求10所述的方法,其特征在于,所述通过所述桌面图像中的文字和/或图标,识别所述桌面图像中的应用程序,还包括:The method according to claim 10, wherein the identifying the application in the desktop image through the text and/or icons in the desktop image further comprises:
    当所述文字与所述应用程序名称匹配不成功时,根据所述文字对应的图标确定所述文字对应的应用程序。When the text and the application name are unsuccessfully matched, the application corresponding to the text is determined according to the icon corresponding to the text.
  12. 根据权利要求11所述的方法,其特征在于,所述根据所述文字对应的图标确定所述文字对应的应用程序,包括:The method according to claim 11, wherein the determining the application program corresponding to the text according to the icon corresponding to the text comprises:
    将所述文字对应的图标形成第一图标图像;forming the icon corresponding to the text into a first icon image;
    将所述第一图标图像分别与应用程序库中每个应用程序图标所形成的第二图标图像进行匹配;matching the first icon image with the second icon image formed by each application icon in the application library;
    当存在与所述第一图标图像的匹配度大于匹配度阈值的第二图标图像时,将所述第二图标图像对应的应用程序确定为所述文字对应的应用程序。When there is a second icon image whose matching degree with the first icon image is greater than a matching degree threshold, the application program corresponding to the second icon image is determined as the application program corresponding to the text.
  13. 根据权利要求1所述的方法,其特征在于,所述根据所述桌面图像中的应用程序确定第二终端的待安装应用程序,包括:The method according to claim 1, wherein the determining the application to be installed on the second terminal according to the application in the desktop image comprises:
    根据所述桌面图像中的应用程序生成所述第一终端的应用程序清单;generating an application list of the first terminal according to the application in the desktop image;
    获取针对所述第一终端的应用程序清单的用户反馈信息;obtaining user feedback information for the application list of the first terminal;
    根据所述用户反馈信息确定所述第二终端的待安装应用程序。The application to be installed on the second terminal is determined according to the user feedback information.
  14. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    根据所述桌面图像中各所述应用程序的位置信息,确定所述待安装应用程序在所述第二终端的桌面中的位置信息。The location information of the application to be installed on the desktop of the second terminal is determined according to the location information of each application in the desktop image.
  15. 根据权利要求14所述的方法,其特征在于,所述根据所述桌面图像中各所述应用程序的位置信息,确定所述待安装应用程序在所述第二终端的桌面中的位置信息,包括:The method according to claim 14, wherein the location information of the application to be installed in the desktop of the second terminal is determined according to the location information of each application in the desktop image, include:
    根据所述桌面图像中各所述应用程序的位置信息,确定所述待安装应用程序的顺序;determining the sequence of the applications to be installed according to the location information of the applications in the desktop image;
    按照所述第二终端的桌面格点排列与所述待安装应用程序的顺序对所述待安装应用程序进行重排,以确定所述待安装应用程序在所述第二终端的桌面中的位置信息。The to-be-installed applications are rearranged according to the order of the desktop grid arrangement of the second terminal and the to-be-installed applications to determine the position of the to-be-installed application on the desktop of the second terminal information.
  16. 根据权利要求14所述的方法,其特征在于,所述方法还包括:The method of claim 14, wherein the method further comprises:
    根据所述待安装应用程序在所述第二终端的桌面中的位置信息,生成所述第二终端的桌面预览图像。A desktop preview image of the second terminal is generated according to the location information of the application to be installed in the desktop of the second terminal.
  17. 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method of claim 16, wherein the method further comprises:
    响应于对所述桌面预览图像的调整操作,更改所述待安装应用程序在所述第二终端的桌面中的位置信息。In response to the adjustment operation on the desktop preview image, the location information of the application to be installed in the desktop of the second terminal is changed.
  18. 一种应用程序的安装处理装置,其特征在于,包括处理器与存储器,所述处理器用于执行所述存储器中存储的以下程序单元:An installation processing device for an application program, characterized in that it comprises a processor and a memory, and the processor is configured to execute the following program units stored in the memory:
    桌面图像获取单元,被配置为获取第一终端的桌面图像;a desktop image acquisition unit, configured to acquire the desktop image of the first terminal;
    应用程序识别单元,被配置为通过所述桌面图像中的文字和/或图标,识别所述桌面图像中的应用程序;an application identification unit, configured to identify an application in the desktop image through text and/or icons in the desktop image;
    应用程序确定单元,被配置为根据所述桌面图像中的应用程序确定第二终端的待安装应用程序。The application program determination unit is configured to determine the application program to be installed on the second terminal according to the application program in the desktop image.
  19. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至13任一项所述的方法。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 1 to 13 is implemented.
  20. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    处理器;以及processor; and
    存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions for the processor;
    其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1至13任一项所述的方法。wherein the processor is configured to perform the method of any one of claims 1 to 13 by executing the executable instructions.
PCT/CN2021/111176 2020-09-23 2021-08-06 Application installation processing method and apparatus, storage medium and electronic device WO2022062722A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011009695.1 2020-09-23
CN202011009695.1A CN114253559A (en) 2020-09-23 2020-09-23 Application program installation processing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
WO2022062722A1 true WO2022062722A1 (en) 2022-03-31

Family

ID=80788619

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/111176 WO2022062722A1 (en) 2020-09-23 2021-08-06 Application installation processing method and apparatus, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN114253559A (en)
WO (1) WO2022062722A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294515A (en) * 2013-06-28 2013-09-11 北京小米科技有限责任公司 Method, device and system for acquiring application programs
US20160321066A1 (en) * 2014-03-25 2016-11-03 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and system for processing desktop data of mobile terminal
CN107526642A (en) * 2016-06-21 2017-12-29 华为终端(东莞)有限公司 The acquisition methods and terminal of terminal room application program
CN110968280A (en) * 2018-09-30 2020-04-07 中兴通讯股份有限公司 Application layout restoration method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294515A (en) * 2013-06-28 2013-09-11 北京小米科技有限责任公司 Method, device and system for acquiring application programs
US20160321066A1 (en) * 2014-03-25 2016-11-03 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and system for processing desktop data of mobile terminal
CN107526642A (en) * 2016-06-21 2017-12-29 华为终端(东莞)有限公司 The acquisition methods and terminal of terminal room application program
CN110968280A (en) * 2018-09-30 2020-04-07 中兴通讯股份有限公司 Application layout restoration method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114253559A (en) 2022-03-29

Similar Documents

Publication Publication Date Title
KR102597680B1 (en) Electronic device for providing customized quality image and method for controlling thereof
US10943106B2 (en) Recognizing text in image data
US10659684B2 (en) Apparatus and method for providing dynamic panorama function
US9319583B2 (en) Camera device and methods for aiding users in use thereof
US9801219B2 (en) Pairing of nearby devices using a synchronized cue signal
KR102251960B1 (en) Method for analysing images, electronic device and server for performing the method
US20180035075A1 (en) Method for providing video content and electronic device for supporting the same
US20150358549A1 (en) Image capturing parameter adjustment in preview mode
US20160247034A1 (en) Method and apparatus for measuring the quality of an image
TWI470549B (en) A method of using an image recognition guide to install an application, and an electronic device
US10504560B2 (en) Electronic device and operation method thereof
US9799099B2 (en) Systems and methods for automatic image editing
CN111464716A (en) Certificate scanning method, device, equipment and storage medium
AU2014271204B2 (en) Image recognition of vehicle parts
CN111694978A (en) Image similarity detection method and device, storage medium and electronic equipment
CN104298694A (en) Picture message adding method and device and mobile terminal
US20150146265A1 (en) Method and apparatus for recognizing document
CN110463177A (en) The bearing calibration of file and picture and device
WO2022193911A1 (en) Instruction information acquisition method and apparatus, readable storage medium, and electronic device
KR102316846B1 (en) Method for sorting a media content and electronic device implementing the same
US9396211B2 (en) Method and device for providing information using barcode
US20170200062A1 (en) Method of determination of stable zones within an image stream, and portable device for implementing the method
WO2022062722A1 (en) Application installation processing method and apparatus, storage medium and electronic device
US20170111569A1 (en) Face detection method and electronic device for supporting the same
CN107491778B (en) Intelligent device screen extraction method and system based on positioning image

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: 21871099

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: 21871099

Country of ref document: EP

Kind code of ref document: A1