WO2015081580A1 - 一种确定与界面元素相关联的应用程序的方法及电子设备、服务器 - Google Patents

一种确定与界面元素相关联的应用程序的方法及电子设备、服务器 Download PDF

Info

Publication number
WO2015081580A1
WO2015081580A1 PCT/CN2013/089034 CN2013089034W WO2015081580A1 WO 2015081580 A1 WO2015081580 A1 WO 2015081580A1 CN 2013089034 W CN2013089034 W CN 2013089034W WO 2015081580 A1 WO2015081580 A1 WO 2015081580A1
Authority
WO
WIPO (PCT)
Prior art keywords
semantic feature
feature value
interface element
electronic device
application
Prior art date
Application number
PCT/CN2013/089034
Other languages
English (en)
French (fr)
Inventor
郜文美
郝华奇
甘元莉
王红军
吴雷
何山
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to CN201380074285.7A priority Critical patent/CN105009081B/zh
Publication of WO2015081580A1 publication Critical patent/WO2015081580A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Definitions

  • the present invention relates to the field of information technology, and in particular, to a method, an electronic device, and a server for determining an application associated with an interface element. Background technique
  • the prior art does not effectively call the text information in the APP application interface. For example, if a user finds a place name when browsing a webpage, such as Suzhou, but does not know the specific location of Suzhou, he wants to find information about Suzhou on the map. At this point, the user needs to exit the current browser interface, run the map application software, and enter "Suzhou" to enter the corresponding interface to query the specific location of Suzhou and other information. As such, the user steps are cumbersome and the application is less efficient to call. SUMMARY OF THE INVENTION The standby server and the server facilitate the application call, reduce the user's operation steps, and improve the application call efficiency.
  • the present invention provides an embodiment of a method of determining an application associated with an interface element.
  • the method includes: determining, by the electronic device, an interface element of the first interface; the associated application is a semantic feature value of the interface element and a semantic of the target application The feature value is matched, and the matched semantic feature value corresponds to the application; the semantic feature value of the interface element is used to indicate a semantic feature of the interface element; and the semantic feature value of the target application is used to indicate the target application The semantic characteristics of the program;
  • the electronic device displays an identification of an application associated with the interface element.
  • At least one semantic feature value of the interface element is taken;
  • the electronic device matches at least one semantic feature value of the interface element with a semantic feature value of the target application, and determines an application associated with the interface element based on the matching result.
  • the electronic device determines an interface element of the first interface, and obtaining at least one semantic feature value of the interface element is specifically:
  • the method further includes:
  • the electronic device sends a first request to the server; the first request is used to request the server to find a semantic feature value of the interface element;
  • the acquiring at least one semantic feature value of the interface element is specifically:
  • the electronic device receives at least one semantic feature value of the interface element sent by the server according to the first request.
  • the electronic device before the electronic device receives the at least one semantic feature value of the interface element that is sent by the server according to the first request, the method further includes:
  • the electronic device prompts the user to input a semantic feature value of the interface element according to the second request; Receiving, by the electronic device, the at least one semantic feature value of the interface element sent by the server according to the first request is specifically:
  • the electronic device receives at least one semantic feature value that is sent by the server according to the first request and the semantic feature value input by the user, and is associated with a semantic feature value input by the user.
  • the acquiring the at least one semantic feature value of the interface element is specifically:
  • the electronic device obtains at least one semantic feature value of the interface element by looking up a local database of the electronic device.
  • the acquiring, by the electronic device, the at least one semantic feature value of the interface element by searching a database of the electronic device includes:
  • the electronic device When the electronic device does not find a corresponding semantic feature value, the electronic device prompts the user to input a semantic feature value of the interface element;
  • the electronic device acquires a semantic feature value associated with the semantic feature value entered by the user, and obtains at least one semantic feature value of the interface element associated with the semantic feature value entered by the user.
  • the method further includes:
  • the electronic device When the electronic device does not find a corresponding semantic feature value in a local database of the electronic device, the electronic device sends a first request to the server; the first request is used to request the server to search for a semantic feature of the interface element.
  • the electronic device receives at least one semantic feature value of the interface element sent by the server according to the first request.
  • the semantic feature values of the ninth possible implementation target application are:
  • the electronic device scans an installed application, acquires information of the installed application, and sends a third request including information of the installed application to a server; the third request is used to query the The semantic feature value of the installed application;
  • the semantic feature values of the tenth possible implementation target application are:
  • the electronic device scans an installed application to obtain information of the installed application;
  • the information of the installed application includes a semantic feature value of the application;
  • the semantic feature values of the target application in the eleventh possible implementation are specifically:
  • the electronic device scans an installed application to obtain information of the installed application; the installed application information includes a semantic feature value of the installed application; the electronic device uses the interface
  • the at least one semantic feature value of the element is matched with the semantic feature value of the target application, and determining, according to the matching result, the application associated with the interface element is specifically:
  • the method further includes:
  • At least one semantic of the semantic feature value of the installed application and the interface element When the feature values do not match, the electronic device sends at least one semantic feature value of the interface element to the server;
  • the server Receiving, by the server, the matched first application information that is not installed by the electronic device, determining that the application program associated with the interface element is the first application; the first application is searching for the server The application corresponding to the semantic feature value that matches the semantic feature value of the interface element.
  • the target application is all applications in an application store; and the semantics of acquiring the target application
  • the characteristic values are specifically:
  • the electronic device sends a fourth request to the server; the fourth request is used to query a semantic feature value of all applications in an application store;
  • the electronic device determines an interface element of the first interface, acquiring at least the interface element Before a semantic feature value, it also includes:
  • the obtaining the semantic feature value of the interface element is specifically:
  • the method further includes:
  • the electronic device sends the interface element to a server, where the interface element is used by the server to search for the interface And a semantic feature value of the element, and matching the semantic feature value of the interface element with the semantic feature value of the target application, and determining an application corresponding to the interface element corresponding to the matched semantic feature value;
  • the electronic device receives information of an application sent by the server associated with the interface element.
  • the sending, by the electronic device, the interface element to the server is specifically:
  • the electronic device sends context information of the interface element and the interface element to a server; the interface element and context information of the interface element are used by the server to search for the interface element according to the context information Semantic feature values.
  • the electronic device receives an application that is sent by the server and is associated with the interface element Before the information, the method further includes:
  • the electronic device prompts the user to input a semantic feature value of the interface element according to the second request
  • the method further includes:
  • the electronic device scans the installed application, obtains information of the installed application, and transmits information of the installed application to the server.
  • the method further includes:
  • the electronic device scans an installed application, acquires information of the installed application, and sends information of the installed application to the server; the information of the installed application includes The semantic feature values of the installed application.
  • the electronic device Matching a semantic feature value of the interface element with a semantic feature value of an application acquired by the electronic device, after determining an application associated with the interface element, before presenting an identifier of an application associated with the interface element , Also includes:
  • the electronic device displays an identification of an application associated with the interface element, in particular: the electronic device displays an identification of an application associated with the interface element in accordance with the third instruction.
  • the electronic device determines that the interface element of the first interface is specifically:
  • the electronic device selects the interface element according to a fourth instruction input by a user.
  • the method further includes:
  • the electronic device launches at least one of an application associated with the interface element in accordance with a user instruction.
  • An application that is not installed by the device; the electronic device initiating at least one of the applications associated with the interface element according to a user instruction is specifically:
  • the electronic device When the object pointed by the user instruction is an application that is not installed by the electronic device, the electronic device prompts the user to install the application.
  • the application of the twenty-fourth possible implementation device is not installed; the electronic device launches an application associated with the interface element according to a user instruction At least one of the specifics is:
  • the electronic device runs a browser to start the application in a webpage form; or prompts the user to run a browser to start the application.
  • the generating, according to the user instruction, starting the association with the interface element At least one of the applications includes:
  • the electronic device launches at least one of an application associated with the interface element in accordance with the user instruction and copies the interface element.
  • the application in the application associated with the interface element is started according to the user instruction At least one specific is:
  • the electronic device launches the interface element as an input parameter of the associated application in accordance with the user instruction to launch at least one of the associated applications.
  • the electronic device acquires an instruction input by a user; After at least one of the application elements associated with the interface element, the method further includes: presenting the first interface.
  • the present invention provides a method of determining an application associated with an interface element.
  • the method includes:
  • the server receives an interface element sent by the electronic device, and obtains at least one semantic feature value of the interface element:
  • the server receives the interface element sent by the electronic device and the context information of the interface element, and combines the first or second possible implementation manner of the second aspect.
  • the acquiring the interface At least one semantic feature value of the element is specifically:
  • the server sends a first request to the electronic device when the semantic feature value of the interface element is not found; the first request is used to request the electronic device to prompt the user to input a semantic feature value of the interface element;
  • the server receives at least one semantic feature value of the interface element sent by the electronic device according to the first request and a semantic feature value input by the user.
  • the target application is all applications in an application store;
  • the semantic feature values are specifically:
  • the server queries the semantic feature values of all the applications in the application store; the at least one semantic feature value of the interface element is matched with the semantic feature value of the target application, and the determined result is determined according to the matching result.
  • the application associated with the interface element is specifically:
  • the semantic feature values of the fifth possible real-target application are:
  • the semantic feature value of the acquiring application is specifically:
  • the method further includes:
  • the server determines that the application associated with the interface element is a second application;
  • the second application is an application that is found by the server and corresponds to a semantic feature value of the interface element.
  • the present invention provides an embodiment of an electronic device.
  • the electronic device includes:
  • a processor configured to determine an interface element of the first interface; determining that a value associated with the interface element matches a semantic feature value of the target application, and an application associated with the interface element determined according to the matching result;
  • the semantic feature value of the interface element is used to indicate a semantic feature of the interface element;
  • the semantic feature value of the target application is used to indicate a semantic feature of the target application;
  • the processor is further configured to: obtain at least one semantic feature value of the interface element; and obtain a semantic feature value of the target application And matching the at least one semantic feature value of the interface element with the semantic feature value of the target application, and determining that the application corresponding to the matched semantic feature value is an application associated with the interface element.
  • the acquiring, by the processor, the at least one semantic feature value of the interface element is specifically: determining an interface element of the first interface and the Context information of the interface element; obtaining at least one semantic feature value of the interface element that conforms to the context of the interface element.
  • the electronic device further includes:
  • a transmitter configured to send a first request to the server, after the processor determines the interface element of the first interface, before acquiring the at least one semantic feature value of the interface element; the first request is used to request the server to search for the location The semantic feature value of the interface element;
  • a receiver configured to receive at least one semantic feature value of the interface element sent by the server according to the first request.
  • the receiver is further configured to receive, at the receiver, the interface sent by the server according to the first request Before receiving at least one semantic feature value of the element, receiving a second request sent by the server when the semantic feature value of the interface element is not found;
  • the output device is further configured to prompt the user to input a semantic feature value of the interface element according to the second request;
  • the electronic device further includes:
  • an input device configured to receive a semantic feature value input by the user after the output device prompts the user to input the semantic feature value of the interface element according to the second request;
  • the transmitter is further configured to: send, to the server, the semantic feature value input by the user;
  • the receiver is further configured to receive, by the server, the server according to the first request and the semantic feature value input by the user, At least one semantic feature value associated with the semantic feature value entered by the user.
  • the acquiring, by the processor, the at least one semantic feature value of the interface element is specifically Finding a local database of the electronic device to obtain at least one semantic feature value of the interface element.
  • the output device is further configured to: when the processor does not obtain the interface element in a local database of the electronic device Prompting the user to input the semantic feature value of the interface element when at least one semantic feature value
  • the electronic device further includes:
  • An input device configured to receive a semantic feature value input by the user after the output device prompts the user to input the semantic feature value of the interface element
  • the processor is specifically configured to: determine an interface element of the first interface, obtain a semantic feature value associated with the semantic feature value input by the user, and obtain a semantic feature input by the user by searching a local database of the electronic device At least one semantic feature value of the interface element associated with the value.
  • the electronic device further includes:
  • a transmitter configured to send a first request to the server when the processor does not obtain at least one semantic feature value of the interface element in a local database of the electronic device; the first request is used to request a server to search a semantic feature value of the interface element;
  • a receiver configured to receive at least one semantic feature value of the interface element sent by the server according to the first request.
  • the acquiring, by the processor, the semantic feature value of the target application is specifically The processor scans an installed application to obtain information about the installed application;
  • the electronic device further includes:
  • a transmitter configured to send a third request to the server after the processor acquires the information about the installed application; the third request is used to query a semantic feature value of the installed application;
  • a receiver configured to receive a semantic feature value of the installed application sent by the server according to the third request
  • the processor matches at least one semantic feature value of the interface element with a semantic feature value of the target application, and determines an application associated with the interface element according to the matching result Specifically, the processor specifically matches at least one semantic feature value of the interface element with a semantic feature value of the installed application; determining an application corresponding to the matched semantic feature value as the interface The application associated with the element.
  • the acquiring, by the tenth possible processor, the semantic feature value of the target application is that the processor scans the installed application , obtaining information about the installed application;
  • the transmitter is further configured to: after the processor acquires the information about the installed application, send a third request to the server; the third request is used to query a semantic feature value of the installed application ;
  • the receiver is further configured to receive a semantic feature value of the installed application that is sent by the server according to the third request;
  • the processor is configured to match at least one semantic feature value of the interface element with a semantic feature value of the target application, and determine, according to the matching result, that the application associated with the interface element is specifically
  • the processor matches at least one semantic feature value of the interface element with a semantic feature value of the installed application; determining that the application corresponding to the matched semantic feature value is an application associated with the interface element.
  • the obtaining, by the eleventh possible processor, the semantic feature value of the target application is that the processor scans the installed application Obtaining information of the installed application; the information of the installed application includes a semantic feature value of the application;
  • the processor is configured to match at least one semantic feature value of the interface element with a semantic feature value of the target application, and determine, according to the matching result, that the application associated with the interface element is specifically
  • the processor matches at least one of the semantic feature values of the interface element with the semantic feature value of the installed application; determining that the application corresponding to the matched semantic feature value is an application associated with the interface element.
  • the processor acquires a specific feature value of the target application
  • the processor scans an installed application to obtain information of the installed application; and the information of the installed application includes a semantic feature value of the application;
  • the processor matches at least one semantic feature value of the interface element with a semantic feature value of the target application, and determining, according to the matching result, that the application associated with the interface element is: At least one semantic feature value of the interface element is matched with a semantic feature value of the installed application, and in the case of having a matching semantic feature value, the sequence;
  • the electronic device further includes:
  • a transmitter configured to: when the processor determines that the semantic feature value of the installed application does not match the semantic feature value of the interface element, send the semantic feature value of the interface element to the server;
  • a receiver configured to receive the first application information that is not installed by the electronic device that is sent by the server, and determine that the application that is associated with the interface element is the first application; the first application An application corresponding to the semantic feature value found by the server and matching the semantic feature value of the interface element.
  • the processor acquires a semantic feature value of the application, specifically, the processor scans An installed application, obtaining information of the installed application; the information of the installed application includes a semantic feature value of the application;
  • the transmitter is further configured to: when the processor determines that the semantic feature value of the installed application does not match the semantic feature value of the interface element, send the semantic feature value of the interface element to a server;
  • the processor matches at least one semantic feature value of the interface element with a semantic feature value of the target application, and determining, according to the matching result, that the application associated with the interface element is: At least one semantic feature value of the interface element is matched with a semantic feature value of the installed application, and in the case of having a matching semantic feature value, the sequence;
  • the receiver is further configured to receive, by the server, the matched first application information that is not installed by the electronic device, and determine that the application that is associated with the interface element is the first application;
  • An application is an application corresponding to the semantic feature value found by the server and matching the semantic feature value of the interface element.
  • a sender configured to send a fourth request to the server; the fourth request is used to query a semantic feature value of all applications in the application store;
  • a receiver configured to receive a semantic feature value of all applications in the application store sent by the server according to the fourth request sent by the sender;
  • the processor is configured to match at least one semantic feature value of the interface element with a semantic feature value of the target application, and determine, according to the matching result, an application associated with the interface element, specifically, the processing Matching at least one semantic feature value of the interface element with a semantic feature value of all applications in the application store; determining a matching semantic feature value pair to combine the third aspect, the fourth or the fifth or the eighth
  • the target application is all applications in an application store
  • the sender is further configured to: send a fourth request to the server; Requesting semantic feature values for all applications in the query application store;
  • the receiver is further configured to receive a semantic feature value of all applications in the application store sent by the server according to the fourth request sent by the sender;
  • the processor is configured to match at least one semantic feature value of the interface element with a semantic feature value of the target application, and determine, according to the matching result, an application associated with the interface element, specifically, the receiving Matching at least one semantic feature value of the interface element with a semantic feature value of all applications in the application store; determining a matching semantic feature value pair to combine the second aspect with the second or third or fourth Or a sixth possible implementation manner, in the fifteenth possible implementation manner, the output device is further configured to: after the processor determines an interface element of the first interface, acquire the Before the at least one semantic feature value of the interface element, displaying the association option in the first interface;
  • the electronic device further includes: An input device, configured to: after the display device displays an association option on the first interface, receive a first instruction that is input when the user selects the association option;
  • the output device is further configured to: acquire, at the processor After the at least one semantic feature value of the interface element is matched, before the semantic feature value of the interface element is matched with the semantic feature value of the application acquired by the electronic device, an association option is displayed on the first interface; the electronic device further includes :
  • An input device configured to receive a second instruction that is input when the user selects the associated option; the processor matches at least one semantic feature value of the interface element with a semantic feature value of the application, and determines, according to the matching result
  • the application associated with the interface element is specifically, the processor, according to the second instruction, matching at least one semantic feature value of the interface element with a semantic feature value of the application, according to the matching result. Identify the application associated with the interface element.
  • the electronic device further includes:
  • a transmitter configured to: after the processor determines an interface element of the first interface, send the interface element to a server; the interface element is used by the server to search for a semantic feature value of the interface element, and a semantic feature value of the interface element and a semantic feature value sequence of the target application;
  • a receiver configured to receive information about an application that is sent by the server and associated with the interface element.
  • the processor is further configured to: determine context information of an interface element of the first interface;
  • the server searches for a semantic feature value of the interface element according to the context information.
  • the receiver is further configured to: before receiving the information about the application that is sent by the server and associated with the interface element, receive a second that is sent by the server when the semantic feature value of the interface element is not found.
  • the electronic device further includes:
  • an output device configured to prompt the user to input a semantic feature value of the interface element according to the second request
  • An input device configured to receive a semantic feature value of the interface element input by a user
  • the transmitter is further configured to send a semantic feature value of the interface element input by the user to the server; the semantic feature value input by the user is used by the server according to the semantic feature input by the user The value finds the semantic feature value of the interface element.
  • the electronic device further includes:
  • a processor configured to scan an installed application of the electronic device, to obtain information about the installed application
  • the transmitter is further configured to send information of the installed application to the server.
  • the electronic device further includes:
  • a processor configured to scan an installed application, obtain information about the installed application; and the information of the installed application includes a semantic feature value of the installed application;
  • the transmitter is further configured to send information of the installed application to the server.
  • the output device And after the processor matches the semantic feature value of the interface element with the semantic feature value of the application acquired by the electronic device, after determining an application associated with the interface element, displaying and the interface Before the identifier of the application associated with the element, the association option is displayed in the first interface;
  • the electronic device further includes: And an input device, configured to receive a third instruction that is input when the user selects the associated option; the output device is specifically configured to display, according to the third instruction, an identifier of an application associated with the interface element.
  • the electronic device The method further includes: an input device, configured to receive a fourth instruction input by the user before the processor determines an interface element of the current application interface;
  • the processor determines that the interface element of the first interface is specifically that the processor determines the interface element according to a fourth instruction input by the user.
  • the electronic device The method further includes: an input device, after the output device displays an identifier of an application associated with the interface element in a current application interface, receiving a fifth instruction input by the user;
  • the processor is further configured to initiate at least one of an application associated with the interface element in accordance with the fifth instruction.
  • the output device is further configured to: display, in the application, the application associated with the interface element includes the When the electronic device has not installed the application, and the processor determines that the object pointed by the fifth instruction is an application that is not installed by the electronic device, prompting the user to install the application.
  • the output device is further configured to: the application associated with the interface element displayed includes the An application that is not installed by the electronic device, and the processor determines that the object pointed by the fifth instruction is a webpage application that is not installed by the electronic device, prompting the user to run a browser to start the application; or
  • the processor is further configured to: the application associated with the interface element displayed includes an application that is not installed by the electronic device, and the object that the fifth instruction points to is the electronic device has not yet been When the web application is installed, the browser is launched to launch the application as a web page.
  • the processor is further configured to start according to the fifth instruction Said At least one of the application elements associated with the interface element, and copying the interface element.
  • the processor is specifically configured to: according to the fifth instruction, the interface An element, as an input parameter to the associated application, launches at least one of the associated applications.
  • the output device is further configured to: After the interface element is associated with the application, the first interface is presented.
  • the invention provides an embodiment of a server.
  • the server includes: a receiver, configured to receive an interface element sent by the electronic device;
  • a processor configured to acquire at least one semantic feature value of the interface element; acquire a semantic feature value of the target application; and match at least one semantic feature value of the interface element with a semantic feature value of the target application, Determining, according to the matching result, an application associated with the interface element; the semantic feature value is used to indicate a semantic feature of the interface element; and the semantic feature value of the target application is used to indicate a semantic of the target application Characteristic
  • a transmitter configured to send the application information associated with the interface element to the electronic device.
  • the interface element sent by the receiver receiving the electronic device is specifically: receiving an interface element sent by the electronic device and a context of the interface element Information
  • the processor And acquiring, by the processor, the at least one semantic feature value of the interface element, specifically, acquiring at least one semantic feature value of the interface element that conforms to the context of the interface element.
  • the transmitter is further configured to: when the server does not find the semantic feature value of the interface element Sending a first request to the electronic device; the first request is used to request the electronic device to prompt the user to input a semantic feature value of the interface element;
  • the receiver is further configured to receive, by the electronic device, at least one semantic feature value of the interface element that is sent according to the first request and the semantic feature value input by the user.
  • the acquiring, by the processor, the at least one semantic feature value of the interface element is specifically: acquiring at least one semantic feature value of the interface element sent by the electronic device received by the receiver.
  • the acquiring, by the processor, the semantic feature value of the target application is: the processor querying an application store Semantic feature values for all applications;
  • the processor matches at least one semantic feature value of the interface element with a semantic feature value of the target application, and determining, according to the matching result, that the application associated with the interface element is:
  • the at least one semantic feature value of the interface element matches a semantic feature value of all applications in the application store; and the application corresponding to the determined semantic feature value is determined to be an application associated with the interface element.
  • the receiver is further configured to receive, by using the electronic device, the semantics of the installed application of the electronic device Eigenvalues;
  • the processor acquires a semantic feature value of the target application, where the processor acquires a semantic feature value of the electronic device installed application sent by the electronic device received by the receiver; the processor will use the interface
  • the at least one semantic feature value of the element is matched with the semantic feature value of the target application, and determining, according to the matching result, that the application associated with the interface element is: the processor: at least one semantic of the interface element
  • the feature value is matched with the semantic feature value of the installed application; the application corresponding to the determined semantic feature value is determined to be an application associated with the interface element.
  • the receiver is further configured to receive, by the electronic device, a semantic of an installed application of the electronic device Eigenvalues;
  • the acquiring, by the processor, the semantic feature value of the target application is that the processor acquires a semantic feature value of the installed application of the electronic device that is sent by the electronic device and received by the electronic device;
  • the processor matches at least one semantic feature value of the interface element with a semantic feature value of the target application, and determining, according to the matching result, that the application associated with the interface element is: At least one semantic feature value of the interface element is matched with a semantic feature value of the installed application, and if there is a matching semantic feature value, it is determined that the processor is further used in the acquired
  • the processor determines the interface element when the semantic feature value of the installation application does not match the at least one semantic feature value of the interface element
  • the associated application is a second application; the second application is an application that is found by the server and corresponds to a semantic feature value of the interface element.
  • the embodiment provided by the present invention matches the semantic feature value of the interface element with the semantic feature value of the target application, thereby determining that the application corresponding to the matched semantic feature value is an application associated with the interface element, so that the electronic
  • the device intelligently identifies the application associated with the interface element, improving the efficiency of the call to the application by the electronic device.
  • FIG. 1 is a schematic flow chart of an embodiment of a method for determining an application associated with an interface element according to the present invention
  • FIG. 2 is a schematic flow chart of an embodiment of a method for determining an application associated with an interface element according to the present invention
  • FIG. 3 is a schematic flow chart of an embodiment of a method for determining an application associated with an interface element according to the present invention
  • FIG. 4 is a schematic flow chart of an embodiment of a method for determining an application associated with an interface element according to the present invention
  • FIG. 5 is a schematic structural diagram of an embodiment of an electronic device according to the present invention
  • FIG. 6 is a schematic structural diagram of an embodiment of an electronic device according to the present invention
  • FIG. 8 is a schematic structural view of an embodiment of an electronic device according to the present invention
  • FIG. 9 is a schematic structural view of an embodiment of an electronic device according to the present invention
  • a schematic structural diagram of an embodiment of a server is provided.
  • FIG. 1 is a schematic diagram of determining an application associated with an interface element according to an embodiment of the present invention
  • the electronic device determines an interface element of the first interface.
  • the electronic device acquires a first instruction input by a user, and determines the interface element at a first interface of the electronic device; or the electronic device automatically identifies an interface element that determines the first interface.
  • the interface elements include, but are not limited to, text, and may also be pictures or application icons.
  • the text may be a word, or a word, or a sentence; the text may be simplified Chinese, or traditional Chinese; the text may also be English, or slang.
  • the application associated with the polygon element is to match the semantic feature value of the interface element with the semantic feature value of the target application, and the application associated with the interface element determined according to the matching result; the semantics of the interface element
  • the feature value is used to indicate a semantic feature of the interface element; the semantic feature value of the target application is used to indicate a semantic feature of the target application;
  • the electronic device may acquire at least one semantic feature value of the interface element; acquire a semantic feature value of the target application; and at least one semantic feature value of the interface element and the target application
  • the semantic feature values are matched, and an application associated with the interface element is determined based on the matching result. That is, the electronic device locally matches the semantic feature values of the interface element and the target application to determine an application associated with the interface element.
  • the electronic device may send the interface element to a server; the interface element is used by the server to search for a semantic feature value of the interface element, and the semantic feature value of the interface element is The semantic feature values of the target application are matched to determine an application associated with the interface element corresponding to the matched semantic feature value; the electronic device receives an application that is sent by the server and is associated with the interface element Information. That is, the electronic device sends the interface element to the server, and after the server matches the semantic feature value of the interface element and the semantic feature value of the target application, the electronic device receives the information sent by the server The application information associated with the interface element determines an application associated with the interface element.
  • the semantic eigenvalues of the target application are matched, and the matching semantic eigenvalues correspond to the application.
  • the matched semantic feature value is a semantic feature value of at least one semantic feature value of the interface element being the same as or similar to a semantic feature value of the application. Further, the matched semantic feature value matches the context information of the interface element, and conforms to the context of the interface element.
  • a semantic class is classified from a certain angle, so that words that belong to the same semantic class can take different values on one or some semantic features, thereby highlighting the differences between the words.
  • the value taken on some or some of the semantic features is the semantic feature value, and the semantic feature value is used to indicate a semantic feature of the interface element.
  • the electronic device displays an identifier of an application associated with the interface element.
  • the electronic device matches at least one semantic feature value of the interface element and a semantic feature value of an application that the electronic device has acquired, and determines an application associated with the interface element according to the matching result. After that, the application associated with the interface element is presented.
  • the electronic device receives an application associated with the interface element that is sent by the server and is associated with the interface element.
  • the electronic device may automatically display the application associated with the interface element after receiving the user's instruction to display the program associated with the interface element.
  • the embodiment provided by the present invention matches the semantic feature value of the interface element with the semantic feature value of the target application, thereby determining that the application corresponding to the matched semantic feature value is an application associated with the interface element, so that the electronic
  • the device intelligently identifies the application associated with the interface element, improving the efficiency of the call to the application by the electronic device.
  • the electronic device is based on the semantic feature of the application.
  • the value determines the corresponding application.
  • the correspondence between the semantic feature values of the following interface elements and the semantic feature values of the application can be easily understood, but all embodiments of the present invention are not limited by the following correspondence.
  • the matching relationship between the semantic feature values of all possible interface elements and the semantic feature values of the application is within the protection scope of all embodiments of the present invention.
  • the ⁇ category associated with the interface element may be “movie”"video", and specifically may be “time network”, “baidu video”, and the like. If the semantic feature value of the interface element is "electronic product (mobile phone, tablet, computer)", the ⁇ category associated with the interface element may be “e-commerce”, and the specific ⁇ may be "Jingdong”"Taobao” and the like. If the semantic feature value of the interface element is "train train number” or “bus line”, the APP category associated with the interface element may be “train schedule”"busroute”, and the specific APP may be “excellent timetable”. 8684 bus "etc.
  • the APP category associated with the interface element may be "map class", and the specific APP may be "Baidu map”"Gao De map”;
  • the associated APP category can also be “tour”, the specific APP can be "Where to go”;
  • the associated APP category can also be “hotel”, the specific APP can be “Huaju Hotel”;
  • the associated APP category can also be "Weather”, the specific APP can be "ink weather” and so on.
  • the semantic feature value of the interface element is "car”
  • the APP category associated with the interface element may be "car type”, and the specific APP may be "car home” or the like.
  • the APP category associated with the interface element may be “social class”"readingclass”, and the specific APP may be "Sina Weibo”"WeChat”"Baidu” Post it” and so on. If the semantic feature value of the interface element is "App name”, the APP category associated with the interface element may be “app store class”, and the specific APP may be "Huawei Zhihui cloud application market", “pea pod”, and the like.
  • FIG. 2 is a flowchart of a method for determining an application associated with an interface element according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • the electronic device determines an interface element of the first interface, and obtains at least one semantic feature value of the interface element; the semantic feature value is used to indicate a semantic feature of the interface element;
  • the electronic device acquires a first instruction input by a user, and determines the interface element at a first interface of the electronic device; or the electronic device automatically identifies an interface element that determines the first interface.
  • the electronic device After the electronic device determines an interface element of the first interface, the electronic device sends a first request to the server; the first request is used to request the server to search for a semantic feature value of the interface element; Determining a semantic feature value of the interface element sent by the server according to the first request.
  • the electronic device After the electronic device determines an interface element of the first interface, the electronic device acquires a semantic feature value of the interface element by searching a database of the electronic device.
  • S202 The electronic device acquires a semantic feature value of the target application; the semantic feature value of the target application is used to indicate a semantic feature of the target application;
  • the electronic device scans an installed application, acquires information about the installed application, and sends a request to the server to include information about the installed application; Requesting a semantic feature value for querying the installed application; the electronic device receiving a semantic feature value of the installed application sent by the server according to the request; or
  • the electronic device scans an installed application to obtain information of the installed application; the information of the installed application includes a semantic feature value of the application; or
  • the electronic device sends a request to the server; the request is used to query a semantic feature value of all applications in an application store; and the electronic device receives the application sent by the server according to the fourth request The semantic feature value of all applications in the store.
  • the application may be a program that the electronic device has been installed, or may be an application that the electronic device has not installed.
  • the electronic device matches at least one semantic feature value of the interface element with a semantic feature value of the target application, and determines that the application corresponding to the matched semantic feature value is an application associated with the interface element. program.
  • the application associated with the semantics of the interface element is determined when the electronic device determines that at least one semantic feature value of the interface element is the same as or similar to a semantic feature value of the target application.
  • the electronic device displays an identification of an application associated with the interface element. After the electronic device matches at least one semantic feature value of the interface element and a semantic feature value of an application that the electronic device has acquired, and determines an application associated with the interface element according to the matching result, the display device An application associated with an interface element.
  • the electronic device determines that the interface element of the first interface may specifically determine, by the electronic device, an interface element of the first interface and context information of the interface element, and according to the interface element And the context information of the interface element acquires at least one semantic feature value of the interface element that conforms to the context of the interface element.
  • the electronic device may acquire a plurality of semantic feature values of the text information, and among the plurality of semantic feature values, a part of the semantic feature values may not meet the text information.
  • Contextual context The electronic device may determine context information of the text information, and acquire at least one semantic feature value of the text information that conforms to the context context according to context information of the text information.
  • the electronic device determines the context information of the "G510".
  • the context information of the "G510” may be the entire sentence text information of the "G510", and the entire sentence text information is extracted by a comma or a period as a separator.
  • the electronic device obtains the semantic feature value of "G510” in accordance with the contextual meaning.
  • the electronic device may obtain, by using a server, a semantic feature value of the interface element to obtain at least one semantic feature value of the interface element.
  • the electronic device determines the interface element of the first interface, sending a first request to the server; the first request is used to request the server to search for a semantic feature value of the interface element; the first request may include the interface The context information of the element.
  • the server looks up the semantic feature values of the interface elements. When the server finds a plurality of semantic feature values, the server determines at least one semantic feature value that conforms to the context context of the interface element according to the context information of the interface element, and sends the semantic feature value to the Electronic equipment.
  • the electronic device receives at least one semantic feature value of the interface element sent by the server according to the first request.
  • the electronic device acquires at least one semantic feature value of the interface element by using a server to search for a semantic feature value of the interface element. After the electronic device determines the interface element of the first interface, sending a first request to the server, where the first request is used to request the server to search for a semantic feature value of the interface element. When the server does not find the semantic feature value of the interface element, the electronic device receives a second request sent by the server, and the second request is used to request the electronic device to prompt the user to input the interface element. Semantic feature values. The electronic device prompts the user to input a semantic feature value of the interface element according to the second request.
  • the electronic device After the electronic device acquires the semantic feature value of the interface element input by the user, the electronic device sends the semantic feature value input by the user to the server.
  • the server receives the semantic feature value input by the user, the correspondence between the semantic feature value input by the user and the interface element may be saved to a database for backup.
  • the server may further search, in the database, a semantic feature value associated with the semantic feature value input by the user according to the semantic feature value input by the user.
  • the semantic feature value associated with the semantic feature value input by the user has the same or similar semantic feature as the semantic feature value input by the user.
  • the server compares the associated semantic feature values with the interface elements.
  • the matching criterion may be based on whether the associated semantic feature value has a correlation with the interface element, whether the meaning is the same, and whether the context of the interface element is met. Confirming the phase at the server When the associated semantic feature value matches the interface element, the electronic device receives the semantic feature that is sent by the server according to the first request and the semantic feature value input by the user, and the user input The semantic feature value associated with the value.
  • the electronic device may further acquire a semantic feature value of the interface element by using the electronic device local database.
  • the electronic device searches a database of the electronic device to obtain at least one semantic feature value of the interface element.
  • the electronic device finds a plurality of semantic feature values in the database, the electronic device may acquire context information of the interface element, parse the context of the interface element, and obtain a compliance according to the context information. At least one semantic feature value of the contextual context of the interface element.
  • the electronic device after the electronic device determines an interface element of the first interface, the electronic device acquires a semantic feature value of the interface element by searching the local database of the electronic device.
  • the electronic device prompts the user to input a semantic feature value of the interface element, and the semantic feature of the user input
  • the value is a semantic feature value of the interface as understood by the user.
  • the electronic device may save the correspondence between the semantic feature value input by the user and the interface element to a database for backup.
  • the electronic device searches, in the database, a semantic feature value associated with the semantic feature value input by the user according to the semantic feature value input by the user, and the semantic feature associated with the semantic feature value input by the user and the The semantic feature values entered by the user have similar semantic features.
  • the electronic device compares the associated semantic feature value with the interface element for matching. The matching criterion may be based on whether the associated semantic feature value has a correlation with the interface element, whether the meaning is the same, and whether the context of the interface element is met. And when the electronic device confirms that the associated semantic feature value matches the interface element, acquiring at least one semantic feature value of the interface element associated with the semantic feature value input by the user.
  • the electronic device acquires the boundary by searching a local database of the electronic device.
  • the semantic feature value of the polygon element When the electronic device does not find a corresponding semantic feature value in a local database of the electronic device, the electronic device sends a first request to the server; the first request is used to request the server to search for a semantic feature of the interface element. value.
  • the electronic device receives a semantic feature value of the interface element sent by the server according to the first request.
  • the electronic device when the electronic device does not find a corresponding semantic feature value in a database of the electronic device, the electronic device sends a first request to the server. After the server finds the semantic feature value of the interface element, the electronic device receives the semantic feature value of the interface element sent by the server according to the first request.
  • the implementation manner of the embodiment of the present invention may be: when the electronic device does not find the corresponding semantic feature value in the database of the electronic device, the sender sends a first request to the server, where the A request contains context information for the interface element.
  • the server finds the semantic feature values of the plurality of interface elements, the server selects at least one semantic feature value that conforms to the context context of the interface element according to the context information of the interface element, and the Semantic feature values are sent to the electronic device.
  • the electronic device receives at least one semantic feature value of the interface element sent by the server according to the first request.
  • the implementation manner of the embodiment of the present invention may be: when the server does not find the semantic feature value of the interface element, the electronic device receives the third request sent by the server, and the third The request is for requesting the electronic device to prompt the user to input a semantic feature value of the interface element.
  • the electronic device After the electronic device acquires the semantic feature value of the interface element input by the user, the electronic device sends the semantic feature value input by the user to the server.
  • the server may further search, in the database, a semantic feature value associated with the semantic feature value input by the user according to the semantic feature value input by the user, and associate the at least one of the semantic feature value input by the user
  • the semantic feature values are sent to the electronic device.
  • the associated semantic feature value has the same or similar semantic feature as the user-entered semantic feature value.
  • the electronic device compares the associated semantic feature value with the interface element for matching.
  • the matching criterion may be based on whether the associated semantic feature value has a correlation with the interface element, whether the meaning is the same, and whether the context of the interface element is met. And when the electronic device confirms that the associated semantic feature value matches the interface element, acquiring at least one semantic feature value of the interface element associated with the semantic feature value input by the user.
  • the target application is the electronic device Installed application.
  • the electronic device may request the server to query a semantic feature value of an application that the electronic device has installed.
  • the electronic device scans an installed application of the electronic device, obtains information about the installed application, and sends a third request to the server; the third request is used to query a semantic feature of the installed application a value; the third request contains information about the installed application.
  • the information of the installed application may include the name, category, calling code, and the like of the application, and does not include semantic feature values of the application.
  • the server After receiving the third request of the electronic device, acquires information about the installed application, and searches for a semantic feature value of the application.
  • the electronic device After the server finds the corresponding semantic feature value, the electronic device receives the semantic feature value of the installed application sent by the server according to the fourth request.
  • the electronic device matches the semantic feature value of the interface element with the semantic feature value of the installed application; and determines that the application corresponding to the matched semantic feature value is an application associated with the interface element.
  • the electronic device determines the semantic of the matching.
  • the electronic device After the electronic device downloads and installs the new application, the electronic device Extracting information about the newly installed application, and sending a query request for querying the newly installed application semantic feature value to the server, and updating the queryed semantic feature value of the application to the summarized local installed
  • the semantic feature value set of the application, and the semantic feature value of the newly installed application is included in the matching range in the next match.
  • the target application is an application that is installed by the electronic device.
  • the electronic device can obtain a semantic feature value of an application that the electronic device has installed in the local database.
  • the electronic device scans an installed application of the electronic device to obtain information of the installed application; and the information of the installed application includes a semantic feature value of the application.
  • the electronic device extracts a semantic feature value of the locally installed application, and after summarizing all the semantic feature values of the locally installed application downloaded from the application store, at least one semantic feature value of the interface element is compared with the installed application The application of the semantic features of the program.
  • the electronic device determines that the matching semantic feature value corresponding to the application is an application associated with the interface element.
  • the application of the electronic device may be an application downloaded from a specific application store.
  • the application store can request that The developer of the application submits information about the application when submitting the application, such as the name of the application, the category of the application, the calling code of the application, and the application's
  • the related information of the application includes semantic feature values of the application.
  • the electronic device can obtain the semantic feature value of the application after downloading the application from the application store.
  • the electronic device downloads and installs a new application from the application store, the electronic device extracts a semantic feature value of the newly installed application, and updates semantic features of the summarized local installed application. A collection of values that incorporates the semantic feature values of the newly installed application into the matching range in the next match.
  • the target application is an application that is installed by the electronic device.
  • the electronic device may acquire a semantic feature value of an application that the electronic device has installed in a local database, and match a semantic feature value of the application with a semantic feature value of the interface element.
  • the electronic device may send the semantic feature value of the interface element to a server, and request the server to search for the interface element to match s application.
  • the electronic device scans an installed application of the electronic device to obtain information of the installed application; and the information of the installed application includes a semantic feature value of the application.
  • the electronic device extracts semantic feature values of the locally installed application, and after summarizing the semantic feature values of the locally installed application, matches the semantic feature values of the interface elements with the semantic feature values of the installed application.
  • the electronic device sends the semantic feature value of the interface element to the server; the request server searches for the semantic feature of the interface element The value matches the semantic feature value of the application that the electronic device has not installed.
  • the electronic device receives the first application information that is not installed by the matching electronic device that is sent by the server, and determines the interface element.
  • the associated application is the first application; the first application is an application that is searched by the server and corresponds to a semantic feature value that matches the semantic value of the interface element.
  • the target application is all applications in an application store.
  • the electronic device may request the server to query the semantics of the target application, the electronic device sends a fourth request to the server; the fourth request is used to request to query semantic feature values of all applications in the application store.
  • the app store brings together a variety of applications, Users can browse, download and purchase third-party applications on the app store, such as pea clips, Huawei Zhihui cloud application market.
  • the application store may be an application store on a server corresponding to an application store client on the electronic device application interface.
  • the electronic device receives the response of the server to the fifth request, and receives a semantic feature value of all applications in the application store sent by the server according to the fourth request.
  • the electronic device is provided with a client of the Huawei Zhihui cloud application market.
  • the electronic device sends a fourth request to the server to obtain a semantic feature value of the interface element, and the electronic device sends a request for querying the application feature value in the Huawei smart cloud application market to the server, and receives the request.
  • the semantic feature value of all applications in the Huawei Zhihui cloud application market sent by the server.
  • the electronic device matches the semantic feature values of the interface elements and the obtained semantic feature values of all applications of the application store, and determines An application in the app store that is associated with the interface element.
  • the determined associated application may be an application that the electronic device has installed, or an application that is not installed by the electronic device.
  • the electronic device may display an association option on the first interface; when the electronic device receives the user selecting the association option And inputting, by the electronic device, the semantic feature value of the interface element according to the first instruction.
  • the association option may be a dialog box or a button.
  • the electronic device displays a dialog box or button prompting the user to input the first instruction. Acquiring, by the electronic device, the semantic feature value of the interface element according to the first instruction input by the user in the dialog box; or the electronic device acquiring the semantics of the interface element according to the first instruction generated by the user triggering the button Eigenvalues.
  • the electronic device displays an association option on the first interface; the electronic device receives a user selection The second instruction input when the option is associated; the electronic device matches at least one semantic feature value of the interface element with the semantic feature value of the application according to the second instruction, and determines a location according to the matching result
  • the application associated with the interface element can be a dialog or button to prompt the user to enter a second instruction.
  • the electronic device displays an association option.
  • the display interface may be the first interface, and may also be other possible application interfaces.
  • Receiving user selection by the electronic device And a third instruction input when the association option is selected; the electronic device displays an identifier of an application associated with the interface element according to the third instruction.
  • the associated option can be a dialog or button to prompt the user to enter a third instruction.
  • the electronic device displays an identifier of an application associated with the interface element, and specifically displays an icon of the application associated with the interface element, and may also display The name of the identity of the application associated with the interface element.
  • the electronic device obtains information of the application associated with the interface element, the information including an icon, a name, a calling code, and the like of the application.
  • the application program associated with the interface element displayed by the electronic device may be one, or may be multiple One.
  • the application program associated with the interface element displayed by the electronic device when the number of applications associated with the interface element displayed is multiple, Applications can be arranged in a preset order.
  • the preset order includes, but is not limited to, the number of users of the application, the development time of the application, and the like.
  • the electronic device may select the interface element according to a fourth instruction input by a user.
  • FIG. 3 is a flowchart of a method for determining an application associated with an interface element according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • the electronic device determines an interface element of the first interface.
  • the electronic device acquires a first instruction input by a user, and determines the interface element at a first interface of the electronic device; or the electronic device automatically identifies an interface element that determines the first interface.
  • the electronic device sends the interface element to a server, where the interface element is used by the server to search for a semantic feature value of the interface element, and the semantic feature value of the interface element is related to the target application.
  • Matching semantic feature values of the program to determine an application associated with the interface element corresponding to the matched semantic feature value; Specifically, after the electronic device sends the interface element to the server, the server receives the interface element, and searches for a semantic feature value of the interface element. After finding the semantic feature value of the interface element, the server matches the semantic feature value of the interface element with the semantic feature value of the target application, where the target application may be that the electronic device has The installed app can also be an app in an app store.
  • the electronic device Determining, by the server, the matching language according to the semantic feature value of the interface element and the semantic feature value of the target application, the electronic device sending the interface element and the context information of the interface element to the server And the context information of the interface element and the interface element is used by the server to search for a semantic feature value of the interface element according to the context information.
  • the electronic device receives a second request sent by the server when the semantic feature value of the interface element is not found; the electronic device prompts the user to input the semantics of the interface element according to the second request And the electronic device sends the semantic feature value of the interface element input by the user to the server; the semantic feature value input by the user is used by the server according to the semantic feature value input by the user Find the semantic feature values of the interface elements.
  • the electronic device scans an installed application, obtains information about the installed application, and sends information of the installed application to the server;
  • the target application is An application that has been installed on an electronic device.
  • the electronic device may send the installed application information to the server before transmitting the interface element, or may send the installed application information to the server after transmitting the interface element.
  • the electronic device scans an installed application, obtains information about the installed application, and sends information of the installed application to the server; the installed application The information contains the semantic feature values of the installed application.
  • the electronic device may send the installed application information to the server before transmitting the interface element, or may send the installed application information to the server after transmitting the interface element.
  • the electronic device receives information about an application that is sent by the server and is associated with the interface element.
  • the server After the server determines an application associated with the interface element according to a semantic feature value of the interface element, the server sends the associated application information to a server.
  • the electronic device receives an application sent by the server and associated with the interface element Information.
  • the electronic device displays an identifier of an application associated with the interface element. After the electronic device receives the information of the application associated with the interface element sent by the server, the electronic device presents the application associated with the interface element.
  • the electronic device sends the context information of the interface element and the interface element to a server; the context information of the interface element and the interface element is used for the server Finding a semantic feature value of the interface element according to the context information.
  • the server After receiving the context of the interface element and the interface element, the server then conforms to the semantic feature value of the interface element of the context information.
  • the method before the electronic device receives the information about the application program that is sent by the server and is associated with the interface element, the method further includes: the electronic device receiving the server a second request sent when the semantic feature value of the interface element is not found; the electronic device prompts the user to input a semantic feature value of the interface element according to the second request; the electronic device inputs the input
  • the semantic feature value of the interface element is sent to the server; the semantic feature value input by the user is used by the server to search for a semantic feature value of the interface element according to the semantic feature value input by the user.
  • the server receives an interface element sent by the electronic device and searches for at least one semantic feature value of the interface element.
  • the electronic device receives a second request sent by the server when the semantic feature value of the interface element is not found. After receiving the second request, the electronic device prompts the user to input a semantic feature value of the interface element, and sends the semantic feature value input by the user to the server.
  • the server receives a semantic feature value of the user input sent by the electronic device, and searches for a semantic feature value of the interface element according to the semantic feature value input by the user.
  • the target application is an application that the electronic device has installed; before the electronic device receives the application information that is sent by the server and is associated with the interface element.
  • the method further includes: the electronic device scanning an installed application, obtaining information of the installed application, and transmitting information of the installed application to the server.
  • the server After receiving the information of the target application sent by the electronic device, the server queries the semantic feature value of the target application according to the information of the target application. After querying the semantic feature value of the target application, the server matches at least one semantic feature value of the interface element and a semantic feature value of the target application, and determines The application associated with the interface element.
  • the target application is an application that is installed by the electronic device, and the electronic device receives an application that is sent by the server and is associated with the interface element.
  • the method further includes: the electronic device scanning an installed application, acquiring information of the installed application, and transmitting information of the installed application to the server;
  • the information of the installed application contains the semantic feature values of the installed application.
  • the server After receiving the information of the target application sent by the electronic device, the server acquires a semantic feature value of the target application, and the server matches at least one semantic feature value of the interface element and semantics of the target application A feature value that determines an application associated with the interface element.
  • the method may further include: the electronic device initiating association with the interface element according to a user instruction At least one of the applications.
  • the electronic device may receive an instruction input by the user after the current application interface displays the identification of the application associated with the interface element.
  • the electronic device launches at least one of an application associated with the interface element in accordance with an instruction input by the user to launch the application.
  • the application program associated with the interface element displayed by the electronic device is an application that has been installed by the electronic device, the electronic device invokes a calling code segment corresponding to the application according to a user instruction to implement the application.
  • the program is called to start the corresponding application.
  • the APP calling code segment is a preset code for opening the APP and passing the corresponding parameter to the APP.
  • the electronic device if the object related to the interface element displayed by the electronic device is an application that is not installed by the electronic device, the electronic device prompts the user to install the application. Specifically, the electronic device can invoke a download link of the application, such as a download link of a specific application store, or a download link of a certain forum. When the electronic device runs a corresponding application store client or browser, the application interface corresponding to the download link is opened, and the user is prompted to install the application.
  • a download link of the application such as a download link of a specific application store, or a download link of a certain forum.
  • the electronic device runs browsing.
  • the application is launched in the form of a webpage, for example, when the user clicks on a specific online application displayed by the electronic device, the electronic device invokes a webpage link of the application, and launches the application in the form of a webpage; or The user is prompted to run a browser to launch the application.
  • the electronic device may activate at least one of an application associated with the interface element according to the instruction, and copy the interface element.
  • the interface element determined by the electronic device is text information
  • the electronic device displays a specific map application associated with the text information.
  • the electronic device receives an instruction from the user to automatically copy the text information into the pasteboard of the electronic device system while launching the map application associated with the text information.
  • the electronic device may display a prompt box prompting the user to "automatically copy the text information", so that the user can directly paste the text information into the input box of the map application. in.
  • the embodiment of the invention reduces the input operation of the user, especially when the interface elements selected by the user are more or more complicated, the operation efficiency of the user is improved, and the user experience is improved.
  • the electronic device activates the interface element as an input parameter of the associated application according to the user instruction to launch at least one of the associated applications. Specifically, when the electronic device acquires an instruction that the user initiates the associated application, the electronic device invokes a corresponding code segment of the application, and uses the interface element selected by the user as the input parameter. The electronic device executes the calling code segment, starts the application, and presents an application interface after the interface element is run in the application, and displays a processing result of the application inputting the interface element.
  • the embodiment of the invention reduces the input operation of the user, especially when the interface elements selected by the user are more or more complicated, thereby improving the operation efficiency of the user and improving the user experience.
  • the electronic device acquires an instruction input by a user
  • the child device presents the first interface. Specifically, after the electronic device invokes an application associated with the interface element to complete a specific task operation and exit the application, the electronic device may present a first interface that determines the interface element.
  • the server receives an interface element sent by the electronic device, and obtains at least one semantic feature value of the interface element; the semantic feature value is used to indicate a semantic feature of the interface element;
  • the server may receive an interface element sent by the electronic device and the interface element semantic feature value.
  • the server may obtain at least one semantic feature value of the interface element by using a lookup database.
  • the server after receiving the interface element sent by the electronic device, the server sends a first request to the electronic device when the semantic feature value of the interface element is not found; the first request is used to request The electronic device prompts the user to input a semantic feature value of the interface element; the server receives at least one semantic of the interface element sent by the electronic device according to the first request and the semantic feature value input by the user The feature value obtains at least one semantic feature value of the interface element.
  • the interface elements include, but are not limited to, text, and may also be pictures or application icons.
  • the text may be a word, or a word, or a sentence; the text may be simplified Chinese, or Chinese traditional; the text may also be English, Japanese, or the like.
  • S402 Obtain a semantic feature value of the target application; the semantic feature value of the target application is used to indicate a semantic feature of the target application;
  • the server queries a semantic feature value of all applications in an application store; the target application is the application in the application store. Or,
  • the server sends the application information associated with the interface element to the electronic device.
  • the interface element sent by the server receiving the electronic device may specifically be: receiving an interface element sent by the electronic device and context information of the interface element, where the interface element and the interface are further
  • the context information of the element obtains at least one semantic feature value of the interface element that conforms to the context of the interface element.
  • the server may obtain a plurality of semantic feature values of the text information, and among the plurality of semantic feature values, a part of the semantic feature values may not meet the text information.
  • Contextual context The server may receive context information of the text information sent by the electronic device, and acquire at least one semantic feature value of the text information that conforms to the context context according to context information of the text information.
  • the server may obtain at least one semantic feature value of the interface element by using a lookup database.
  • the server may obtain at least one semantic feature value of the interface element by using a lookup database.
  • the server sends a first request to the electronic device when the semantic feature value of the interface element is not found; the first request is used to request the electronic device to prompt the user to input a semantic feature value of the interface element.
  • the electronic device prompts the user to input a semantic feature value of the interface element.
  • the server receives the interface element that is sent by the electronic device according to the first request and the semantic feature value input by the user At least one semantic feature value, obtaining at least one semantic feature value of the interface element.
  • the server may be based on the semantic input by the user
  • the feature value looks up at the database for at least one semantic feature value associated with the semantic feature value entered by the user.
  • the server compares the associated at least semantic feature value with the interface element. The matching criterion may be based on whether the associated semantic feature value has a correlation with the interface element, whether the meaning is the same, and whether the context of the interface element is met.
  • the server Confirming, at the server, the associated semantic feature value and the interface
  • the server acquires at least one semantic feature value of the user input sent by the electronic device and at least one semantic feature value that is searched by the server and associated with the semantic feature value input by the user.
  • the target application is all applications in an application store.
  • the obtaining the semantic feature value of the target application by the server may specifically be that the server queries a semantic feature value of all applications in an application store.
  • the server can query the semantic feature values of all applications in the Huawei smart cloud application market.
  • the application store may request the developer of the application to submit relevant information of the application when the application is uploaded, and the related information of the application includes a semantic feature value of the application.
  • the server associates at least one semantic feature value of the interface element with an application of semantic features of all applications in the application store.
  • the application associated with the interface element may be an application that the electronic device has been installed, or an application that is not installed by the electronic device.
  • the target application is an application that is installed by the electronic device
  • the server obtains a semantic feature value of the target application, where the server may receive the electronic device.
  • the sent e-device has installed the semantic feature value of the application.
  • the electronic device scans an application installed by the electronic device, obtains a semantic feature value of the installed application, and sends a semantic feature value of the installed application to a server.
  • the server After obtaining the semantic feature value of the installed application of the electronic device, the server performs at least one semantic feature value of the interface element and a semantic feature value of the installed application
  • the server acquiring the semantic feature value of the application may be that the server receives the semantic feature value of the electronic device installed application sent by the electronic device.
  • the electronic device scans an application installed by the electronic device, acquires a semantic feature value of the installed application, and sends the semantic feature value of the installed application to a server.
  • the server acquires the semantic feature value of the installed application of the electronic device, the at least one semantic feature value of the interface element is matched with the semantic feature value of the installed application.
  • the server determines that the application associated with the interface element is a second application; the second application is An application that is found by the server and corresponds to a semantic feature value of the interface element.
  • the server looks up a semantic feature value of an application that matches at least one semantic feature value of the interface element.
  • the server may query the semantic feature values of all the applications in an application store, and may also query the semantic feature values of the applications that are not installed by the electronic device in a technical forum.
  • the server finds a semantic feature value of the application that matches at least one semantic feature value of the interface element, matching at least one semantic feature value of the interface element with the semantic feature value of the application Determining that the application corresponding to the matched semantic feature value is an application associated with the interface element.
  • the application associated with the interface element is an application that is not installed by the electronic device.
  • the electronic device may be a handheld computer system, such as a smart phone, a tablet personal computer, a personal digital assistant (PDA), and a mobile internet device (Mobi le Internet Device, MID) or Wearable Device.
  • PDA personal digital assistant
  • MID mobile internet device
  • the electronic device typically includes at least one processor (e.g., a CPU), an output device, and at least one communication bus.
  • processor e.g., a CPU
  • the structure of the electronic device shown in FIG. 5 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those illustrated, or may combine some components, or Different parts are arranged.
  • the communication bus is used to implement connection communication between the processor and the output device.
  • Output devices include, but are not limited to, image output devices and sound output devices.
  • the image output device is used to output text, pictures, and/or video.
  • the image output device may include a display panel, for example, configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or a field emission display (FED). Display panel.
  • the image output device may comprise a reflective display, such as an electrophoretic display, or a display utilizing an Interferometric Modulation of Light.
  • the image output device can include a single display or multiple displays of different sizes.
  • the touch panel used by the input device can also serve as a display panel of the output device.
  • the touch panel when the touch panel detects a touch or proximity gesture operation thereon, the touch panel transmits to the processor to determine the type of the touch event, and then the processor provides a corresponding visual output on the display panel according to the type of the touch event.
  • the input device and the output device function as two independent components to realize the input and output functions of the electronic device, but the touch panel and the display panel can also be integrated to realize the input and output functions of the electronic device.
  • the image output device can display various graphical user interfaces (GUIs) as virtual control components, including but not limited to windows, scroll axes, icons, and scrapbooks, for users to touch. Control mode to operate.
  • GUIs graphical user interfaces
  • the processor is a control center of the electronic device, and connects various parts of the entire computer by using various interfaces and lines, and executes the site by running or executing a software program and/or an application unit stored in the memory, and calling data stored in the memory.
  • the various functions and processing of the data thus the overall monitoring of the site.
  • the input device is used to implement user interaction with the electronic device and/or information input into the electronic device.
  • the input device can receive numeric or character information entered by the user to generate signal inputs related to user settings or function controls.
  • the input device may be a touch panel or other human-computer interaction interface, such as a physical input key, a microphone, etc., or other external information capture device, such as a camera.
  • a touch panel also known as a touch screen or touch screen, collects the actions that the user touches or approaches on. For example, the user uses a finger, a stylus, or the like to operate any suitable object or accessory on or near the touch panel, and drives the corresponding connecting device according to a preset program.
  • the touch panel may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects a touch operation of the user, converts the detected touch operation into an electrical signal, and transmits the electrical signal to the touch controller;
  • the touch controller receives the electrical signal from the touch detection device, and Convert it to contact coordinates and send it to the processing unit.
  • the touch controller can also receive and execute commands from the processing unit.
  • touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the physical input keys used by the input device may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like. Or a variety.
  • An input device in the form of a microphone can collect the voice input by the user or the environment and convert it into a command in the form of an electrical signal that the processing unit can execute.
  • the input device may also be various types of sensor components, such as a Hall device, for detecting physical quantities of the electronic device, such as force, torque, pressure, and Force, position, displacement, speed, acceleration, angle, angular velocity, number of revolutions, speed, and time when the operating state changes, turn into electricity for detection and control.
  • sensor components may also include gravity sensors, three-axis accelerometers, gyroscopes, and the like.
  • the electronic device includes:
  • the processor 530 is configured to determine an interface element of the first interface, determine that the feature value associated with the interface element matches a semantic feature value of the target application, and determine an application that is associated with the interface element according to the matching result;
  • the semantic feature value of the interface element is used to indicate a semantic feature of the interface element;
  • the semantic feature value of the target application is used to indicate a semantic feature of the target application;
  • the processor 530 may obtain at least one semantic feature value of the interface element; acquire a semantic feature value of the target application; and at least one semantic feature value of the interface element and the target application The semantic feature values are matched, and the application corresponding to the matched semantic feature value is determined to be an application associated with the interface element. That is, the processor 530 locally matches the semantic feature values of the interface element and the target application to determine an application associated with the interface element.
  • the electronic device may send the interface element to a server; the interface element is used by the server to search for a semantic feature value of the interface element, and the semantic feature value of the interface element is Matching semantic feature values of the target application to determine an application associated with the interface element corresponding to the matched semantic feature value; receiving, at the electronic device, an application associated with the interface element sent by the server After the information of the program, the processor 530 determines an application associated with the interface element.
  • the electronic device sends the interface element to the server, and after the server matches the semantic feature value of the interface element and the semantic feature value of the target application, the electronic device receives the information sent by the server
  • the application information associated with the interface element the processor 530 parses the information of the application associated with the interface element, and determines an application associated with the interface element.
  • the output device 520 is configured to match, at the processor 530, at least one semantic feature value of the interface element and a semantic feature value of an application that the electronic device has acquired, And after determining an application associated with the interface element based on the matching result, displaying the application associated with the interface element.
  • the output device 520 is configured to: at the electronic device, receive application information that is sent by the server and is associated with the interface element, and the processor 530 parses the application that is associated with the interface element. Program information, after determining an application associated with the interface element, presenting the application associated with the interface element.
  • the embodiment provided by the present invention matches the semantic feature value of the interface element with the semantic feature value of the target application, thereby determining that the application corresponding to the matched semantic feature value is an application associated with the interface element, so that the electronic
  • the device intelligently identifies the application associated with the interface element, improving the efficiency of the call to the application by the electronic device.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in the figure, the electronic device includes:
  • the processor 630 is configured to determine an interface element of the first interface, obtain at least one semantic feature value of the interface element, acquire a semantic feature value of the application, and associate at least one semantic feature value of the interface element with the application The semantic feature values are matched to determine a matching semantic feature value to indicate a semantic feature of the interface element;
  • the determining, by the processor 630, the interface element of the first interface may include the processor 630 determining an interface element of the first interface and context information of the interface element.
  • the processor 630 can determine an interface element of the first interface according to a user instruction.
  • the processor 630 can automatically identify an interface element that determines the first interface.
  • the processor 630 may obtain at least one semantic feature value of the interface element searched by the server.
  • the processor 630 can obtain at least one semantic feature value of the interface element in a local database of the electronic device.
  • the processor 630 may match at least one semantic feature value of the interface element with a semantic feature value of an application that the electronic device has installed, and determine an application associated with the interface element according to the matching result. program.
  • the processor 630 may compare at least one semantic feature value of the interface element with The semantic feature values of the application that are not installed by the electronic device are matched, and the application associated with the interface element is determined according to the matching result.
  • the output device 620 can present the icon of the application associated with the interface element, and can also display the name of the identification of the application associated with the interface element.
  • the output device 620 displays an application associated with the interface element, and the number of the associated applications may be one or multiple.
  • the application that is displayed by the output device 620 is associated with the interface element, and when the number of applications that are associated with the interface element is displayed, the application may follow a preset. Arranged in order.
  • the preset order includes, but is not limited to, the number of users of the application, the development time of the application, and the like.
  • the application associated with the interface element displayed by the output device 620 can be
  • the processor determines that the interface element of the first interface may determine, by the processor, an interface element of the first interface and context information of the interface element.
  • the processor acquires, according to the interface element of the first interface and the context of the interface element, for example, when the interface element determined by the processor is text information, the processor acquires multiple semantic feature values of the text information.
  • the plurality of semantic feature values there may be partial semantic feature values that do not conform to the context of the text information. Taking "G510" as an example, when the processor obtains the semantic feature value of "G510", at least two semantic feature values that are inconsistent with each other, namely "train train number" and "mobile phone model", appear.
  • the processor determines the context information of the "G510".
  • the context information of the "G510” may be the entire sentence text information of the "G510", and the entire sentence text information is extracted by a comma or a period as a separator.
  • the processor obtains at least one semantic feature value of "G510" in accordance with the contextual meaning.
  • the processor 630 may obtain at least one semantic feature value of the interface element by using a server to search for a semantic feature value of the interface element.
  • the electronic device includes:
  • the transmitter 640 is configured to send, after the processor 630 determines the interface element of the first interface, the first request to the server, before acquiring the at least one semantic feature value of the interface element; Requesting a request for the server to find a semantic feature value of the interface element; the first request may include context information of the interface element;
  • the receiver 650 is configured to receive at least one semantic feature value of the interface element sent by the server according to the first request. Specifically, the server searches for a semantic feature value of the interface element. When the server finds a plurality of semantic feature values, the server determines at least one semantic feature value that conforms to the context context of the interface element according to the context information of the interface element, and sends the semantic feature value to the Electronic device
  • the processor 630 is configured to obtain at least one semantic feature value of the interface element sent by the server received by the receiver 650.
  • the processor 630 may obtain at least one semantic feature value of the interface element by using a server to search for a semantic feature value of the interface element.
  • the electronic device includes:
  • Receiver 650 And receiving, before receiving the at least one semantic feature value of the interface element sent by the server according to the first request, a second request sent by the server when the semantic feature value of the interface element is not found. Specifically, after the processor 630 determines an interface element of the first interface, the first request is sent to the server, where the first request is used to request the server to search for a semantic feature value of the interface element. When the server does not find the semantic feature value of the interface element, the receiver 650 is further configured to receive a second request sent by the server, where the second request is used to request the electronic device to prompt the user to input The semantic feature value of the interface element.
  • the output device 620 is configured to prompt the user to input a semantic feature value of the interface element according to the second request.
  • the input device 660 is configured to: after prompting the user to input the semantic feature value of the interface element according to the second request, receive the semantic feature value input by the user.
  • the sender 640 is configured to send the semantic feature value input by the user to the server after the input device 660 acquires the semantic feature value of the interface element input by the user.
  • the receiver 650 is further configured to receive, by the server, at least one semantic feature value that is associated with the semantic feature value input by the user, according to the first request and the semantic feature value input by the user.
  • the server receives the semantic feature value of the user input sent by the sender, the correspondence between the semantic feature value input by the user and the interface element may be saved to the database for backup.
  • the server searches and searches in the database according to the semantic feature value input by the user
  • the semantic feature value associated with the semantic feature value input by the user has the same or similar semantic feature as the semantic feature value input by the user.
  • the server compares the associated semantic feature values with the interface elements.
  • the matching criterion may be based on whether the associated semantic feature value has a correlation with the interface element, whether the meaning is the same, and whether the context of the interface element is met.
  • the processor 630 is configured to obtain at least one semantic feature value of the interface element sent by the server received by the receiver 650.
  • the processor may obtain at least one semantic feature value of the interface element by searching a local database of the electronic device. After the processor determines an interface element of the first interface, the processor searches a database of the electronic device to obtain at least one semantic feature value of the interface element. When the processor finds a plurality of semantic feature values in the database, the processor may acquire context information of the interface element, parse the context of the interface element, and obtain a compliance according to the context information. At least one semantic feature value of the contextual context of the interface element.
  • the processor may obtain at least one semantic feature value of the interface element by searching a local database of the electronic device.
  • the electronic device includes:
  • the output device 620 is configured to prompt the user to input a semantic feature value of the interface element when the processor does not obtain at least one semantic feature value of the interface element in a local database of the electronic device.
  • an input device configured to receive a semantic feature value input by the user after the output device prompts the user to input the semantic feature value of the interface element.
  • the semantic feature value input by the user is a semantic feature value of the interface understood by the user.
  • the processor may save the correspondence between the semantic feature value input by the user and the interface element to the database for backup.
  • a processor configured to determine an interface element of the first interface, obtain a semantic feature value associated with the semantic feature value input by the user, and obtain a semantic feature value associated with the user input by searching a local database of the electronic device At least one semantic feature value of the interface element. Where And searching, in the database, a semantic feature value associated with the semantic feature value input by the user according to the semantic feature value input by the user, the semantic feature associated with the semantic feature value input by the user and the user input The semantic feature values have similar semantic features.
  • the processor compares the associated semantic feature values with the interface elements. The matching criterion may be based on whether the associated semantic feature value has a correlation with the interface element, whether the meaning is the same, and whether the context of the interface element is met. And when the processor confirms that the associated semantic feature value matches the interface element, acquiring at least one semantic feature value of the interface element associated with the semantic feature value input by the user.
  • the processor may obtain at least one semantic feature value of the interface element by searching a local database of the electronic device.
  • a transmitter configured to send a first request to the server when the processor does not obtain at least one semantic feature value of the interface element in a local database of the electronic device; the first request is used to request a server to search a semantic feature value of the interface element;
  • a receiver configured to receive at least one semantic feature value of the interface element sent by the server according to the first request.
  • the sender sends a first request to the server when the processor does not find a corresponding semantic feature value in a database of the electronic device.
  • the receiver receives a semantic feature value of the interface element sent by the server according to the first request.
  • the sender sends a first request to the server when the processor does not find a corresponding semantic feature value in a database of the electronic device.
  • the first request includes context information of the interface element.
  • the server finds the semantic feature values of the plurality of interface elements, the server selects at least one semantic feature value that conforms to the context context of the interface element according to the context information of the interface element, and Transmitting the semantic feature value to the electronic device.
  • the receiver receives at least one semantic feature value of the interface element sent by the server according to the first request.
  • the electronic device further includes an input device.
  • the sender sends a first request to the server when the processor does not find a corresponding semantic feature value in the database of the electronic device.
  • the receiver receives a third request sent by the server, where the third request is used to request the output device of the electronic device to prompt the user to input the location The semantic feature value of the interface element.
  • the sender sends the semantic feature value input by the user to the server.
  • the server may search, in the database, a semantic feature value associated with the semantic feature value input by the user according to the semantic feature value input by the user, and associate the semantic feature value associated with the semantic feature value input by the user Send to an electronic device.
  • the associated semantic feature value has the same or similar semantic feature as the user-entered semantic feature value.
  • the receiver receives at least one semantic feature value sent by the server and associated with a semantic feature value input by the user.
  • the processor compares the associated semantic feature values with the interface elements. The matching criterion may be based on whether the associated semantic feature value has a correlation with the interface element, whether the meaning is the same, and whether the context of the interface element is met. And when the processor confirms that the associated semantic feature value matches the interface element, acquiring at least one semantic feature value of the interface element associated with the semantic feature value input by the user.
  • the electronic device may request the server to query a semantic feature value of an application that has been installed by the electronic device, and obtain a semantic feature value of the application.
  • the electronic device includes:
  • a processor configured to scan an installed application, to obtain information about the installed application.
  • the information of the installed application may include the name, category, calling code, and the like of the application, and does not include semantic feature values of the application.
  • a sender configured to send a third request to the server after the processor acquires the information about the installed application; the third request is used to query a semantic feature value of the installed application; The third request contains information about the installed application.
  • a receiver configured to receive a semantic feature value of the installed application sent by the server according to the fourth request; after receiving the third request sent by the sender, the server acquires the installed application Information, and find the semantic feature values of the application. After the server finds the corresponding semantic feature value, the receiver receives the semantic feature value of the installed application sent by the server according to the fourth request.
  • the processor is further configured to: match at least one semantic feature value of the interface element with a semantic feature value of the installed application; determine that an application corresponding to the matched semantic feature value is related to the interface element Linked app.
  • the processor determines the semantics of the match when determining that the interface element semantic feature value is the same or similar to the semantic feature value of the installed application
  • the processor extracts related information of the newly installed application, and the sender sends a query request for querying the semantic value of the newly installed application to the server, Receiving, by the receiver, a semantic feature value of the newly installed application sent by the server, the processor updating a semantic feature value of the newly installed application to a semantic feature of the summarized local installed application A collection of values that incorporates the semantic feature values of the newly installed application into the matching range in the next match.
  • the electronic device may search for a semantic feature value of an application that has been installed by the electronic device in a local database, and obtain a semantic feature value of the application.
  • the processor scans an installed application to obtain information of the installed application; the installed application information includes semantic feature values of the application.
  • the processor matches at least one of the semantic feature values of the interface element with a semantic feature value of the installed application; determining that the application corresponding to the matched semantic feature value is an application associated with the interface element .
  • the application of the electronic device may be an application downloaded from a specific application store.
  • the application store may require the developer of the application to submit information about the application when submitting the application, such as the name of the application, the class of the application, the calling code of the application, and the application. API, etc., the related information of the application includes the semantic feature value of the application.
  • the electronic device can obtain the semantic feature value of the application after downloading the application from the application store.
  • the processor extracts a semantic feature value of the newly installed application, and updates semantic features of the summarized local installed application. A collection of values that incorporates the semantic feature values of the newly installed application into the matching range in the next match.
  • the electronic device may search for a semantic feature value of an application that has been installed by the electronic device in a local database, and obtain a semantic feature value of the application.
  • the processor matches at least one semantic feature value of the interface element with a semantic feature value of the application, if the semantic feature value of the application does not match the semantic feature value of the interface element,
  • the electronic device can send the semantic feature value of the interface element to a server requesting the server to find an application associated with the interface element.
  • the electronic device includes: the processor scanning an installed application, and obtaining a letter of the installed application
  • the information of the installed application contains semantic feature values of the application.
  • the processor extracts semantic feature values of the locally installed application, and after summarizing the semantic feature values of the locally installed application, matches the semantic feature values of the interface elements with the semantic features of the installed application.
  • a transmitter configured to: when the processor determines that the semantic feature value of the installed application does not match the semantic feature value of the interface element, send the semantic feature value of the interface element to a server; requesting a server to search A semantic feature value of an application that is not installed by the electronic device that matches a semantic feature value of the interface element.
  • a receiver configured to receive the first application information that is not installed by the electronic device that is sent by the server, and determine that the application that is associated with the interface element is the first application; the first application An application corresponding to the semantic feature value found by the server and matching the semantic feature value of the interface element.
  • the electronic device may request the server to search for a semantic feature value of the application, obtain a semantic feature value of the application, and at least one semantic feature value of the interface element and the application.
  • the semantic feature values of the program are matched, and an application associated with the interface element is determined according to the matching result.
  • the electronic device includes:
  • a sender configured to send a fourth request to the server; the fourth request is used to query a semantic feature value of all applications in the application store;
  • the application store may be a server corresponding to the application store client on the electronic device application interface On the application store, such as pea clips, Huawei Zhihui cloud application market.
  • a receiver configured to receive a semantic feature value of all applications in the application store sent by the server according to the fourth request sent by the sender; and the receiver receives the response of the server to the fourth request Receiving a semantic feature value of all applications in the application store sent by the server according to the fourth request.
  • the processor is configured to acquire semantic feature values of all applications in the application store received by the receiver, and at least one semantic feature value of the interface element and semantic feature values of all applications in the application store Performing a match; determining that the application corresponding to the matched semantic feature value is an application associated with the interface element.
  • the processor determines that the interface element semantic feature value is the same as or similar to the semantic feature value of the installed application, determines that, in the foregoing implementation manner of the embodiment of the present invention, the processor may Obtained according to the user's instructions At least one semantic feature value of the interface element, the output device is configured to display an association option in the first interface after the processor determines the interface element of the first interface, before acquiring the at least one semantic feature value of the interface element ;
  • the associated option can be a dialog or a button.
  • the input device is configured to: after the first interface displays the association option, the output device receives a first instruction input by the user when the association option is selected; the input device receives the second instruction input by the user in the dialog box Or, the input device receives a second instruction generated by a user trigger button.
  • the processor is configured to obtain at least one semantic feature value of the interface element according to the second instruction.
  • the processor may match at least one semantic feature value of the interface element with a semantic feature value of the application according to an instruction of a user, and determine, according to the matching result, The application associated with the interface element.
  • the output device is configured to: after the processor acquires the at least one semantic feature value of the interface element, before matching the semantic feature value of the interface element with the semantic feature value of the application acquired by the electronic device, in the first
  • the interface displays associated options; the associated options can be dialogs or buttons.
  • the input device is configured to receive a third instruction that is input when the user selects the associated option; the input device receives the third instruction input by the user in the dialog box, or the third input generated by the input device receives the user trigger button instruction.
  • the processor is configured to match at least one semantic feature value of the interface element with the semantic feature value of the application according to the third instruction, and determine an application associated with the interface element according to the matching result.
  • FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device includes:
  • the processor 730 is configured to determine an interface element of the first interface.
  • the transmitter 720 is configured to: after the processor 730 determines an interface element of the first interface, send the interface element to a server; the interface element is used by the server to search for a semantic feature value of the interface element, And matching the semantic feature value of the interface element with the semantic feature value of the target application, and determining an application corresponding to the interface element corresponding to the matched semantic feature value; the interface element and the application program Matching the semantic feature values means that the semantic feature values of the interface elements are the same as or similar to the semantic feature values of the application;
  • the receiver 740 is configured to receive information about an application that is sent by the server and is associated with the interface element.
  • the processor 730 is further configured to receive, at the receiver 740, the server and the boundary After the information of the application associated with the polygon element, the application associated with the interface element is determined; in an implementation manner of the embodiment of the present invention, the processor is further configured to: determine an interface element of the first interface
  • the context information is sent by the sender to the server, where the server sends the interface element and the context information of the interface element to the server; the interface element and the context of the interface element
  • the information is used by the server to find a semantic feature value of the interface element according to the context information.
  • the electronic device further includes an input device and an output device.
  • the receiver is further configured to: before receiving the information about the application that is sent by the server and associated with the interface element, receive a second that is sent by the server when the semantic feature value of the interface element is not found.
  • an output device configured to prompt the user to input a semantic feature value of the interface element according to the second request
  • An input device configured to receive a semantic feature value of the interface element input by a user; the sender is further configured to: send a semantic feature value of the interface element input by the user to the server; The semantic feature value is used by the server to search for a semantic feature value of the interface element according to the semantic feature value input by the user.
  • the electronic device further includes a processor.
  • the processor is configured to scan an installed application of the electronic device to obtain information of the installed application; and the transmitter is configured to send information of the installed application to the server.
  • the information of the installed application includes a semantic feature value of the installed application.
  • the output device presents an identification of an application associated with the interface element.
  • the output device may specifically display an icon of the application associated with the interface element, and may also display a name of an identification of an application associated with the interface element.
  • the output device presents an identification of an application associated with the interface element.
  • the number of applications displayed by the output device associated with the interface element may be one or more.
  • the output device presents an identification of an application associated with the interface element.
  • the displayed applications may be arranged in a preset order.
  • the preset order includes, but is not limited to, the number of users of the application, the development time of the application, and the like.
  • the output is associated with the interface element
  • the processor may determine that the interface is in the foregoing embodiment of the present invention according to an instruction of a user, and the output device may display an application associated with the interface element according to an instruction of a user. At least one of the logos.
  • the output device is configured to match the semantic feature value of the interface element with the semantic feature value of the application acquired by the electronic device, determine an application associated with the interface element, and display the output device on the output device Before the identifier of the application associated with the interface element, an association option is displayed in the first interface; the association option may be a dialog box or a button.
  • the input device is configured to receive a fourth instruction that is input when the user selects the associated option; the input device receives the fourth instruction input by the user in the dialog box, or the fourth input by the input device receives the user trigger button instruction.
  • an output device configured to display an identifier of an application associated with the interface element according to the fourth instruction.
  • the processor may activate at least one of the applications associated with the interface element displayed by the output device according to a user's instruction.
  • An output device after receiving an identifier of an application associated with the interface element, optionally receiving a user input, the processor, configured to launch an application associated with the interface element according to the user instruction At least one of them.
  • the application program associated with the interface element displayed by the electronic device is an application that has been installed by the electronic device
  • the processor invokes a calling code segment corresponding to the application according to a user instruction to implement the application.
  • the program is called to start the corresponding application.
  • the code for the program call code segment is a preset code for opening the application and passing the corresponding parameter to the application.
  • the processor is further configured to: start and interface with the interface element according to the user instruction At least one of the associated applications, and copying the interface elements.
  • the interface element determined by the processor is text information
  • the output device displays a specific map application associated with the text information.
  • the input device receives an instruction of the user, and the processor automatically copies the text information into the pasteboard of the electronic device system while starting the map application associated with the text information.
  • the output device may display a prompt box prompting the user to "automatically copy the text information", prompting the user to directly paste the text information into the input box of the map application. in.
  • the embodiment of the invention reduces the input operation of the user, especially when the interface elements selected by the user are more or more complicated, the operation efficiency of the user is improved, and the user experience is improved.
  • the processor is operative to initiate at least one of the associated applications as the input parameter of the associated application in accordance with the user instruction. Specifically, after the input device acquires an instruction that the user starts the related application, the processor invokes a corresponding code segment of the application, and uses the interface element selected by the user as the input parameter to start the application.
  • the output device presents an application interface after the interface element is input in the application, and displays a processing result of the application inputting the interface element.
  • the embodiment of the invention reduces the input operation of the user, especially in the case that the interface elements selected by the user are more or more complex, the operation efficiency of the user is improved, and the user experience is improved.
  • the processor may activate at least one of the applications associated with the interface element displayed by the output device according to an instruction of a user.
  • An input device configured to: after the output device displays an identifier of an application associated with the interface element, receive an instruction input by a user; the instruction is used to start the application associated with the interface element
  • At least one processor is configured to parse the instruction received by the input device; the output device is further configured to: after the processor parses an instruction received by the input device, determining that the object pointed by the instruction is the When the electronic device has not yet installed the application, the user is prompted to install the application.
  • the processor may activate at least one of the applications associated with the interface element displayed by the output device according to an instruction of a user.
  • Electronic device An input device configured to: after the output device displays an identifier of an application associated with the interface element, receive an instruction input by a user; the instruction is used to start the application associated with the interface element At least one;
  • the processor is operative to initiate at least one of the associated applications as the input parameter of the associated application in accordance with the user instruction. Specifically, after the input device acquires an instruction that the user starts the related application, the processor invokes a corresponding code segment of the application, and uses the interface element selected by the user as the input parameter to start the application.
  • the output device presents an application interface after the interface element is input in the application, and displays a processing result of the application inputting the interface element.
  • the embodiment of the invention reduces the input operation of the user, especially in the case that the interface elements selected by the user are more or more complex, the operation efficiency of the user is improved, and the user experience is improved.
  • the processor is configured to parse the instruction received by the input device, and determine that the object pointed to by the instruction is a webpage application that is not installed by the electronic device, and the running browser starts the application in a webpage form;
  • the processor when the processor runs the browser to launch the application in the form of a webpage, the processor is further configured to: start at least one of the applications associated with the interface element according to the user instruction, and copy The interface element.
  • the interface element determined by the processor is text information, and the specific map application associated with the text information displayed by the output device.
  • the input device receives an instruction from a user, and the processor automatically copies the text information into a sticker of the electronic device system while activating the map application associated with the text information.
  • the output device may display a prompt box prompting the user to "automatically copy the text information", prompting the user to directly paste the text information into the input box of the map application. in.
  • the embodiment of the invention reduces the input operation of the user, especially when the interface elements selected by the user are more or more complicated, the operation efficiency of the user is improved, and the user experience is improved.
  • the output device is further configured to: when the processor parses the instruction received by the input device, and determines that the object pointed to by the instruction is a webpage application that is not installed by the electronic device, prompting the user to run the browsing. To launch the application.
  • the output device is further configured to be in the processor After exiting the application associated with the interface element, the first interface is presented. With The output device presents the first interface after the processor invokes an application associated with the interface element to complete a specific task operation and exit the application.
  • FIG. 10 is a structural diagram of a server device according to an embodiment of the present invention. As shown, the server includes:
  • a receiver 840 configured to receive an interface element sent by the electronic device
  • the receiver 840 receives interface elements sent by the electronic device and context information of the interface elements.
  • the processor 830 is configured to obtain at least one semantic feature value of the interface element, obtain a semantic feature value of the application, and match at least one semantic feature value of the interface element with the semantic feature value of the application, according to The matching result determines an application associated with the interface element; the semantic feature value is used to indicate a semantic feature of the interface element;
  • the processor 830 queries a semantic feature value of all applications in an application store to obtain semantic feature values of all applications in the application store;
  • the processor 830 acquires a semantic feature value of the electronic device installed application sent by the electronic device received by the receiver;
  • the transmitter 820 is configured to send the application information associated with the interface element to the electronic device. After the processor 830 determines an application associated with the interface element based on the matching result, the transmitter 820 transmits the application information associated with the interface element to the electronic device.
  • the receiving device sends the interface element sent by the electronic device, where the receiver receives the interface element sent by the electronic device and the context information of the interface element.
  • the processor may obtain a plurality of semantic feature values of the text information when the interface element received by the receiver is text information according to the context information of the interface element and the interface element. Among the plurality of semantic feature values of the text information, there may be partial semantic feature values that do not conform to the context context of the text information.
  • the receiver receives context information of the text information sent by the electronic device, and the processor acquires at least one semantic feature value of the text information that conforms to the context context according to context information of the text information.
  • the receiver sends the electronic device After the interface element is sent, the processor may obtain at least one semantic feature value of the interface element by using a lookup database.
  • the processor may obtain at least one semantic feature value of the interface element by using a lookup database.
  • the transmitter sends a first request to the electronic device when the semantic feature value of the interface element is not found; the first request is used to request the electronic device to prompt a user to input the interface The semantic eigenvalue of the element.
  • the electronic device After receiving the first request sent by the sender of the server, the electronic device prompts the user to input a semantic feature value of the interface element.
  • the receiver of the server receives the electronic device according to the first request, and the semantic feature value input by the user At least one semantic feature value of the interface element.
  • the processor acquires at least one semantic feature value of the interface element.
  • the receiver receives at least one semantic feature value of the interface element sent by the electronic device according to the first request and the semantic feature value input by the user, where After the processor acquires at least one semantic feature value of the interface element, the processor may search, in the database, at least one semantic feature associated with the semantic feature value input by the user according to the semantic feature value input by the user. value. After finding at least one semantic feature value associated with the semantic feature value entered by the user, the processor compares the associated at least one semantic feature value with the interface element. The matching criterion may be based on whether the associated semantic feature value has a correlation with the interface element, whether the meaning is the same, and whether the context of the interface element is met. When the processor confirms that the associated semantic feature value matches the interface element, the processor acquires at least one semantic feature value of the user input sent by the electronic device and the user searched by the server At least one semantic feature value associated with the input semantic feature value.
  • the acquiring the semantic feature value of the application by the processor may be that the processor queries a semantic feature value of all applications in an application store.
  • the processor can query the semantic feature values of all applications in the Huawei smart cloud application market.
  • the processor matches at least one semantic feature value of the interface element with semantic feature values of all applications in the application store;
  • the application corresponding to the matched semantic feature value is an application associated with the interface element.
  • the application associated with the interface element may It is an application that the electronic device has already installed, and may also be an application that the electronic device has not yet installed.
  • the acquiring, by the processor, the semantic feature value of the application may be after the receiver receives the semantic feature value of the installed application of the electronic device sent by the electronic device.
  • the processor acquires a semantic feature value of an application sent by the electronic device.
  • the electronic device scans an application installed by the electronic device, obtains a semantic feature value of the installed application, and sends a semantic feature value of the installed application to a server.
  • the processor acquires the semantic feature value of the installed application of the electronic device, the at least one semantic feature value of the interface element and the semantic feature value of the installed application
  • the acquiring, by the processor, the semantic feature value of the application may be after the receiver receives the semantic feature value of the installed application of the electronic device sent by the electronic device.
  • the processor acquires a semantic feature value of an application sent by the electronic device.
  • the electronic device scans an application installed by the electronic device, obtains a semantic feature value of the installed application, and sends a semantic feature value of the installed application to a server.
  • the processor acquires the semantic feature value of the installed application of the electronic device, the at least one semantic feature value of the interface element is matched with the semantic feature value of the installed application.
  • the processor searches for at least one semantic feature value of the interface element The semantic feature value of the matching application.
  • the processor may query the semantic feature values of all applications in an application store, and may also query the semantic feature values of the applications that are not installed by the electronic device in a technical forum. After the processor finds a semantic feature value of the application that matches at least one semantic feature value of the interface element, performing at least one semantic feature value of the interface element with the semantic feature value of the application Horse

Abstract

 本发明的实施例公开了一种确定与界面元素相关联的应用程序的方法及电子设备、服务器,涉及信息技术领域。所述方法包括:电子设备确定第一界面的界面元素;所述电子设备确定与所述界面元素相关联的应用程序;所述与界面元素相关联的应用程序为所述界面元素的语义特征值与目标应用程序的语义特征值进行匹配,根据匹配结果确定的与所述界面元素相关联的应用程序;所述电子设备展示与所述界面元素相关联的应用程序的标识。本发明实施例使得电子设备能够智能识别与界面元素的相关联的应用程序,提高了电子设备调用应用程序的调用效率。

Description

-设备、 服务器
技术领域
本发明涉及信息技术领域,尤其涉及一种确定与界面元素相关联的应 用程序的方法及电子设备、 服务器。 背景技术
随着智能电子设备的不断发展, 越来越多的应用软件 (APP , application )被开发应用以方便用户的工作与生活。 在用户的电子设备装 载越来越多 APP的情况下, 如何便利的在各个相关联的 APP之间转换也 成为用户较为关注的问题。
现有技术中, 各关联 APP之间的调用常见于图片、社交等特定 APP。 如图库中的某一图片, 用户点击 "分享", 会调出 "微信、 微博" 等 APP 供用户选择实现图片分享。
但现有技术并不能对 APP应用界面中的文字信息进行有效调用。 例 如, 用户在启用浏览器浏览网页时发现某一地名, 如苏州, 但其不知道 苏州的具体位置, 想在地图上找到苏州的相关信息。 此时, 用户需要退 出当前浏览器界面, 运行地图应用软件, 输入 "苏州" 才可进入相应界 面查询苏州的具体位置等信息。 如此, 用户操作步骤冗杂, 应用程序的 调用效率较低。 发明内容 备、 服务器, 以便利地实现应用程序调用, 减少用户的操作步骤, 提高应用 程序的调用效率。
第一方面,本发明提供了一种确定与界面元素相关联的应用程序的方法 的一个实施例。
在第一种可能的实现方式中, 所述方法包括: 电子设备确定第一界面的 界面元素; 相关联的应用程序为将所述界面元素的语义特征值与目标应用程序的语义 特征值进行匹配, 匹配的语义特征值对应的应用程序; 所述界面元素的语义 特征值用于指示所述界面元素的语义特点; 所述目标应用程序的语义特征值 用于指示所述目标应用程序的语义特点;
所述电子设备展示与所述界面元素相关联的应用程序的标识。
结合第一方面第一种可能的实现方式, 在第二种可能的实现方式中, 所 取所述界面元素的至少一个语义特征值;
所述电子设备获取所述目标应用程序的语义特征值;
所述电子设备将所述界面元素的至少一个语义特征值与所述目标应用 程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应 用程序。
结合第一方面第二种可能的实现方式, 在第三种可能的实现方式中, 所 述电子设备确定第一界面的界面元素, 获取所述界面元素的至少一个语义特 征值具体为:
所述电子设备确定第一界面的界面元素和所述界面元素的上下文信息, 结合第一方面第二种或第三种可能的实现方式,在第四种可能的实现方 式中, 在电子设备确定第一界面的界面元素之后, 获取所述界面元素的至少 一个语义特征值之前, 还包括:
所述电子设备向服务器发送第一请求; 所述第一请求用于请求服务器查 找所述界面元素的语义特征值;
所述获取所述界面元素的至少一个语义特征值具体为:
所述电子设备接收所述服务器根据所述第一请求发送的所述界面元素 的至少一个语义特征值。
结合第一方面第四种可能的实现方式, 在第五种可能的实现方式中, 所 述电子设备接收所述服务器根据所述第一请求发送的所述界面元素的至少 一个语义特征值之前, 所述方法还包括:
所述电子设备接收所述服务器在没有查找到所述界面元素的语义特征 值时发送的第二请求;
所述电子设备根据所述第二请求提示用户输入所述界面元素的语义特 征值; 所述电子设备接收所述服务器根据所述第一请求发送的所述界面元素 的至少一个语义特征值具体为:
所述电子设备接收所述服务器根据所述第一请求, 以及所述用户输入的 语义特征值发送的, 与所述用户输入的语义特征值相关联的至少一个语义特 征值。
结合第一方面第二种或第三种可能的实现方式,在第六种可能的实现方 式中, 所述获取所述界面元素的至少一个语义特征值具体为:
所述电子设备通过查找该电子设备的本地数据库获取所述界面元素的 至少一个语义特征值。
结合第一方面第六种可能的实现方式, 在第七种可能的实现方式中, 所 述电子设备通过查找该电子设备的数据库获取所述界面元素的至少一个语 义特征值包括:
在所述电子设备没有查找到相应语义特征值时, 所述电子设备提示用户 输入所述界面元素的语义特征值;
所述电子设备获取与所述用户输入的语义特征值相关联的语义特征值, 获取与所述用户输入的语义特征值相关联的所述界面元素的至少一个语义 特征值。
结合第一方面第六种可能的实现方式, 在第八种可能的实现方式中, 所 述方法还包括:
在所述电子设备在该电子设备的本地数据库中没有查找到相应语义特 征值时, 所述电子设备向服务器发送第一请求; 所述第一请求用于请求服务 器查找所述界面元素的语义特征值;
所述电子设备接收所述服务器根据所述第一请求发送的所述界面元素 的至少一个语义特征值。
结合第一方面第二种至第八种可能的实现方式,在第九种可能的实现方 目标应用程序的语义特征值具体为:
所述电子设备扫描已安装的应用程序,获取所述已安装的应用程序的信 息, 向服务器发送包含所述已安装的应用程序的信息的第三请求; 所述第三 请求用于查询所述已安装应用程序的语义特征值;
所述电子设备接收所述服务器根据所述第三请求发送的所述已安装应 用程序的语义特征值;
所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述已安装应用程序的语义 特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所述界面元素 相关联的应用程序。
结合第一方面第二种至第八种可能的实现方式,在第十种可能的实现方 目标应用程序的语义特征值具体为:
所述电子设备扫描已安装的应用程序,获取所述已安装的应用程序的信 息; 所述已安装的应用程序的信息包含所述应用程序的语义特征值;
所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述已安装应用程序的语义 特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所述界面元素 相关联的应用程序。
结合第一方面第二种至第八种可能的实现方式,在第十一种可能的实现 述目标应用程序的语义特征值具体为:
所述电子设备扫描已安装的应用程序, 获取所述已安装应用程序的信 息; 所述已安装应用程序的信息包含所述已安装的应用程序的语义特征值; 所述电子设备将所述界面元素的至少一个语义特征值与所述目标应用 程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应 用程序具体为:
将所述界面元素的至少一个语义特征值与所述已安装的应用程序的语 义特征值进行匹配, 在具有匹配的语义特征值的情况下, 确定匹配的语义特 所述方法还包括:
在所述已安装应用程序的语义特征值与所述界面元素的至少一个语义 特征值不匹配时, 所述电子设备将所述界面元素的至少一个语义特征值发送 至服务器;
接收所述服务器发送的匹配的所述电子设备尚未安装的第一应用程序 信息, 确定所述界面元素相关联的应用程序为所述第一应用程序; 所述第一 应用程序为所述服务器查找到的, 与所述界面元素语义特征值相匹配的语义 特征值对应的应用程序。
结合第一方面第二种至第八种可能的实现方式,在第十二种可能的实现 方式中, 所述目标应用程序为一应用商店中的所有应用程序; 所述获取目标 应用程序的语义特征值具体为:
所述电子设备向服务器发送第四请求; 所述第四请求用于查询一应用商 店中所有应用程序的语义特征值;
所述电子设备接收所述服务器根据所述第四请求发送的所述应用商店 中所有应用程序的语义特征值;
所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述应用商店中所有应用程 序的语义特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所述 界面元素相关联的应用程序。
结合第一方面第二种至第十二种任一可能的实现方式,在第十三种可能 的实现方式中, 所述电子设备确定第一界面的界面元素之后, 获取所述界面 元素的至少一个语义特征值之前, 还包括:
在第一界面显示关联选项;
接收用户选择所述关联选项时输入的第一指令;
所述获取所述界面元素的语义特征值具体为:
根据所述第一指令获取所述界面元素的至少一个语义特征值。
结合第一方面第二种至第十二种可能的实现方式,在第十四种可能的实 现方式中, 在所述电子设备获取所述界面元素的至少一个语义特征值之后, 将所述界面元素的至少一个语义特征值与所述应用程序的语义特征值进行 匹配之前, 还包括:
在所述第一界面显示关联选项; 接收用户选择所述关联选项时输入的第二指令;
将所述界面元素的至少一个语义特征值与所述应用程序的语义特征值 根据所述第二指令将所述界面元素的至少一个语义特征值与所述应用 程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应 用程序。
结合第一方面第一种可能的实现方式, 在第十五种可能的实现方式中, 所述电子设备将所述界面元素发送至服务器; 所述界面元素用于供所述 服务器查找所述界面元素的语义特征值, 并将所述界面元素的语义特征值与 所述目标应用程序的语义特征值进行匹配,确定匹配的语义特征值对应的与 所述界面元素相关联的应用程序;
所述电子设备接收所述服务器发送的与所述界面元素相关联的应用程 序的信息。
结合第一方面第十五种可能的实现方式, 在第十六种可能的实现方式 中, 所述电子设备将所述界面元素发送至服务器具体为:
所述电子设备将所述界面元素和所述界面元素的上下文信息发送至服 务器; 所述界面元素和所述界面元素的上下文信息用于供所述服务器根据所 述上下文信息查找所述界面元素的语义特征值。
结合第一方面第十五种或第十六种可能的实现方式,在第十七种可能的 实现方式中, 所述电子设备接收所述服务器发送的与所述界面元素相关联的 应用程序的信息之前, 所述方法还包括:
所述电子设备接收所述服务器在没有查找到所述界面元素的语义特征 值时发送的第二请求;
所述电子设备根据所述第二请求提示用户输入所述界面元素的语义特 征值;
所述电子设备将所述用户输入的所述界面元素的语义特征值发送至所 述服务器; 所述用户输入的语义特征值用于供所述服务器根据所述用户输入 的语义特征值查找所述界面元素的语义特征值。
结合第一方面第十五种至第十七种任一可能的实现方式,在第十八种可 所述电子设备接收所述服务器发送的与所述界面元素相关联的应用程序信 息之前, 所述方法还包括:
所述电子设备扫描已安装的应用程序,获取所述已安装的应用程序的信 息, 并将所述已安装的应用程序的信息发送至所述服务器。
结合第一方面第十五种至第十七种任一可能的实现方式,在第十九种可 所述电子设备接收所述服务器发送的与所述界面元素相关联的应用程序的 信息之前, 所述方法还包括:
所述电子设备扫描已安装的应用程序,获取所述已安装的应用程序的信 息, 并将所述已安装的应用程序的信息发送至所述服务器; 所述已安装的应 用程序的信息包含所述已安装的应用程序的语义特征值。
结合第一方面第一种至第十二种任一可能的实现方式或者第十五种至 第十九种任一可能的实现方式, 在第二十种可能的实现方式中, 所述电子设 备匹配所述界面元素的语义特征值与该电子设备获取的应用程序的语义特 征值, 确定与所述界面元素相关联的应用程序之后, 在展示与所述界面元素 相关联的应用程序的标识之前, 还包括:
在所述第一界面中显示关联选项;
接收用户选择所述关联选项时输入的第三指令;
所述电子设备展示与所述界面元素相关联的应用程序的标识具体为: 所述电子设备根据所述第三指令展示与所述界面元素相关联的应用程 序的标识。
结合第一方面第一种至第二十种可能的实现方式,在第二十一种可能的 实现方式中, 所述电子设备确定第一界面的界面元素具体为:
所述电子设备根据用户输入的第四指令选择所述界面元素。
结合第一方面第一种至第二十一种可能的实现方式,在第二十二种可能 的实现方式中,在所述电子设备展示与所述界面元素相关联的应用程序的标 识后, 所述方法还包括:
所述电子设备根据用户指令启动与所述界面元素相关联的应用程序中 的至少一个。
结合第一方面第二十二种可能的实现方式,在第二十三种可能的实现方 设备尚未安装的应用程序; 所述电子设备根据用户指令启动与所述界面元素 相关联的应用程序中的至少一个具体为:
在所述用户指令指向的对象为所述电子设备尚未安装的应用程序时,所 述电子设备提示用户安装所述应用程序。
结合第一方面第二十二种可能的实现方式,在第二十四种可能的实现方 设备尚未安装的应用程序; 所述电子设备根据用户指令启动与所述界面元素 相关联的应用程序中的至少一个具体为:
在所述用户指令指向的对象为所述电子设备尚未安装的网页应用程序 时, 所述电子设备运行浏览器以网页形式启动所述应用程序; 或提示用户运 行浏览器以启动所述应用程序。
结合第一方面第二十二种至第二十四种任一可能的实现方式,在第二十 五种可能的实现方式中, 所述根据所述用户指令启动与所述界面元素相关联 的应用程序中的至少一个包括:
所述电子设备根据所述用户指令启动与所述界面元素相关联的应用程 序中的至少一个, 并复制所述界面元素。
结合第一方面第二十二种至第二十四种可能的实现方式,在第二十六种 可能的实现方式中,根据所述用户指令启动与所述界面元素相关联的应用程 序中的至少一个具体为:
所述电子设备根据所述用户指令将所述界面元素作为所述相关联的应 用程序的输入参数, 启动所述相关联的应用程序中的至少一个。
结合第一方面第二十二种至第二十六种可能的实现方式,在第二十七种 可能的实现方式中, 在所述电子设备获取用户输入的指令; 根据所述指令启 动与所述界面元素相关联的应用程序中的至少一个后, 所述方法还包括: 备呈现所述第一界面。
第二方面, 本发明提供了一种确定与界面元素相关联的应用程序的方 法。
在第一种可能的实现方式中, 所述方法包括:
服务器接收电子设备发送的界面元素,获取所述界面元素的至少一个语 义特征值; 所述语义特征值用于指示所述界面元素的语义特点; 获取目标应用程序的语义特征值; 所述目标应用程序的语义特征值用于 指示所述目标应用程序的语义特点;
将所述界面元素的至少一个语义特征值与所述目标应用程序的语义特 征值进行匹配, 根据匹配结果确定与所述界面元素相关联的应用程序; 服务器将所述与界面元素相关联的应用程序信息发送至电子设备。 结合第二方面第一种可能的实现方式, 在第二种可能的实现方式中, 服 务器接收电子设备发送的界面元素,获取所述界面元素的至少一个语义特征 值具体为:
所述服务器接收电子设备发送的界面元素和所述界面元素的上下文信 结合第二方面第一种或第二种可能的实现方式,在第三种可能的实现方 式中, 所述获取所述界面元素的至少一个语义特征值具体为:
所述服务器在没有查找到所述界面元素的语义特征值时向电子设备发 送第一请求; 所述第一请求用于请求电子设备提示用户输入所述界面元素的 语义特征值;
所述服务器接收所述电子设备根据所述第一请求, 以及所述用户输入的 语义特征值发送的所述界面元素的至少一个语义特征值。
结合第二方面第一种至第三种任一可能的实现方式,在第四种可能的实 现方式中, 所述目标应用程序为一应用商店中的所有应用程序; 所述获取目 标应用程序的语义特征值具体为:
所述服务器查询所述应用商店中所有应用程序的语义特征值; 所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述应用商店中所有应用程 序的语义特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所述 界面元素相关联的应用程序。
结合第二方面第一种至第三种任一可能的实现方式,在第五种可能的实 目标应用程序的语义特征值具体为:
所述服务器接收所述电子设备发送的该电子设备已安装应用程序的语 义特征值;
所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述已安装应用程序的语义 特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所述界面元素 相关联的应用程序。
结合第二方面第一种至第三种任一可能的实现方式,在第六种可能的实 现方式中, 所述获取应用程序的语义特征值具体为:
所述服务器接收所述电子设备发送的该电子设备已安装应用程序的语 义特征值;
所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述已安装的应用程序的语 义特征值进行匹配, 在具有匹配的语义特征值的情况下, 确定匹配的语义特 所述方法还包括:
在所述电子设备已安装应用程序的语义特征值与所述界面元素的至少 一个语义特征值不匹配时, 所述服务器确定与所述界面元素相关联的应用程 序为第二应用程序; 所述第二应用程序为所述服务器查找到的, 与所述界面 元素的语义特征值对应的应用程序。
第三方面, 本发明提供了一种电子设备的一个实施例。
在第一种可能的实现方式中, 所述电子设备包括:
处理器, 用于确定第一界面的界面元素; 确定与所述界面元素相关联的 值与目标应用程序的语义特征值进行匹配,根据匹配结果确定的与所述界面 元素相关联的应用程序; 所述界面元素的语义特征值用于指示所述界面元素 的语义特点; 所述目标应用程序的语义特征值用于指示所述目标应用程序的 语义特点; 结合第三方面第一种可能的实现方式, 在第二种可能的实现方式中, 所 述处理器还用于, 获取所述界面元素的至少一个语义特征值; 获取目标应用 程序的语义特征值; 将所述界面元素的至少一个语义特征值与所述目标应用 程序的语义特征值进行匹配,确定匹配的语义特征值对应的应用程序为与所 述界面元素相关联的应用程序。
结合第三方面第二种能的实现方式, 在第三种可能的实现方式中, 所述处理器获取所述界面元素的至少一个语义特征值具体为,确定第一 界面的界面元素和所述界面元素的上下文信息; 获取符合所述界面元素上下 文的所述界面元素的至少一个语义特征值。
结合第三方面第二种或第三种可种可能的实现方式,在第四种可能的实 现方式中, 所述电子设备还包括:
发送器, 用于在所述处理器确定第一界面的界面元素后, 获取所述界面 元素的至少一个语义特征值前, 向服务器发送第一请求; 所述第一请求用于 请求服务器查找所述界面元素的语义特征值;
接收器,用于接收所述服务器根据所述第一请求发送的所述界面元素的 至少一个语义特征值。
结合第三方面第四种可能的实现方式, 在第五种可能的实现方式中, 所述接收器还用于,在所述接收器接收所述服务器根据所述第一请求发 送的所述界面元素的至少一个语义特征值之前,接收所述服务器在没有查找 到所述界面元素的语义特征值时发送的第二请求;
所述输出设备还用于 ,根据所述第二请求提示用户输入所述界面元素的 语义特征值;
所述电子设备还包括:
输入设备,用于在所述输出设备根据所述第二请求提示用户输入所述界 面元素的语义特征值后, 接收用户输入的语义特征值;
所述发送器还用于, 向服务器发送所述用户输入的语义特征值; 所述接收器还用于,接收所述服务器根据所述第一请求以及所述用户输 入的语义特征值发送的, 与所述用户输入的语义特征值相关联的至少一个语 义特征值。
结合第三方面第二种或第三种可能的实现方式,在第六种可能的实现方 式中, 所述处理器获取所述界面元素的至少一个语义特征值具体为, 通过查 找该电子设备的本地数据库获取所述界面元素的至少一个语义特征值。 结合第三方面第六种可能的实现方式, 在第七种可能的实现方式中, 所 述输出设备还用于,在所述处理器没有在该电子设备的本地数据库获取到所 述界面元素的至少一个语义特征值时,提示用户输入所述界面元素的语义特 征值
所述电子设备还包括:
输入设备,用于在所述输出设备提示用户输入所述界面元素的语义特征 值后, 接收用户输入的语义特征值;
所述处理器具体用于, 确定第一界面的界面元素, 获取与所述用户输入 的语义特征值相关联的语义特征值,通过查找该电子设备的本地数据库获取 与所述用户输入的语义特征值相关联的所述界面元素的至少一个语义特征 值。
结合第三方面第六种可能的实现方式, 在第八种可能的实现方式中, 所 述电子设备还包括:
发送器,用于在在所述处理器没有在该电子设备的本地数据库获取到所 述界面元素的至少一个语义特征值时, 向服务器发送第一请求; 所述第一请 求用于请求服务器查找所述界面元素的语义特征值;
接收器,用于接收所述服务器根据所述第一请求发送的所述界面元素的 至少一个语义特征值。
结合第三方面第二种或第三种或第六种或第七种可能的实现方式,在第 九种可能的实现方式中, 所述处理器获取所述目标应用程序的语义特征值具 体为, 所述处理器扫描已安装的应用程序, 获取所述已安装的应用程序的信 息;
所述电子设备还包括:
发送器, 用于在所述处理器获取所述已安装的应用程序的信息后, 向服 务器发送第三请求; 所述第三请求用于查询所述已安装应用程序的语义特征 值;
接收器,用于接收所述服务器根据所述第三请求发送的所述已安装应用 程序的语义特征值;
所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为具体为, 所述处理器将所述界面元素的至少一个语义特征值与所 述已安装应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应的应 用程序为与所述界面元素相关联的应用程序。
结合第三方面第四种或第五种或第八种可能的实现方式,在第十种可能 处理器获取所述目标应用程序的语义特征值具体为, 所述处理器扫描已安装 的应用程序, 获取所述已安装的应用程序的信息;
所述发送器还用于, 在所述处理器获取所述已安装的应用程序的信息 后, 向服务器发送第三请求; 所述第三请求用于查询所述已安装应用程序的 语义特征值;
所述接收器还用于,接收所述服务器根据所述第三请求发送的所述已安 装应用程序的语义特征值;
所述处理器所述将所述界面元素的至少一个语义特征值与所述目标应 用程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的 应用程序具体为具体为, 所述处理器将所述界面元素的至少一个语义特征值 与所述已安装应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应 的应用程序为与所述界面元素相关联的应用程序。
结合第三方面第二种至第十种任一可能的实现方式,在第十一种可能的 理器获取所述目标应用程序的语义特征值具体为, 所述处理器扫描已安装的 应用程序, 获取所述已安装的应用程序的信息; 所述已安装的应用程序的信 息包含所述应用程序的语义特征值;
所述处理器所述将所述界面元素的至少一个语义特征值与所述目标应 用程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的 应用程序具体为具体为, 所述处理器将界面元素的至少一个所述语义特征值 与所述已安装应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应 的应用程序为与所述界面元素相关联的应用程序。
结合第三方面第二种或第三种或第六种或第七种可能的实现方式,在第 十二种可能的实现方式中, 所述处理器获取所述目标应用程序的语义特征值 具体为, 所述处理器扫描已安装的应用程序, 获取所述已安装应用程序的信 息; 所述已安装应用程序的信息包含所述应用程序的语义特征值; 所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为: 所述处理器将所述界面元素的至少一个语义特征值与所述已安 装的应用程序的语义特征值进行匹配, 在具有匹配的语义特征值的情况下, 序;
所述电子设备还包括:
发送器,用于在所述处理器判断所述已安装应用程序的语义特征值与所 述界面元素的语义特征值不匹配时,将所述界面元素的语义特征值发送至服 务器;
接收器,用于接收所述服务器发送的匹配的所述电子设备尚未安装的第 一应用程序信息, 确定所述界面元素相关联的应用程序为所述第一应用程 序; 所述第一应用程序为所述服务器查找到的, 与所述界面元素语义特征值 相匹配的语义特征值对应的应用程序。
结合第三方面第四种或第五种或第八种可能的实现方式,在第十三种可 能的实现方式中, 所述处理器获取应用程序的语义特征值具体为, 所述处理 器扫描已安装的应用程序, 获取所述已安装应用程序的信息; 所述已安装应 用程序的信息包含所述应用程序的语义特征值;
所述发送器还用于,在所述处理器判断所述已安装应用程序的语义特征 值与所述界面元素的语义特征值不匹配时,将所述界面元素的语义特征值发 送至服务器;
所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为: 所述处理器将所述界面元素的至少一个语义特征值与所述已安 装的应用程序的语义特征值进行匹配, 在具有匹配的语义特征值的情况下, 序;
所述接收器还用于,接收所述服务器发送的匹配的所述电子设备尚未安 装的第一应用程序信息,确定所述界面元素相关联的应用程序为所述第一应 用程序; 所述第一应用程序为所述服务器查找到的, 与所述界面元素语义特 征值相匹配的语义特征值对应的应用程序。 结合第三方面第二种或第三种或第六种或第七种可能的实现方式,在第 十四种可能的实现方式中,
发送器, 用于向服务器发送第四请求; 所述第四请求用于查询应用商店 中所有应用程序的语义特征值;
接收器,用于接收所述服务器根据所述发送器发送的第四请求发送的所 述应用商店中所有应用程序的语义特征值;
所述处理器获取目标应用程序的语义特征值具体为,所述处理器获取所 述接收器接收的所述应用商店中所有应用程序的语义特征值;
所述处理器所述将所述界面元素的至少一个语义特征值与所述目标应 用程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的 应用程序具体为, 所述处理器将所述界面元素的至少一个语义特征值与所述 应用商店中所有应用程序的语义特征值进行匹配; 确定匹配的语义特征值对 结合第三方面第四种或第五种或第八种可能的实现方式,在第十五种可 能的实现方式中, 所述目标应用程序为一应用商店中的所有应用程序; 所述 发送器还用于, 向服务器发送第四请求; 所述第四请求用于所述查询应用商 店中所有应用程序的语义特征值;
所述接收器还用于,接收所述服务器根据所述发送器发送的第四请求发 送的所述应用商店中所有应用程序的语义特征值;
所述处理器获取目标应用程序的语义特征值具体为,所述处理器获取所 述接收器接收的所述应用商店中所有应用程序的语义特征值;
所述处理器所述将所述界面元素的至少一个语义特征值与所述目标应 用程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的 应用程序具体为, 所述接收器将所述界面元素的至少一个语义特征值与所述 应用商店中所有应用程序的语义特征值进行匹配; 确定匹配的语义特征值对 结合第三方面第二种或第三种或第四种或第六种可能的实现方式,在第 十五种可能的实现方式中, 所述输出设备还用于, 在所述处理器确定第一界 面的界面元素后, 在所述处理器获取所述界面元素的至少一个语义特征值 前, 在第一界面显示关联选项;
所述电子设备还包括: 输入设备, 用于所述输出设备在第一界面显示关联选项后, 接收用户选 择所述关联选项时输入的第一指令;
所述处理器获取所述界面元素的至少一个语义特征值具体为,根据所述 第一指令, 获取所述界面元素的至少一个语义特征值。
结合第三方面第二种或第三种或第四种或第六种可能的实现方式,在第 十七种可能的实现方式中, 所述输出设备还用于, 在所述处理器获取所述界 面元素的至少一个语义特征值之后, 匹配所述界面元素的语义特征值与该电 子设备获取的应用程序的语义特征值之前, 在所述第一界面显示关联选项; 所述电子设备还包括:
输入设备, 用于接收用户选择所述关联选项时输入的第二指令; 所述处理器将所述界面元素的至少一个语义特征值与所述应用程序的 语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序 具体为, 所述处理器根据所述第二指令, 将所述界面元素的至少一个语义特 征值与所述应用程序的语义特征值进行匹配,根据匹配结果确定与所述界面 元素相关联的应用程序。
结合第三方面第一种可能的实现方式, 在第十八种可能的实现方式中, 所述电子设备还包括:
发送器, 用于在所述处理器确定第一界面的界面元素后, 将所述界面元 素发送至服务器; 所述界面元素用于供所述服务器查找所述界面元素的语义 特征值, 并将所述界面元素的语义特征值与所述目标应用程序的语义特征值 序;
接收器,用于接收所述服务器发送的与所述界面元素相关联的应用程序 的信息。
结合第三方面第十八种可能的实现方式, 在第十九种可能的实现方式 中, 所述处理器还用于, 确定第一界面的界面元素的上下文信息;
所述发送器将所述界面元素发送至服务器具体为 ,所述服务器将所述界 面元素和所述界面元素的上下文信息发送至服务器; 所述界面元素和所述界 面元素的上下文信息用于供所述服务器根据所述上下文信息查找所述界面 元素的语义特征值。
结合第三方面第十八种或第十九种可能的实现方式,在第二十种可能的 实现方式中,
所述接收器还用于,在接收所述服务器发送的与所述界面元素相关联的 应用程序的信息之前,接收所述服务器在没有查找到所述界面元素的语义特 征值时发送的第二请求;
所述电子设备还包括:
输出设备,用于根据所述第二请求提示用户输入所述界面元素的语义特 征值;
输入设备, 用于接收用户输入的所述界面元素的语义特征值;
所述发送器还用于,将所述用户输入的所述界面元素的语义特征值发送 至所述服务器; 所述用户输入的语义特征值用于供所述服务器根据所述用户 输入的语义特征值查找所述界面元素的语义特征值。
结合第三方面第十八种至第二十种任一可能的实现方式,在第二十一种 可能的实现方式中, 所述电子设备还包括:
处理器, 用于扫描该电子设备已安装的应用程序, 获取所述已安装的应 用程序的信息;
所述发送器还用于, 将所述已安装的应用程序的信息发送至所述服务 器。
结合第三方面第十八种至第二十种任一可能的实现方式,在第二十二种 可能的实现方式中, 所述电子设备还包括:
处理器, 用于扫描已安装的应用程序, 获取所述已安装的应用程序的信 息; 所述已安装的应用程序的信息包含所述已安装的应用程序的语义特征 值;
所述发送器还用于, 将所述已安装的应用程序的信息发送至所述服务 器。
结合第三方面第二种或第三种或第四种或第六种或第十八种或第十九 种可能的实现方式,在第二十三种可能的实现方式中,所述输出设备还用于, 在所述处理器匹配所述界面元素的语义特征值与该电子设备获取的应用程 序的语义特征值, 确定与所述界面元素相关联的应用程序之后, 在展示与所 述界面元素相关联的应用程序的标识之前, 在所述第一界面中显示关联选 项;
所述电子设备还包括: 输入设备, 用于接收用户选择所述关联选项时输入的第三指令; 所述输出设备具体用于, 根据所述第三指令, 展示与所述界面元素相关 联的应用程序的标识。
结合第三方面第二种或第三种或第四种或第六种或第十八种或第十九 种可能的实现方式,在第二十四种可能的实现方式中,所述电子设备还包括: 输入设备, 用于在所述处理器确定当前应用界面的界面元素前, 接收用 户输入的第四指令;
所述处理器确定第一界面的界面元素具体为,所述处理器根据用户输入 的第四指令确定所述界面元素。
结合第三方面第二种或第三种或第四种或第六种或第十八种或第十九 种可能的实现方式,在第二十五种可能的实现方式中,所述电子设备还包括: 输入设备,用于所述输出设备在当前应用界面展示与所述界面元素相关 联的应用程序的标识后, 接收用户输入的第五指令;
所述处理器还用于,根据所述第五指令启动与所述界面元素相关联的应 用程序中的至少一个。
结合第三方面第二十五种可能的实现方式,在第二十六种可能的实现方 式中, 所述输出设备还用于, 在展示的与所述界面元素相关联的应用程序包 括所述电子设备尚未安装的应用程序,且所述处理器确定所述第五指令指向 的对象为所述电子设备尚未安装的应用程序时, 提示用户安装所述应用程 序。
结合第三方面第二十五种可能的实现方式,在第二十七种可能的实现方 式中, 所述输出设备还用于, 在展示的与所述界面元素相关联的应用程序包 括所述电子设备尚未安装的应用程序,且所述处理器确定所述第五指令指向 的对象为所述电子设备尚未安装的网页应用程序时,提示用户运行浏览器以 启动所述应用程序; 或者,
所述处理器还用于,在展示的与所述界面元素相关联的应用程序包括所 述电子设备尚未安装的应用程序,且所述定所述第五指令指向的对象为所述 电子设备尚未安装的网页应用程序时,运行浏览器以网页形式启动所述应用 程序。
结合第三方面第二十五种至第二十七种任一可能的实现方式,在第二十 八种可能的实现方式中, 所述处理器还用于, 根据所述第五指令启动与所述 界面元素相关联的应用程序中的至少一个, 并复制所述界面元素。
结合第三方面第二十五种或第二十七种可能的实现方式,在第二十九种 可能的实现方式中, 所述处理器具体用于, 根据所述第五指令将所述界面元 素作为所述相关联的应用程序的输入参数, 启动所述相关联的应用程序中的 至少一个。
结合第三方面第二十五种至第二十九种任一可能的实现方式,在第三十 种可能的实现方式中, 所述输出设备还用于, 在所述处理器退出所述与界面 元素相关联的应用程序后, 呈现所述第一界面。
第四方面, 本发明提供了一种服务器的实施例。
在第一种可能的实现方式中, 所述服务器包括: 接收器, 用于接收电子 设备发送的界面元素;
处理器, 用于获取所述界面元素的至少一个语义特征值; 获取目标应用 程序的语义特征值; 将所述界面元素的至少一个语义特征值与所述目标应用 程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应 用程序; 所述语义特征值用于指示所述界面元素的语义特点; 所述目标应用 程序的语义特征值用于指示所述目标应用程序的语义特点;
发送器, 用于将所述与界面元素相关联的应用程序信息发送至电子设 备。
结合第四方面第一种可能的实现方式, 在第二种可能的实现方式中, 所 述接收器接收电子设备发送的界面元素具体为,接收电子设备发送的界面元 素和所述界面元素的上下文信息;
所述处理器获取所述界面元素的至少一个语义特征值具体为,获取符合 所述界面元素上下文的所述界面元素的至少一个语义特征值。
结合第四方面第一种或第二种可能的实现方式,在第三种可能的实现方 式中, 所述发送器还用于, 在所述服务器没有查找到所述界面元素的语义特 征值时向电子设备发送第一请求; 所述第一请求用于请求电子设备提示用户 输入所述界面元素的语义特征值;
所述接收器还用于, 接收所述电子设备根据所述第一请求, 以及所述用 户输入的语义特征值发送的所述界面元素的至少一个语义特征值。
所述处理器获取所述界面元素的至少一个语义特征值具体为,获取所述 接收器接收的所述电子设备发送的所述界面元素的至少一个语义特征值。 结合第四方面第一种至第三种可能的实现方式,在第四种可能的实现方 式中, 所述处理器获取目标应用程序的语义特征值具体为, 所述处理器查询 一应用商店中所有应用程序的语义特征值;
所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为: 所述处理器将所述界面元素的至少一个语义特征值与所述应用 商店中所有应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应的 应用程序为与所述界面元素相关联的应用程序。
结合第四方面第一种至第三种可能的实现方式,在第五种可能的实现方 式中, 所述接收器还用于, 接收所述电子设备发送的该电子设备已安装应用 程序的语义特征值;
所述处理器获取目标应用程序的语义特征值具体为,所述处理器获取所 述接收器接收的电子设备发送的该电子设备已安装应用程序的语义特征值; 所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为: 所述处理器将所述界面元素的至少一个语义特征值与所述已安 装应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应的应用程序 为与所述界面元素相关联的应用程序。
结合第四方面第一种至第三种可能的实现方式,在第六种可能的实现方 式中, 所述接收器还用于, 接收所述电子设备发送的该电子设备已安装应用 程序的语义特征值;
所述处理器获取目标应用程序的语义特征值具体为,所述处理器获取所 述接收器接收的, 所述电子设备发送的该电子设备已安装应用程序的语义特 征值;
所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为: 所述处理器将所述界面元素的至少一个语义特征值与所述已安 装应用程序的语义特征值进行匹配, 在具有匹配的语义特征值的情况下, 确 所述处理器还用于,在所述获取的已安装应用程序的语义特征值与所述 界面元素的至少一个语义特征值不匹配时, 所述处理器确定与所述界面元素 相关联的应用程序为第二应用程序; 所述第二应用程序为所述服务器查找到 的, 与所述界面元素的语义特征值对应的应用程序。
本发明提供的实施例通过将界面元素的语义特征值与目标应用程序的 语义特征值进行匹配 ,进而确定匹配的语义特征值对应的应用程序为与所述 界面元素相关联的应用程序,使得电子设备能够智能识别与界面元素的相关 联的应用程序, 提高了电子设备调用应用程序的调用效率。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作简要地介绍。 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 而非全部。 对于本领域普通技术人员来讲, 在没有付出 创造性劳动的前提下, 还可以根据这些附图获得其它的附图。
图 1为本发明提供的一种确定与界面元素相关联的应用程序的方法的一 个实施例的流程示意图;
图 2为本发明提供的一种确定与界面元素相关联的应用程序的方法的一 个实施例的流程示意图;
图 3为本发明提供的一种确定与界面元素相关联的应用程序的方法的一 个实施例的流程示意图;
图 4为本发明提供的一种确定与界面元素相关联的应用程序的方法的一 个实施例的流程示意图;
图 5为本发明提供的一种电子设备的一个实施例的结构示意图; 图 6为本发明提供的一种电子设备的一个实施例的结构示意图; 图 7为本发明提供的一种电子设备的一个实施例的结构示意图; 图 8为本发明提供的一种电子设备的一个实施例的结构示意图; 图 9为本发明提供的一种电子设备的一个实施例的结构示意图; 图 10为本发明提供的一种服务器的一个实施例的结构示意图。
具体实施方式
实施例 1
图 1 为本发明实施例提供的一种确定与界面元素相关联的应用程序 的方法的流程图, 如图 1所示, 所述方法包括:
S 101 , 电子设备确定第一界面的界面元素;
所述电子设备获取用户输入的第一指令,在该电子设备的第一界面确 定所述界面元素;或者,所述电子设备自动识别确定第一界面的界面元素。
所述界面元素包括但不限于文字, 还可以是图片或者应用程序图标。 在所述界面元素为文字时, 所述文字可以是一个字, 或一个词, 或一句 话; 所述文字可以是中文简体, 或中文繁体; 所述文字还可以是英语、 或曰语等。 面元素相关联的应用程序为将所述界面元素的语义特征值与目标应用程序 的语义特征值进行匹配,根据匹配结果确定的与所述界面元素相关联的应用 程序; 所述界面元素的语义特征值用于指示所述界面元素的语义特点; 所述 目标应用程序的语义特征值用于指示所述目标应用程序的语义特点;
可选地, 所述电子设备可获取所述界面元素的至少一个语义特征值; 获 取所述目标应用程序的语义特征值; 将所述界面元素的至少一个语义特征值 与所述目标应用程序的语义特征值进行匹配,根据匹配结果确定与所述界面 元素相关联的应用程序。 即, 所述电子设备在本地匹配所述界面元素与目标 应用程序的语义特征值, 确定与所述界面元素相关联的应用程序。
可选地, 所述电子设备可将所述界面元素发送至服务器; 所述界面元素 用于供所述服务器查找所述界面元素的语义特征值, 并将所述界面元素的语 义特征值与所述目标应用程序的语义特征值进行匹配,确定匹配的语义特征 值对应的与所述界面元素相关联的应用程序; 所述电子设备接收所述服务器 发送的与所述界面元素相关联的应用程序的信息。 即, 所述电子设备将所述 界面元素发送至服务器,在所述服务器匹配所述界面元素的语义特征值与目 标应用程序的语义特征值后, 所述电子设备接收所述服务器发送的与所述界 面元素相关联的应用程序信息, 确定与所述界面元素相关联的应用程序。 目标应用程序的语义特征值进行匹配, 匹配的语义特征值对应的应用程序。 所述匹配的语义特征值为所述界面元素的至少一个语义特征值与所述应用 程序的语义特征值相同或者相近似的语义特征值。 进一步地, 所述匹配的语 义特征值与所述界面元素的上下文信息相匹配,符合所述界面元素的上下文 用程序, 也可以为所述服务器确定的一应用商店中的应用程序。
具体地, 从某个特定角度对一个语义类进行细分类,使得原来同属一个 语义类的词语, 可以在某个或某些语义特征上取不同值, 从而凸显这些词语 相互之间的差异。 所述在某个或某些语义特征上所取的值为所述语义特征 值, 所述语义特征值用于指示所述界面元素的语义特点。
S103 , 所述电子设备展示与所述界面元素相关联的应用程序的标识。 可选地,在所述电子设备逐个匹配所述界面元素的至少一个语义特征值 与该电子设备已获取的应用程序的语义特征值, 并根据匹配结果确定与所述 界面元素相关联的应用程序后, 展示所述与界面元素相关联的应用程序。
可选地,在所述电子设备接收所述服务器发送的与所述界面元素相关联 展示所述与界面元素相关联的应用程序。
具体地,所述电子设备可接收用户的指令展示所述与界面元素相关联的 程序后, 自动展示所述与界面元素相关联的应用程序。
本发明提供的实施例通过将界面元素的语义特征值与目标应用程序的 语义特征值进行匹配 ,进而确定匹配的语义特征值对应的应用程序为与所述 界面元素相关联的应用程序,使得电子设备能够智能识别与界面元素的相关 联的应用程序, 提高了电子设备调用应用程序的调用效率。
应当理解,在本发明的所有实施例中, 所述界面元素的语义特征值与 所述应用程序的语义特征值在相同或者相近似的情况下, 所述电子设备 根据所述应用程序的语义特征值确定相应的应用程序。 如下界面元素的 语义特征值与应用程序的语义特征值之间的对应关系可便于理解, 但本 发明的所有实施例不受如下对应关系的限制。 在所有可能的所述界面元 素的语义特征值与应用程序的语义特征值之间的匹配关系, 均属于本发 明所有实施例的保护范围。
若界面元素的语义特征值为 "电影", 则与该界面元素相关联的 ΑΡΡ类 别可以是 "电影" "视频", 具体 ΑΡΡ可以是 "时光网" "百度视频" 等。 若 界面元素的语义特征值为 "电子产品(手机、 平板、 电脑) ", 则与该界面元 素相关联的 ΑΡΡ类别可以是 "电商", 具体 ΑΡΡ可以是 "京东" "淘宝" 等。 若界面元素的语义特征值为 "火车车次"、 "公交线路", 则与该界面元素相 关联的 APP类别可以是 "列车时刻表" " 公交线路", 具体 APP可以是 "极 品时刻表" " 8684公交" 等。 若界面元素的语义特征值为 "城市" "地名" "景点"、 则与该界面元素相关联的 APP类别可以是 "地图类", 具体 APP可 以是 "百度地图" "高德地图"; 相关联的 APP类别也可以是 "旅游", 具体 APP可以是 "去哪儿"; 相关联的 APP类别也可以是 "酒店", 具体 APP可以 是 "华住酒店"; 相关联的 APP类别还可以是 "天气", 具体 APP可以是 "墨 迹天气" 等。 若界面元素的语义特征值为 "汽车", 则与该界面元素相关联 的 APP类别可以是 "汽车类", 具体 APP可以是 "汽车之家" 等。 若界面元 素的语义特征值为 "人物名称、 明星", 则与该界面元素相关联的 APP类别 可以是 "社交类" "阅读类", 具体 APP可以是 "新浪微博" "微信" "百度贴 吧 " 等。 若界面元素的语义特征值为 "App名称", 则与该界面元素相关联 的 APP类别可以是 "应用商店类", 具体 APP可以是 "华为智汇云应用市场" "豌豆荚" 等。
实施例 2
图 2 为本发明实施例提供的一种确定与界面元素相关联的应用程序 的方法的流程图, 如图 2所示, 所述方法包括:
5201 , 电子设备确定第一界面的界面元素, 获取所述界面元素的至少一 个语义特征值; 所述语义特征值用于指示所述界面元素的语义特点;
所述电子设备获取用户输入的第一指令,在该电子设备的第一界面确 定所述界面元素;或者,所述电子设备自动识别确定第一界面的界面元素。
在所述电子设备确定第一界面的界面元素后,所述电子设备向服务器 发送第一请求; 所述第一请求用于请求服务器查找所述界面元素的语义 特征值; 所述电子设备接收所述服务器根据所述第一请求发送的所述界 面元素的语义特征值。 或者,
在所述电子设备确定第一界面的界面元素后,所述电子设备通过查找 该电子设备的数据库获取所述界面元素的语义特征值。
5202 , 所述电子设备获取所述目标应用程序的语义特征值; 所述目标应 用程序的语义特征值用于指示所述目标应用程序的语义特点;
可选地, 所述电子设备扫描已安装的应用程序, 获取所述已安装的应用 程序的信息, 向服务器发送包含所述已安装的应用程序的信息的请求; 所述 请求用于查询所述已安装应用程序的语义特征值; 所述电子设备接收所述服 务器根据所述请求发送的所述已安装应用程序的语义特征值; 或者,
可选地, 所述电子设备扫描已安装的应用程序, 获取所述已安装应用程 序的信息; 所述已安装应用程序的信息包含所述应用程序的语义特征值; 或 者,
可选地, 所述电子设备向服务器发送请求; 所述请求用于查询一应用商 店中所有应用程序的语义特征值; 所述电子设备接收所述服务器根据所述第 四请求发送的所述应用商店中所有应用程序的语义特征值。
所述应用程序可以是所述电子设备已经安装的程序,还可以是所述电子 设备尚未安装的应用程序。
5203 ,所述电子设备将所述界面元素的至少一个语义特征值与所述目标 应用程序的语义特征值进行匹配,确定匹配的语义特征值对应的应用程序为 与所述界面元素相关联的应用程序。
在所述电子设备确定所述界面元素的至少一个语义特征值与所述目标 应用程序的语义特征值相同或者相近似时,确定所述与所述界面元素的语义 相关联的应用程序。
5204, 所述电子设备展示与所述界面元素相关联的应用程序的标识。 在所述电子设备逐个匹配所述界面元素的至少一个语义特征值与该电 子设备已获取的应用程序的语义特征值, 并根据匹配结果确定与所述界面元 素相关联的应用程序后, 展示所述与界面元素相关联的应用程序。
在本发明实施例的一种实现方式中, 电子设备确定第一界面的界面元素 具体可以为所述电子设备确定第一界面的界面元素和所述界面元素的上下 文信息, 并根据所述界面元素和所述界面元素的上下文信息获取符合所述界 面元素上下文的所述界面元素的至少一个语义特征值。例如,在所述界面元 素为文字信息时, 该电子设备可获取所述文字信息的多个语义特征值, 在所述多个语义特征值中, 可能有部分语义特征值不符合所述文字信息 的上下文语境。 所述电子设备可确定所述文字信息的上下文信息, 根据 所述文字信息的上下文信息获取符合所述上下文语境的所述文字信息的 至少一个语义特征值。 以 "G510" 为例, 电子设备获取 "G510" 的语义特 征值时, 至少会出现两个彼此涵义不一致的语义特征值, 即 "火车车次" 和 "手机型号"。此时, 电子设备确定所述" G510"的上下文信息。所述" G510" 的上下文信息可以是 "G510"所在的整句文字信息, 以逗号或者以句号作为 分隔符提取整句文字信息。 电子设备获取 "G510"符合上下文语境涵义的语 义特征值。
在本发明实施例的上述实现方式中, 所述电子设备可以通过服务 器查找所述界面元素的语义特征值获取所述界面元素的至少一个语义特 征值。 在所述电子设备确定第一界面的界面元素后, 向服务器发送第一 请求; 所述第一请求用于请求服务器查找所述界面元素的语义特征值; 所述 第一请求可包含所述界面元素的上下文信息。 所述服务器查找所述界面元 素的语义特征值。 在所述服务器查找到多个语义特征值时, 所述服务器 根据所述界面元素的上下文信息确定符合所述界面元素上下文语境的至 少一个语义特征值, 并将所述语义特征值发送至所述电子设备。 所述电子 设备接收所述服务器根据所述第一请求发送的所述界面元素的至少一个语 义特征值。
在本发明实施例的一种实现方式中,所述电子设备通过服务器查找所 述界面元素的语义特征值获取所述界面元素的至少一个语义特征值。 在 所述电子设备确定第一界面的界面元素后, 向服务器发送第一请求, 所述 第一请求用于请求服务器查找所述界面元素的语义特征值。 在所述服务器 没有查找到所述界面元素的语义特征值时, 所述电子设备接收所述服务 器发送的第二请求, 所述第二请求用于请求所述电子设备提示用户输入 所述界面元素的语义特征值。 所述电子设备根据所述第二请求提示用户输 入所述界面元素的语义特征值。在所述电子设备获取用户输入的所述界面元 素的语义特征值之后, 所述电子设备将所述用户输入的语义特征值发送至服 务器。 所述服务器接收所述用户输入的语义特征值之后, 可将所述用户输入 的语义特征值与所述界面元素的对应关系保存至数据库备用。 所述服务器还 可以根据所述用户输入的语义特征值在数据库中查找与所述用户输入的语 义特征值相关联的语义特征值。 所述与所述用户输入的语义特征值相关联的 语义特征值与所述用户输入的语义特征值具有相同或相近似的语义特征。 所 述服务器对比所述相关联的语义特征值和所述界面元素是否匹配。 所述匹配 标准可依据所述相关联的语义特征值与所述界面元素是否具有相关性, 涵义 是否相同, 以及是否符合所述界面元素的语境等。 在所述服务器确认所述相 关联的语义特征值与所述界面元素匹配时, 所述电子设备接收所述服务器根 据所述所述第一请求, 以及所述用户输入的语义特征值发送的, 与所述用户 输入的语义特征值相关联的语义特征值。
在本发明实施例的一种实现方式中,在所述电子设备确定第一界面的 界面元素后, 所述电子设备还可以通过该电子设备本地数据库获取所述 界面元素的语义特征值。 在所述电子设备确定当前应用界面的界面元素 后, 所述电子设备查找该电子设备的数据库, 获取所述界面元素的至少 一个语义特征值。 在所述电子设备在所述数据库中查找到多个语义特征 值时, 所述电子设备可获取所述界面元素的上下文信息, 解析所述界面 元素的语境, 根据所述上下文信息获取符合所述界面元素上下文语境的 至少一个语义特征值。
在本发明实施例的一种实现方式中,在所述电子设备确定第一界面的 界面元素后, 所述电子设备通过查找该电子设备本地数据库获取所述界 面元素的语义特征值。 在所述处理器没有在该电子设备的本地数据库获取 到所述界面元素的至少一个语义特征值时, 所述电子设备提示用户输入所述 界面元素的语义特征值, 所述用户输入的语义特征值为所述用户理解的所述 界面的语义特征值。 在所述电子设备获取用户输入的所述语义特征值后, 所 述电子设备可将所述用户输入的语义特征值与所述界面元素的对应关系保 存至数据库备用。 所述电子设备获取与所述用户输入的语义特征值相关联的 语义特征值,通过查找所述本地数据库获取与所述用户输入的语义特征值相 关联的所述界面元素的至少一个语义特征值。 所述电子设备根据所述用户输 入的语义特征值在数据库中查找与所述用户输入的语义特征值相关联的语 义特征值, 所述与用户输入的语义特征值相关联的语义特征与所述用户输入 的语义特征值具有相近似的语义特征。 所述电子设备对比所述相关联的语义 特征值和所述界面元素是否匹配。 所述匹配标准可依据所述所述相关联的语 义特征值与所述界面元素是否具有相关性, 涵义是否相同, 以及是否符合所 述界面元素的语境等。在所述电子设备确认所述相关联的语义特征值与所述 界面元素匹配时, 获取与所述用户输入的语义特征值相关联的所述界面元素 的至少一个语义特征值。
在本发明实施例的一种实现方式中,在所述电子设备确定第一界面的 界面元素后, 所述电子设备通过查找该电子设备本地数据库获取所述界 面元素的语义特征值。 在所述电子设备在该电子设备的本地数据库中没有 查找到相应语义特征值时, 所述电子设备向服务器发送第一请求; 所述第一 请求用于请求服务器查找所述界面元素的语义特征值。在所述服务器查找到 所述界面元素的语义特征值后, 所述电子设备接收所述服务器根据所述第一 请求发送的所述界面元素的语义特征值。
应当理解, 在本发明实施例的实现方式中, 在所述电子设备在该电子 设备的数据库中没有查找到相应语义特征值时, 所述电子设备向服务器发送 第一请求。 在所述服务器查找到所述界面元素的语义特征值后, 所述电子设 备接收所述服务器根据所述第一请求发送的所述界面元素的语义特征值。
可选地, 本发明实施例的实现方式还可以是, 在所述电子设备在该电 子设备的数据库中没有查找到相应语义特征值时, 所述发送器向服务器发送 第一请求, 所述第一请求包含所述界面元素的上下文信息。 在所述服务器查 找到多个所述界面元素的语义特征值时, 所述服务器根据所述界面元素的 上下文信息陣选符合所述界面元素上下文语境的至少一个语义特征值, 并将所述语义特征值发送至所述电子设备。 所述电子设备接收所述服务器 根据所述第一请求发送的所述界面元素的至少一个语义特征值。
可选地,本发明实施例的实现方式还可以是,在所述服务器没有查找 到所述界面元素的语义特征值时, 所述电子设备接收所述服务器发送的 第三请求, 所述第三请求用于请求所述电子设备提示用户输入所述界面 元素的语义特征值。 在所述电子设备获取用户输入的所述界面元素的语义 特征值之后, 所述电子设备将所述用户输入的语义特征值发送至服务器。 所 述服务器还可以根据所述用户输入的语义特征值在数据库中查找与所述用 户输入的语义特征值相关联的语义特征值, 并将所述与用户输入的语义特征 值相关联的至少一个语义特征值发送至电子设备。所述相关联的语义特征值 与所述用户输入的语义特征值具有相同或相近似的语义特征。 所述电子设备 对比所述相关联的语义特征值和所述界面元素是否匹配。 所述匹配标准可依 据所述所述相关联的语义特征值与所述界面元素是否具有相关性, 涵义是否 相同, 以及是否符合所述界面元素的语境等。 在所述电子设备确认所述相关 联的语义特征值与所述界面元素匹配时, 获取与所述用户输入的语义特征值 相关联的所述界面元素的至少一个语义特征值。
在本发明实施例的上述实现方式中,所述目标应用程序为所述电子设备 已安装的应用程序。 所述电子设备可请求服务器查询该电子设备已经安装 的应用程序的语义特征值。 所述电子设备扫描该电子设备已安装的应用程 序, 获取所述已安装的应用程序的信息后, 向服务器发送第三请求; 所述第 三请求用于查询所述已安装应用程序的语义特征值; 所述第三请求包含所述 已安装的应用程序的相关信息。 所述已安装的应用程序的信息可以包括该应 用程序的名称、 类别、 调用代码等, 不包含所述应用程序的语义特征值。 所 述服务器接收所述电子设备的第三请求后, 获取所述已安装应用程序的信 息, 并查找所述应用程序的语义特征值。 在所述服务器查找到相应语义特征 值后, 所述电子设备接收所述服务器根据所述第四请求发送的所述已安装应 用程序的语义特征值。所述电子设备将所述界面元素的语义特征值与所述已 安装应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应的应用程 序为与所述界面元素相关联的应用程序。在所述界面元素语义特征值与所述 已安装应用程序的语义特征值相同或相似时, 所述电子设备确定匹配的语义 进一步地, 在电子设备下载安装新的应用程序后, 所述电子设备提取该 新安装的应用程序的相关信息, 并向服务器发送查询该新安装应用程序语义 特征值的查询请求,将所述查询到的该应用程序的语义特征值更新至所述汇 总的本地已安装应用程序的语义特征值集合,在下次匹配中将该新安装的应 用程序的语义特征值纳入匹配范围。
在本发明实施例的上述实现方式中, 所述目标应用程序为所述电子设 备已安装的应用程序。 所述电子设备可在本地数据库获取该电子设备已经 安装的应用程序的语义特征值。 所述电子设备扫描该电子设备已安装的应 用程序, 获取所述已安装应用程序的信息; 所述已安装应用程序的信息包含 所述应用程序的语义特征值。 所述电子设备提取本地已安装应用程序的语义 特征值, 汇总所有从应用商店下载的本地已安装应用程序的语义特征值后, 将所述界面元素的至少一个语义特征值与所述已安装应用程序的语义特征 的应用程序。在所述界面元素语义特征值与所述已安装应用程序的语义特征 值相同或相似时, 所述电子设备确定匹配的语义特征值对应的应用程序为与 所述界面元素相关联的应用程序。 在本发明实施例中, 所述电子设备的应用 程序可以为从某特定的应用商店下载的应用程序。所述应用商店可以要求应 用程序的开发者在提交应用程序时提交该应用程序的相关信息, 例如该应用 程序的名称、 该应用程序的类别、 该应用程序的调用代码、 该应用程序的
API等, 所述应用程序的相关信息包含该应用程序的语义特征值。 所述电子 设备从应用商店下载所述应用程序后即可获得所述应用程序的语义特征值。
进一步地, 在该电子设备从所述应用商店下载安装新的应用程序后, 所 述电子设备提取该新安装的应用程序的语义特征值, 并更新所述汇总的本地 已安装应用程序的语义特征值集合,在下次匹配中将该新安装的应用程序的 语义特征值纳入匹配范围。
在本发明实施例的上述实现方式中, 所述目标应用程序为所述电子设 备已安装的应用程序。 所述电子设备可在本地数据库获取该电子设备已经 安装的应用程序的语义特征值, 并匹配所述应用程序的语义特征值与所 述界面元素的语义特征值。 在所述应用程序的语义特征值与所述界面元素 的语义特征值不匹配时, 所述电子设备可将所述界面元素的语义特征值发送 至服务器, 请求服务器查找与所述界面元素相匹配的应用程序。 具体地, 所 述电子设备扫描该电子设备已安装的应用程序, 获取所述已安装应用程序的 信息; 所述已安装应用程序的信息包含所述应用程序的语义特征值。 所述电 子设备提取本地已安装应用程序的语义特征值, 汇总本地已安装应用程序的 语义特征值后,将所述界面元素的语义特征值与所述已安装应用程序的语义 特征值进行匹配。在所述应用程序的语义特征值与所述界面元素的语义特征 值不匹配时, 所述电子设备将所述界面元素的语义特征值发送至服务器; 请 求服务器查找与所述界面元素的语义特征值匹配的所述电子设备尚未安装 的应用程序的语义特征值。在所述服务器查找所述电子设备尚未安装的应用 程序的语义特征值后, 所述电子设备接收所述服务器发送的匹配的所述电子 设备尚未安装的第一应用程序信息,确定所述界面元素相关联的应用程序为 所述第一应用程序; 所述第一应用程序为所述服务器查找到的, 与所述界面 元素语义特征值相匹配的语义特征值对应的应用程序。
在本发明实施例的上述实现方式中,所述目标应用程序为一应用商店中 的所有应用程序。所述电子设备可请求服务器查询目标应用程序的语义特 体地, 所述电子设备向服务器发送第四请求; 所述第四请求用于请求查询应 用商店中所有应用程序的语义特征值。 所述应用商店汇集了多种应用成为, 可以让用户去浏览、 下载及购买在该应用商店上的第三方应用程序, 如豌豆 夹、 华为智汇云应用市场等。 所述应用商店可以是是电子设备应用界面上应 用商店客户端对应的服务器上的应用商店。所述电子设备接收所述服务器对 所述第五请求的响应,接收所述服务器根据所述第四请求发送的所述应用商 店中所有应用程序的语义特征值。 例如, 所述电子设备设有华为智汇云应用 市场的客户端。 所述电子设备向所述服务器发送第四请求, 获取所述界面元 素的语义特征值之, 所述电子设备向服务器发送查询华为智汇云应用市场中 所述有应用程序特征值的请求,接收所述服务器发送的华为智汇云应用市场 中所有应用程序的语义特征值。在获取所述华为智汇云应用市场的所有应用 程序的语义特征值后, 所述电子设备匹配所述界面元素的语义特征值与已获 取的所述应用商店所有应用程序的语义特征值,确定该应用商店中与所述界 面元素相关联的应用程序。 所述确定的相关联的应用程序可以是所述电子设 备已经安装的应用程序, 也可以是所述电子设备尚未安装的应用程序。
在本发明实施例的上述实现方式中,在所述电子设备确定第一界面的界 面元素之后, 所述电子设备可以在第一界面显示关联选项; 所述电子设备接 收用户选择所述关联选项时输入的第一指令; 所述电子设备根据所述第一指 令获取所述界面元素的语义特征值。 具体地, 所述关联选项可以是对话框或 按钮。 在电子设备确定所述界面元素后, 所述电子设备显示对话框或按钮, 提示用户输入第一指令。 所述电子设备根据用户在对话框输入的所述第一指 令获取所述界面元素的语义特征值; 或者, 所述电子设备根据用户触发所述 按钮产生的第一指令获取所述界面元素的语义特征值。
在本发明实施例的上述实现方式中,在所述电子设备获取所述界面元素 的至少一个语义特征值之后, 所述电子设备在所述第一界面显示关联选项; 所述电子设备接收用户选择所述关联选项时输入的第二指令; 所述电子设备 根据所述第二指令将所述界面元素的至少一个语义特征值与所述应用程序 的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程 序。 所述关联选项可以是对话框或按钮, 以提示用户输入第二指令。
在本发明实施例的上述实现方式中,在所电子设备匹配所述界面元素的 语义特征值与该电子设备获取的应用程序的语义特征值,确定与所述界面元 素相关联的应用程序之后, 所述电子设备显示关联选项。 所述显示界面可以 是所述第一界面, 还可以是其它可能的应用界面。 所述电子设备接收用户选 择所述关联选项时输入的第三指令; 所述电子设备根据所述第三指令展示与 所述界面元素相关联的应用程序的标识。 所述关联选项可以是对话框或按 钮, 以提示用户输入第三指令。
在本发明实施例的上述实现方式中,所述电子设备展示与所述界面元素 相关联的应用程序的标识, 具体可展示所述与所述界面元素相关联的应用程 序的图标, 也可以展示与所述界面元素相关联的应用程序的标识的名称。 所 述电子设备获取所述与界面元素相关联的应用程序的信息, 所述信息可以包 括所述应用程序的图标、 名称、 调用代码等。
在本发明实施例的上述实现方式中,所述电子设备展示的与所述界面元 素相关联的应用程序, 所述与所述界面元素相关联的应用程序的数量可以是 一个, 也可以是多个。
在本发明实施例的上述实现方式中,所述电子设备展示的与所述界面元 素相关联的应用程序,在展示的与所述界面元素相关联的应用程序的数量为 多个时, 所述应用程序可按照预设的顺序排列。 所述预设顺序包括但不限于 该应用程序的用户使用数量, 该应用程序的开发时间等。
在本发明实施例的上述实现方式中,所述电子设备展示的与所述界面元
用程序。
在本发明实施例的上述实现方式中,所述电子设备可根据用户输入的第 四指令选择所述界面元素。
实施例 3
图 3 为本发明实施例提供的一种确定与界面元素相关联的应用程序 的方法的流程图, 如图 3所示, 所述方法包括:
S301 , 电子设备确定第一界面的界面元素;
所述电子设备获取用户输入的第一指令,在该电子设备的第一界面确 定所述界面元素;或者,所述电子设备自动识别确定第一界面的界面元素。
S302, 所述电子设备将所述界面元素发送至服务器; 所述界面元素用于 供所述服务器查找所述界面元素的语义特征值, 并将所述界面元素的语义特 征值与所述目标应用程序的语义特征值进行匹配,确定匹配的语义特征值对 应的与所述界面元素相关联的应用程序; 具体地, 所述电子设备将所述界面元素的发送至服务器后, 所述服务器 接收所述界面元素, 并查找所述界面元素的语义特征值。 在查找到所述界面 元素的语义特征值后, 所述服务器将所述界面元素的语义特征值与所述目标 应用程序的语义特征值进行匹配, 所述目标应用程序可以为所述电子设备已 经安装的应用程序, 也可以为一应用商店中的应用程序。 所述服务器根据所 述界面元素的语义特征值和所述目标应用程序的语义特征值确定匹配的语 可选地,所述电子设备将所述界面元素和所述界面元素的上下文信息发 送至服务器; 所述界面元素和所述界面元素的上下文信息用于供所述服务器 根据所述上下文信息查找所述界面元素的语义特征值。
可选地,所述电子设备接收所述服务器在没有查找到所述界面元素的语 义特征值时发送的第二请求; 所述电子设备根据所述第二请求提示用户输入 所述界面元素的语义特征值; 所述电子设备将所述用户输入的所述界面元素 的语义特征值发送至所述服务器; 所述用户输入的语义特征值用于供所述服 务器根据所述用户输入的语义特征值查找所述界面元素的语义特征值。
可选地, 所述电子设备扫描已安装的应用程序, 获取所述已安装的应用 程序的信息, 并将所述已安装的应用程序的信息发送至所述服务器; 所述目 标应用程序为所述电子设备已安装的应用程序。 所述电子设备可在发送所述 界面元素之前向所述服务器发送所述已安装应用程序信息,也可以在发送所 述界面元素之后向所述服务器发送所述已安装应用程序信息。
可选地, 所述电子设备扫描已安装的应用程序, 获取所述已安装的应用 程序的信息, 并将所述已安装的应用程序的信息发送至所述服务器; 所述已 安装的应用程序的信息包含所述已安装的应用程序的语义特征值。 所述电子 设备可在发送所述界面元素之前向所述服务器发送所述已安装应用程序信 息,也可以在发送所述界面元素之后向所述服务器发送所述已安装应用程序 信息。
S303 ,所述电子设备接收所述服务器发送的与所述界面元素相关联的应 用程序的信息;
在所述服务器根据所述界面元素的语义特征值确定与所述界面元素相 关联的应用程序后, 所述服务器将所述相关联的应用程序信息发送至服务 器。 所述电子设备接收所述服务器发送的与所述界面元素相关联的应用程序 的信息。
S304, 所述电子设备展示与所述界面元素相关联的应用程序的标识。 在所述电子设备接收所述服务器发送的与所述界面元素相关联的应用 程序的信息后, 所述电子设备展示所述与界面元素相关联的应用程序。
在本发明实施例的上述实现方式中,所述电子设备将所述界面元素和所 述界面元素的上下文信息发送至服务器; 所述界面元素和所述界面元素的上 下文信息用于供所述服务器根据所述上下文信息查找所述界面元素的语义 特征值。 所述服务器接收所述界面元素和所述界面元素的上下文后, 后去符 合所述上下文信息的所述界面元素的语义特征值。
在本发明实施例的一种实现方式中,所述电子设备接收所述服务器发送 的与所述界面元素相关联的应用程序的信息之前, 所述方法还包括: 所述电 子设备接收所述服务器在没有查找到所述界面元素的语义特征值时发送的 第二请求; 所述电子设备根据所述第二请求提示用户输入所述界面元素的语 义特征值; 所述电子设备将所述用输入的所述界面元素的语义特征值发送至 所述服务器; 所述用户输入的语义特征值用于供所述服务器根据所述用户输 入的语义特征值查找所述界面元素的语义特征值。所述服务器接收所述电子 设备发送的界面元素, 并查找所述界面元素的至少一个语义特征值。 在所述 服务器没有查找到所述界面元素的语义特征值时, 所述电子设备接收所述服 务器在没有查找到所述界面元素的语义特征值时发送的第二请求。 电子设备 接收所述第二请求后, 提示用户输入所述界面元素的语义特征值, 并将所述 用户输入的语义特征值发送至服务器。 所述服务器接收电子设备发送的所述 用户输入的语义特征值, 并根据所述用户输入的语义特征值查找所述界面元 素的语义特征值。
在本发明实施例的上述实现方式中,所述目标应用程序为所述电子设备 已安装的应用程序; 在所述电子设备接收所述服务器发送的与所述界面元素 相关联的应用程序信息之前, 所述方法还包括: 所述电子设备扫描已安装的 应用程序, 获取所述已安装的应用程序的信息, 并将所述已安装的应用程序 的信息发送至所述服务器。 所述服务器接收所述电子设备发送的目标应用程 序的信息后,根据所述目标应用程序的信息查询所述目标应用程序的语义特 征值。 在查询到所述目标应用程序的语义特征值之后, 所述服务器匹配所述 界面元素的至少一个语义特征值与所述目标应用程序的语义特征值,确定与 所述界面元素相关联的应用程序。
在本发明实施例的一种实现方式中,所述目标应用程序为所述电子设备 已安装的应用程序; 在所述电子设备接收所述服务器发送的与所述界面元素 相关联的应用程序的信息之前, 所述方法还包括: 所述电子设备扫描已安装 的应用程序, 获取所述已安装的应用程序的信息, 并将所述已安装的应用程 序的信息发送至所述服务器; 所述已安装的应用程序的信息包含所述已安装 的应用程序的语义特征值。 所述服务器接收所述电子设备发送的目标应用程 序的信息后, 获取所述目标应用程序的语义特征值, 所述服务器匹配所述界 面元素的至少一个语义特征值与所述目标应用程序的语义特征值,确定与所 述界面元素相关联的应用程序。
在本发明的上述实施例中,在所述电子设备展示与所述界面元素相关联 的应用程序的标识后, 该方法还可以包括: 所述电子设备根据用户指令启动 与所述界面元素相关联的应用程序中的至少一个。
所述电子设备在当前应用界面展示与所述界面元素相关联的应用程序 的标识后, 可以接收用户输入的指令。 所述电子设备根据用户输入的启动所 述应用程序的指令, 启动与所述界面元素相关联的应用程序中的至少一个。 在所述电子设备展示的与所述界面元素相关联的应用程序为该电子设备已 经安装的应用程序时, 所述电子设备根据用户指令, 调用该应用程序对应 的调用代码段, 实现对该应用程序的调用, 启动相应的应用程序。 所述 APP调用代码段为预置的代码, 用于打开 APP的同时将相应的参数传递 给 APP。
在本发明的一种实施例中,若所述电子设备展示的与所述界面元素相关 的对象为所述电子设备尚未安装的应用程序时, 所述电子设备提示用户安装 所述应用程序。 具体地, 所述电子设备可调用该应用程序的下载链接, 如某 一特定应用商店的下载链接, 或者某一论坛的下载链接。 在该电子设备运行 相应的应用商店客户端或者浏览器, 打开所述下载链接对应的应用界面, 提 示用户安装所述应用程序。
在本发明的一种实施例中,若所述电子设备展示的与所述界面元素相关 的对象为所述电子设备尚未安装的网页应用程序时, 所述电子设备运行浏览 器以网页形式启动所述应用程序, 例如用户点击所述电子设备展示的某一特 定在线应用程序时, 所述电子设备调用该应用程序的网页链接, 并以网页形 式启动所述应用程序; 或提示用户运行浏览器以启动所述应用程序。
在本发明的上述实施例中, 所述电子设备可根据所述指令启动与所述界 面元素相关联的应用程序中的至少一个, 并复制所述界面元素。 例如, 在所 述电子设备确定的界面元素为文字信息, 所述电子设备展示的与所述文字信 息相关联的某特定地图应用程序。 所述电子设备接收用户的指令, 在启动与 所述文字信息相关联的地图应用程序的同时, 自动将所述文字信息复制到该 电子设备系统的粘贴板中。 所述电子设备启动该地图应用程序后, 该电子设 备可展示一个提示框提示用户 "所述文字信息已自动拷贝", 使得用户可直 接将所述文字信息粘贴至所述地图应用程序的输入框中。本发明实施例减少 了用户的输入操作, 尤其是在用户选择的界面元素较多或较为复杂的情况 下, 提高了用户的操作效率, 提升了用户体验。
在本发明的一种实施例中, 所述电子设备根据所述用户指令将所述界面 元素作为所述相关联的应用程序的输入参数, 启动所述相关联的应用程序中 的至少一个。 具体地, 在所述电子设备获取用户启动所述相关联应用程序的 指令时, 所述电子设备调用该应用程序相应的代码段, 将所述用户选择的界 面元素作为该输入参数。 所述电子设备执行所述调用代码段, 启动所述应用 程序, 并呈现在所述应用程序中输入所述界面元素运行后的应用界面, 显示 该应用程序输入所述界面元素的处理结果。本发明实施例减少了用户的输入 操作, 尤其是在用户选择的界面元素较多或较为复杂的情况下, 提高了用户 的操作效率, 提升了用户体验。
在本发明的上述实施例中, 在所述电子设备获取用户输入的指令; 根据
子设备呈现第一界面。 具体地, 在所述电子设备调用与所述界面元素相关联 的应用程序, 完成特定任务操作并退出该应用程序后, 所述电子设备可呈现 确定所述界面元素的第一界面。
实施例 4
S401 , 服务器接收电子设备发送的界面元素, 获取所述界面元素的至少 一个语义特征值; 所述语义特征值用于指示所述界面元素的语义特点; 可选地,所述服务器可以接收电子设备发送的界面元素和所述界面元素 义特征值。
可选地, 所述服务器在接收所述电子设备发送的界面元素后, 可通过查 找数据库获取所述界面元素的至少一个语义特征值。
可选地, 所述服务器在接收所述电子设备发送的界面元素后, 在没有查 找到所述界面元素的语义特征值时向所述电子设备发送第一请求; 所述第一 请求用于请求所述电子设备提示用户输入所述界面元素的语义特征值; 所述 服务器接收所述电子设备根据所述第一请求, 以及所述用户输入的语义特征 值发送的所述界面元素的至少一个语义特征值, 获取所述界面元素的至少一 个语义特征值。
所述界面元素包括但不限于文字, 还可以是图片或者应用程序图标。 在所述界面元素为文字时, 所述文字可以是一个字, 或一个词, 或一句 话; 所述文字可以是中文简体, 或中文繁体; 所述文字还可以是英语、 或日语等。
5402, 获取目标应用程序的语义特征值; 所述目标应用程序的语义特征 值用于指示所述目标应用程序的语义特点;
所述服务器查询一应用商店中所有应用程序的语义特征值; 所述目标应 用程序为所述应用商店中的所述有应用程序。 或者,
所述服务器接收所述电子设备发送的该电子设备已安装应用程序的语
5403 ,将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配, 根据匹配结果确定与所述界面元素相关联的应用程序; 所述服务器在确定所述界面元素的至少一个语义特征值与所述目标应 用程序的语义特征值相同或者相近似时,确定所述与所述界面元素的语义特 的应用程序。
5404 , 服务器将所述与界面元素相关联的应用程序信息发送至电子设 备。
在所述服务器逐个匹配所述界面元素的至少一个语义特征值与该电子 设备已获取的应用程序的语义特征值, 并根据匹配结果确定与所述界面元素 相关联的应用程序后,将所述与界面元素相关联的应用程序信息发送至电子 设备。
在本发明实施例的一种实现方式中,所述服务器接收电子设备发送的界 面元素具体可以是接收电子设备发送的界面元素和所述界面元素的上下文 信息, 进而所述界面元素和所述界面元素的上下文信息获取符合所述界面元 素上下文的所述界面元素的至少一个语义特征值。例如,在所述界面元素为 文字信息时, 该服务器可获取所述文字信息的多个语义特征值, 在所述 多个语义特征值中, 可能有部分语义特征值不符合所述文字信息的上下 文语境。 所述服务器可接收所述电子设备发送的所述文字信息的上下文 信息, 根据所述文字信息的上下文信息获取符合所述上下文语境的所述 文字信息的至少一个语义特征值。
在本发明实施例的一种实现方式中, 所述服务器在接收所述电子设备 发送的界面元素后, 可通过查找数据库获取所述界面元素的至少一个语义特 征值。
在本发明实施例的一种实现方式中,所述服务器在接收所述电子设备发 送的界面元素后, 可通过查找数据库获取所述界面元素的至少一个语义特征 值。 所述服务器在没有查找到所述界面元素的语义特征值时向所述电子设备 发送第一请求; 所述第一请求用于请求所述电子设备提示用户输入所述界面 元素的语义特征值。 所述电子设备接收所述服务器发送的第一请求后, 提示 用户输入所述界面元素的语义特征值。在所述电子设备接收用户输入的所述 界面元素的语义特征值之后, 所述服务器接收所述电子设备根据所述第一请 求, 以及所述用户输入的语义特征值发送的所述界面元素的至少一个语义特 征值, 获取所述界面元素的至少一个语义特征值。
进一步地, 所述服务器在接收所述电子设备根据所述第一请求, 以及所 述用户输入的语义特征值发送的所述界面元素的至少一个语义特征值后, 可 以根据所述用户输入的语义特征值在数据库中查找与所述用户输入的语义 特征值相关联的至少一个语义特征值。在查找到与所述用户输入的语义特征 值相关联的至少一个语义特征值之后, 所述服务器对比所述相关联的至少语 义特征值和所述界面元素是否匹配。所述匹配标准可依据所述相关联的语义 特征值与所述界面元素是否具有相关性, 涵义是否相同, 以及是否符合所述 界面元素的语境等。在所述服务器确认所述相关联的语义特征值与所述界面 元素匹配时, 所述服务器获取电子设备发送的所述用户输入的至少一个语义 特征值和该服务器查找的与所述用户输入的语义特征值相关联的至少一个 语义特征值。
在本发明实施例的一种实现方式中,所述目标应用程序为一应用商店中 的所有应用程序。 所述服务器获取目标应用程序的语义特征值具体可以是所 述服务器查询一应用商店中所有应用程序的语义特征值。 例如, 所述服务器 可查询华为智汇云应用市场中所有应用程序的语义特征值。 所述应用商店可 要求所述应用程序的开发者上架所述应用程序时,提交所述应用程序的相关 信息, 所述应用程序的相关信息包括所述应用程序的语义特征值。 在所述服 务器获取应用商店中所有应用程序的语义特征值之后, 所述服务器将所述界 面元素的至少一个语义特征值与所述应用商店中所有应用程序的语义特征 联的应用程序。 所述与所述界面元素相关联的应用程序, 可以是所述电子设 备已经安装的应用程序, 也可以是所述电子设备尚未安装的应用程序。
在本发明实施例的一种实现方式中,所述目标应用程序为所述电子设备 已安装的应用程序; 所述服务器获取目标应用程序的语义特征值具体可以是 所述服务器接收所述电子设备发送的该电子设备已安装应用程序的语义特 征值。 所述电子设备扫描该电子设备已安装的应用程序, 获取所述已安装应 用程序的语义特征值, 并将所述已安装应用程序的语义特征值发送至服务 器。 所述服务器获取所述电子设备已安装应用程序的语义特征值后, 将所述 界面元素的至少一个语义特征值与所述已安装应用程序的语义特征值进行
应用程序。
在本发明实施例的一种实现方式中,所述服务器获取应用程序的语义特 征值具体可以是所述服务器接收所述电子设备发送的该电子设备已安装应 用程序的语义特征值。 所述电子设备扫描该电子设备已安装的应用程序, 获 取所述已安装应用程序的语义特征值, 并将所述已安装应用程序的语义特征 值发送至服务器。 所述服务器获取所述电子设备已安装应用程序的语义特征 值后,将所述界面元素的至少一个语义特征值与所述已安装应用程序的语义 特征值进行匹配。 在具有匹配的语义特征值的情况下, 确定匹配的语义特征 安装应用程序的语义特征值与所述界面元素的至少一个语义特征值不匹配 时, 所述服务器确定与所述界面元素相关联的应用程序为第二应用程序; 所 述第二应用程序为所述服务器查找到的, 与所述界面元素的语义特征值对应 的应用程序。 所述服务器查找与所述界面元素的至少一个语义特征值相匹配 的应用程序的语义特征值。 所述服务器可以在一应用商店中查询所有应用程 序的语义特征值,也可以在一技术论坛查询所述电子设备尚未安装的应用程 序的语义特征值。在所述服务器查找到与所述界面元素的至少一个语义特征 值相匹配的应用程序的语义特征值后,将所述界面元素的至少一个语义特征 值与所述应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应的应 用程序为与所述界面元素相关联的应用程序。 所述与所述界面元素相关联的 应用程序为所述电子设备尚未安装的应用程序。
本发明实施例中, 所述电子设备可以是一种手持形式的计算机系统, 如 智能手机、平板电脑(Tablet Personal Computer ),个人数字助理( personal digital assistant, 简称 PDA)、 移动上网装置( Mobi le Internet Device, MID)或可穿戴式设备 (Wearable Device)等。 如图 5所示, 其一般包括至 少一个处理器(例如 CPU )、 输出设备、 和至少一个通信总线。 本领域的技 术人员可以理解, 图 5中示出的电子设备的结构不构成对电子设备的限定, 所述电子设备可以包括比图示更多或更少的部件, 或者组合某些部件, 或者 不同的部件布置。
下面结合图 5对电子设备的各个构成部件进行具体的介绍:
通信总线用于实现处理器及输出设备之间的连接通信。
输出设备包括但不限于影像输出设备和声音输出设备。影像输出设备用 于输出文字、 图片和 /或视频。 所述影像输出设备可包括显示面板, 例如采 用 LCD ( Liquid Crystal Display , 液晶显示器 )、 0LED ( Organic Light-Emitting Diode, 有机发光二极管)、 场发射显示器(field emission display, 简称 FED)等形式来配置的显示面板。 或者所述影像输出设备可以 包括反射式显示器, 例如电泳式(electrophoretic) 显示器, 或利用光干涉 调变技术(Interferometric Modulation of Light) 的显示器。 所述影像输 出设备可以包括单个显示器或不同尺寸的多个显示器。在本发明的具体实施 方式中, 输入设备所采用的触控面板亦可同时作为输出设备的显示面板。 例 如, 当触控面板检测到在其上的触摸或接近的手势操作后, 传送给处理器以 确定触摸事件的类型, 随后处理器根据触摸事件的类型在显示面板上提供相 应的视觉输出。输入设备与输出设备是作为两个独立的部件来实现电子设备 的输入和输出功能,但也可以将触控面板与显示面板集成一体而实现电子设 备的输入和输出功能。 例如, 所述影像输出设备可以显示各种图形化用户接 口(Graphica l User Interface , 简称 GUI)以作为虚拟控制组件, 包括但不 限于窗口、 卷动轴、 图标及剪贴簿, 以供用户通过触控方式进行操作。
处理器是电子设备的控制中心,利用各种接口和线路连接整个计算机的 各个部分,通过运行或执行存储在存储器内的软件程序和 /或应用单元, 以及 调用存储在存储器内的数据, 执行站点的各种功能和处理数据, 从而对站点 进行整体监控。
输入设备用于实现用户与电子设备的交互和 /或信息输入到电子设备 中。 例如, 输入设备可以接收用户输入的数字或字符信息, 以产生与用户设 置或功能控制有关的信号输入。 在本发明具体实施方式中, 输入设备可以是 触控面板, 也可以是其他人机交互界面, 例如实体输入键、 麦克风等, 还可 是其他外部信息撷取装置, 例如摄像头等。 触控面板, 也称为触摸屏或触控 屏, 可收集用户在其上触摸或接近的操作动作。 比如用户使用手指、 触笔等 任何适合的物体或附件在触控面板上或接近触控面板的位置的操作动作, 并 根据预先设定的程式驱动相应的连接装置。 可选的, 触控面板可包括触摸检 测装置和触摸控制器两个部分。 其中, 触摸检测装置检测用户的触摸操作, 并将检测到的触摸操作转换为电信号 , 以及将所述电信号传送给触摸控制 器;触摸控制器从触摸检测装置上接收所述电信号,并将它转换成触点坐标, 再送给处理单元。 所述触摸控制器还可以接收处理单元发来的命令并执行。 此外, 可以采用电阻式、 电容式、 红外线( Infrared )以及表面声波等多种 类型实现触控面板。 在本发明的其他实施方式中, 输入设备所采用的实体输 入键可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、 轨迹球、 鼠标、 操作杆等中的一种或多种。 麦克风形式的输入设备可以收集 用户或环境输入的语音并将其转换成电信号形式的、 处理单元可执行的命 令。
在本发明的其他一些实施方式中, 所述输入设备还可以是各类传感器 件, 例如霍尔器件, 用于侦测电子设备的物理量, 例如力、 力矩、 压力、 应 力、 位置、 位移、 速度、 加速度、 角度、 角速度、 转数、 转速以及工作状态 发生变化的时间等, 转变成电量来进行检测和控制。 其他的一些传感器件还 可以包括重力感应计、 三轴加速计、 陀螺仪等。
实施例 5
具体地, 在本电子设备的一种实施例中, 如图 5所示, 所述电子设备包 括:
处理器 530 , 用于确定第一界面的界面元素; 确定与所述界面元素相关 特征值与目标应用程序的语义特征值进行匹配,根据匹配结果确定的与所述 界面元素相关联的应用程序; 所述界面元素的语义特征值用于指示所述界面 元素的语义特点; 所述目标应用程序的语义特征值用于指示所述目标应用程 序的语义特点;
可选地, 所述处理器 530可获取所述界面元素的至少一个语义特征值; 获取所述目标应用程序的语义特征值; 将所述界面元素的至少一个语义特征 值与所述目标应用程序的语义特征值进行匹配,确定匹配的语义特征值对应 的应用程序为与所述界面元素相关联的应用程序。 即, 所述处理器 530在本 地匹配所述界面元素与目标应用程序的语义特征值,确定与所述界面元素相 关联的应用程序。
可选地, 所述电子设备可将所述界面元素发送至服务器; 所述界面元素 用于供所述服务器查找所述界面元素的语义特征值, 并将所述界面元素的语 义特征值与所述目标应用程序的语义特征值进行匹配,确定匹配的语义特征 值对应的与所述界面元素相关联的应用程序; 在所述电子设备接收所述服务 器发送的与所述界面元素相关联的应用程序的信息后, 所述处理器 530确定 与所述界面元素相关联的应用程序。 即, 所述电子设备将所述界面元素发送 至服务器,在所述服务器匹配所述界面元素的语义特征值与目标应用程序的 语义特征值后, 所述电子设备接收所述服务器发送的与所述界面元素相关联 的应用程序信息, 所述处理器 530解析所述与界面元素相关联的应用程序的 信息, 确定与所述界面元素相关联的应用程序。 可选地, 所述输出设备 520用于, 在所述处理器 530逐个匹配所述界面 元素的至少一个语义特征值与该电子设备已获取的应用程序的语义特征值, 并根据匹配结果确定与所述界面元素相关联的应用程序后,展示所述与界面 元素相关联的应用程序。
可选地, 所述输出设备 520用于, 在所述电子设备接收所述服务器发送 的与所述界面元素相关联的应用程序信息, 所述处理器 530解析所述与界面 元素相关联的应用程序信息, 确定与所述界面元素相关联的应用程序后, 展 示所述与界面元素相关联的应用程序。
本发明提供的实施例通过将界面元素的语义特征值与目标应用程序的 语义特征值进行匹配 ,进而确定匹配的语义特征值对应的应用程序为与所述 界面元素相关联的应用程序,使得电子设备能够智能识别与界面元素的相关 联的应用程序, 提高了电子设备调用应用程序的调用效率。
实施例 6
具体地, 在本电子设备的一种实施例中, 图 6为本发明实施例提供的一 种电子设备的结构示意图, 如图所示, 所述电子设备包括:
处理器 630 , 用于确定第一界面的界面元素, 获取所述界面元素的至少 一个语义特征值; 获取应用程序的语义特征值, 将所述界面元素的至少一个 语义特征值与所述应用程序的语义特征值进行匹配,确定匹配的语义特征值 于指示所述界面元素的语义特点;
可选地, 所述处理器 630确定第一界面的界面元素可以包括所述处理 器 630确定第一界面的界面元素和所述界面元素的上下文信息。
可选地,所述处理器 630可以根据用户指令确定所述第一界面的界面元 素。
可选地, 所述处理器 630可以自动识别确定第一界面的界面元素。 可选地,所述处理器 630可以获取服务器查找的所述界面元素的的至 少一个语义特征值。
可选地,所述处理器 630可以在该电子设备的本地数据库查找获取所述 界面元素的至少一个语义特征值。
可选地,所述处理器 630可以将所述界面元素的至少一个语义特征值与 该电子设备已经安装的应用程序的语义特征值进行匹配,根据匹配结果确定 与所述界面元素相关联的应用程序。
可选地,所述处理器 630可以将所述界面元素的至少一个语义特征值与 该电子设备尚未安装的应用程序的语义特征值进行匹配,根据匹配结果确定 与所述界面元素相关联的应用程序。 可选地,所述输出设备 620可展示所述与所述界面元素相关联的应用程 序的图标, 也可以展示与所述界面元素相关联的应用程序的标识的名称。
可选地, 所述输出设备 620展示的与所述界面元素相关联的应用程序, 所述相关联的应用程序的数量可以是一个, 也可以是多个。
可选地, 所述输出设备 620展示的与所述界面元素相关联的应用程序, 在展示的与所述界面元素相关联的应用程序的数量为多个时, 所述应用程序 可按照预设的顺序排列。 所述预设顺序包括但不限于该应用程序的用户使用 数量, 该应用程序的开发时间等。
可选地 ,所述输出设备 620展示的与所述界面元素相关联应用程序可以
在本发明实施例的一种实现方式中,所述处理器确定第一界面的界面元 素可以为所述处理器确定所述第一界面的界面元素和所述界面元素的上下 文信息。 所述处理器根据所述第一界面的界面元素和所述界面元素的上下文 例如, 当处理器确定的所述界面元素为文字信息时, 该处理器获取所述文 字信息的多个语义特征值, 在所述多个语义特征值中, 可能有部分语义 特征值不符合所述文字信息的语境。 以 "G510"为例, 处理器获取 "G510" 的语义特征值时, 至少会出现两个彼此涵义不一致的语义特征值, 即 "火车 车次" 和 "手机型号"。 此时, 处理器确定所述 "G510" 的上下文信息。 所 述 "G510" 的上下文信息可以是 "G510" 所在的整句文字信息, 以逗号或 者以句号作为分隔符提取整句文字信息。 处理器获取 "G510"符合语境涵义 的至少一个语义特征值。
在本发明实施例的一种实现方式中, 所述处理器 630可以通过服务器 查找所述界面元素的语义特征值获取所述界面元素的至少一个语义特征 值。 如图 7所示, 所述电子设备包括:
发送器 640, 用于在所述处理器 630确定第一界面的界面元素后, 获取 所述界面元素的至少一个语义特征值前, 向服务器发送第一请求; 所述第一 请求用于请求服务器查找所述界面元素的语义特征值; 所述第一请求可包含 所述界面元素的上下文信息;
接收器 650, 用于接收所述服务器根据所述第一请求发送的所述界面元 素的至少一个语义特征值。 具体地, 所述服务器查找所述界面元素的语义 特征值。 在所述服务器查找到多个语义特征值时, 所述服务器根据所述 界面元素的上下文信息确定符合所述界面元素上下文语境的至少一个语 义特征值, 并将所述语义特征值发送至所述电子设备;
处理器 630 , 用于获取所述接收器 650接收的所述服务器发送的所述 界面元素的至少一个语义特征值。
在本发明实施例的一种实现方式中, 所述处理器 630可以通过服务器 查找所述界面元素的语义特征值获取所述界面元素的至少一个语义特征 值。 如图 8所示, 所述电子设备包括:
接收器 650。 用于在接收所述服务器根据所述第一请求发送的所述界面 元素的至少一个语义特征值之前 ,接收所述服务器在没有查找到所述界面元 素的语义特征值时发送的第二请求。 具体地, 在所述处理器 630确定第一 界面的界面元素后, 向服务器发送第一请求, 所述第一请求用于请求服务 器查找所述界面元素的语义特征值。 在所述服务器没有查找到所述界面元 素的语义特征值时, 所述接收器 650还用于接收所述服务器发送的第二 请求, 所述第二请求用于请求所述电子设备提示用户输入所述界面元素 的语义特征值。
输出设备 620, 用于根据所述第二请求提示用户输入所述界面元素的语 义特征值。
输入设备 660, 用于根据所述第二请求提示用户输入所述界面元素的语 义特征值后, 接收用户输入的语义特征值。
发送器 640, 用于在所述输入设备 660获取用户输入的所述界面元素的 语义特征值之后, 将所述用户输入的语义特征值发送至服务器。
所述接收器 650还用于,接收所述服务器根据所述第一请求以及所述用 户输入的语义特征值发送的, 与所述用户输入的语义特征值相关联的至少一 个语义特征值。在所述服务器接收所述发送器发送的用户输入的语义特征值 之后, 可将所述用户输入的语义特征值与所述界面元素的对应关系保存至数 据库备用。 所述服务器根据所述用户输入的语义特征值在数据库中查找与所 述用户输入的语义特征值相关联的语义特征值。 所述与所述用户输入的语义 特征值相关联的语义特征值与所述用户输入的语义特征值具有相同或相近 似的语义特征。所述服务器对比所述相关联的语义特征值和所述界面元素是 否匹配。所述匹配标准可依据所述所述相关联的语义特征值与所述界面元素 是否具有相关性, 涵义是否相同, 以及是否符合所述界面元素的语境等。 在 所述服务器确认所述相关联的语义特征值与所述界面元素匹配时, 所述接收 器接收所述服务器根据所述所述第一请求, 以及所述用户输入的语义特征值 发送的, 与所述用户输入的语义特征值相关联的语义特征值。
处理器 630 , 用于获取所述接收器 650接收的所述服务器发送的所述 界面元素的至少一个语义特征值。
在本发明实施例的一种实现方式中, 所述处理器可以通过查找该电子 设备本地数据库获取所述界面元素的至少一个语义特征值。 在所述处理 器确定第一界面的界面元素后, 所述处理器查找该电子设备的数据库, 获取所述界面元素的至少一个语义特征值。 在所述处理器在所述数据库 中查找到多个语义特征值时, 所述处理器可获取所述界面元素的上下文 信息, 解析所述界面元素的语境, 根据所述上下文信息获取符合所述界 面元素上下文语境的至少一个语义特征值。
在本发明实施例的一种实现方式中,所述处理器可以通过查找该电子 设备本地数据库获取所述界面元素的至少一个语义特征值。 所述电子设 备包括:
输出设备 620, 用于在所述处理器没有在该电子设备的本地数据库获取 到所述界面元素的至少一个语义特征值时,提示用户输入所述界面元素的语 义特征值。
输入设备,用于在所述输出设备提示用户输入所述界面元素的语义特征 值后, 接收用户输入的语义特征值。 所述用户输入的语义特征值为所述用户 理解的所述界面的语义特征值。在所述输入设备获取用户输入的所述语义特 征值后, 所述处理器可将所述用户输入的语义特征值与所述界面元素的对应 关系保存至数据库备用。
处理器, 用于确定第一界面的界面元素, 获取与所述用户输入的语义特 征值相关联的语义特征值,通过查找该电子设备的本地数据库获取与所述用 户输入的语义特征值相关联的所述界面元素的至少一个语义特征值。 所述处 理器根据所述用户输入的语义特征值在数据库中查找与所述用户输入的语 义特征值相关联的语义特征值, 所述与用户输入的语义特征值相关联的语义 特征与所述用户输入的语义特征值具有相近似的语义特征。 所述处理器对比 所述相关联的语义特征值和所述界面元素是否匹配。 所述匹配标准可依据所 述所述相关联的语义特征值与所述界面元素是否具有相关性, 涵义是否相 同, 以及是否符合所述界面元素的语境等。 在所述处理器确认所述相关联的 语义特征值与所述界面元素匹配时,获取与所述用户输入的语义特征值相关 联的所述界面元素的至少一个语义特征值。
在本发明实施例的一种实现方式中,所述处理器可以通过查找该电子 设备本地数据库获取所述界面元素的至少一个语义特征值。
发送器,用于在在所述处理器没有在该电子设备的本地数据库获取到所 述界面元素的至少一个语义特征值时, 向服务器发送第一请求; 所述第一请 求用于请求服务器查找所述界面元素的语义特征值;
接收器,用于接收所述服务器根据所述第一请求发送的所述界面元素的 至少一个语义特征值。
可选地,在所述处理器在该电子设备的数据库中没有查找到相应语义特 征值时, 所述发送器向服务器发送第一请求。 在所述服务器查找到所述界面 元素的语义特征值后, 所述接收器接收所述服务器根据所述第一请求发送的 所述界面元素的语义特征值。
可选地,在所述处理器在该电子设备的数据库中没有查找到相应语义特 征值时, 所述发送器向服务器发送第一请求。 所述第一请求包含所述界面元 素的上下文信息。 在所述 ^良务器查找到多个所述界面元素的语义特征值时, 所述服务器根据所述界面元素的上下文信息陣选符合所述界面元素上下 文语境的至少一个语义特征值, 并将所述语义特征值发送至所述电子设 备。所述接收器接收所述服务器根据所述第一请求发送的所述界面元素的至 少一个语义特征值。
可选地, 所述电子设备还包括输入设备。 在所述处理器在该电子设备 的数据库中没有查找到相应语义特征值时, 所述发送器向服务器发送第一请 求。在所述服务器没有查找到所述界面元素的语义特征值时, 所述接收器 接收所述服务器发送的第三请求, 所述第三请求用于请求所述电子设备 的输出设备提示用户输入所述界面元素的语义特征值。在所述电子设备的 输入设备获取用户输入的所述界面元素的语义特征值之后, 所述发送器将所 述用户输入的语义特征值发送至服务器。 所述服务器可以根据所述用户输入 的语义特征值在数据库中查找与所述用户输入的语义特征值相关联的语义 特征值, 并将所述与用户输入的语义特征值相关联的语义特征值发送至电子 设备。 所述相关联的语义特征值与所述用户输入的语义特征值具有相同或相 近似的语义特征。 所述接收器接收所述服务器发送的与所述用户输入的语义 特征值相关联的至少一个语义特征值。 所述处理器对比所述相关联的语义特 征值和所述界面元素是否匹配。 所述匹配标准可依据所述所述相关联的语义 特征值与所述界面元素是否具有相关性, 涵义是否相同, 以及是否符合所述 界面元素的语境等。在所述处理器确认所述相关联的语义特征值与所述界面 元素匹配时, 获取与所述用户输入的语义特征值相关联的所述界面元素的至 少一个语义特征值。
在本发明实施例的一种实现方式中, 所述电子设备可请求服务器查询 该电子设备已经安装的应用程序的语义特征值, 获取应用程序的语义特征 值。 所述电子设备包括:
处理器, 用于扫描已安装的应用程序, 获取所述已安装的应用程序的信 息。 所述已安装的应用程序的信息可以包括该应用程序的名称、 类别、 调用 代码等, 不包含所述应用程序的语义特征值。
发送器, 用于在所述处理器获取所述已安装的应用程序的信息后, 向服 务器发送第三请求; 所述第三请求用于查询所述已安装应用程序的语义特征 值; 所述第三请求包含所述已安装的应用程序的相关信息。
接收器,用于接收所述服务器根据所述第四请求发送的所述已安装应用 程序的语义特征值; 所述服务器接收所述发送器发送的第三请求后, 获取所 述已安装应用程序的信息, 并查找所述应用程序的语义特征值。 在所述服务 器查找到相应语义特征值后, 所述接收器接收所述服务器根据所述第四请求 发送的所述已安装应用程序的语义特征值。
所述处理器还用于,将所述界面元素的至少一个语义特征值与所述已安 装应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应的应用程序 为与所述界面元素相关联的应用程序。在确定所述界面元素语义特征值与所 述已安装应用程序的语义特征值相同或相似时, 所述处理器确定匹配的语义 进一步地, 在该电子设备下载安装新的应用程序后, 所述处理器提取该 新安装的应用程序的相关信息, 所述发送器向服务器发送查询该新安装应用 程序语义特征值的查询请求, 所述接收器接收所述服务器发送的该新安装应 用程序的语义特征值, 所述处理器将所述新安装的应用程序的语义特征值更 新至所述汇总的本地已安装应用程序的语义特征值集合,在下次匹配中将该 新安装的应用程序的语义特征值纳入匹配范围。
在本发明实施例的一种实现方式中, 所述电子设备可在本地数据库查 找该电子设备已经安装的应用程序的语义特征值, 获取应用程序的语义特 征值。
所述处理器扫描已安装的应用程序, 获取所述已安装应用程序的信息; 所述已安装应用程序的信息包含所述应用程序的语义特征值。
所述处理器将界面元素的至少一个所述语义特征值与所述已安装应用 程序的语义特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所 述界面元素相关联的应用程序。
在本发明实施例中, 所述电子设备的应用程序可以为从某特定的应用商 店下载的应用程序。 所述应用商店可以要求应用程序的开发者在提交应用程 序时提交该应用程序的相关信息, 例如该应用程序的名称、 该应用程序的类 另' J、 该应用程序的调用代码、 该应用程序的 API等, 所述应用程序的相关信 息包含该应用程序的语义特征值。 所述电子设备从应用商店下载所述应用程 序后即可获得所述应用程序的语义特征值。
进一步地, 在该电子设备从所述应用商店下载安装新的应用程序后, 所 述处理器提取该新安装的应用程序的语义特征值, 并更新所述汇总的本地已 安装应用程序的语义特征值集合,在下次匹配中将该新安装的应用程序的语 义特征值纳入匹配范围。
在本发明实施例的一种实现方式中, 所述电子设备可在本地数据库查 找该电子设备已经安装的应用程序的语义特征值, 获取应用程序的语义特 征值。在所述处理器将所述界面元素的至少一个语义特征值与所述应用程序 的语义特征值进行匹配,所述应用程序的语义特征值与所述界面元素的语义 特征值不匹配时, 所述电子设备可将所述界面元素的语义特征值发送至服务 器,请求服务器查找与所述界面元素相关联的应用程序。所述电子设备包括: 所述处理器扫描已安装的应用程序, 获取所述已安装的应用程序的信 息; 所述已安装应用程序的信息包含所述应用程序的语义特征值。 所述处理 器提取本地已安装应用程序的语义特征值, 汇总本地已安装应用程序的语义 特征值后,将所述界面元素的语义特征值与所述已安装应用程序的语义特征 进行匹配。
发送器,用于在所述处理器判断所述已安装应用程序的语义特征值与所 述界面元素的语义特征值不匹配时,将所述界面元素的语义特征值发送至服 务器; 请求服务器查找与所述界面元素的语义特征值匹配的所述电子设备尚 未安装的应用程序的语义特征值。
接收器,用于接收所述服务器发送的匹配的所述电子设备尚未安装的第 一应用程序信息, 确定所述界面元素相关联的应用程序为所述第一应用程 序; 所述第一应用程序为所述服务器查找到的, 与所述界面元素语义特征值 相匹配的语义特征值对应的应用程序。
在本发明实施例的一种实现方式中, 所述电子设备可请求服务器查找 应用程序的语义特征值, 获取应用程序的语义特征值, 将所述界面元素的 至少一个语义特征值与所述应用程序的语义特征值进行匹配,根据匹配结果 确定与所述界面元素相关联的应用程序。 所述电子设备包括:
发送器, 用于向服务器发送第四请求; 所述第四请求用于查询应用商店 中所有应用程序的语义特征值; 所述应用商店可以是是电子设备应用界面上 应用商店客户端对应的服务器上的应用商店, 如豌豆夹、 华为智汇云应用市 场等。
接收器,用于接收所述服务器根据所述发送器发送的第四请求发送的所 述应用商店中所有应用程序的语义特征值; 所述接收器接收所述服务器对所 述第四请求的响应,接收所述服务器根据所述第四请求发送的所述应用商店 中所有应用程序的语义特征值。
所述处理器用于,获取所述接收器接收的所述应用商店中所有应用程序 的语义特征值; 将所述界面元素的至少一个语义特征值与所述应用商店中所 有应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应的应用程序 为与所述界面元素相关联的应用程序。在所述处理器确定所述界面元素语义 特征值与所述已安装应用程序的语义特征值相同或相似时, 所述处理器确定 在本发明实施例的上述实现方式中,所述处理器可根据用户的指令获取 所述界面元素的至少一个语义特征值 所述输出设备用于在所述处理器确定 第一界面的界面元素后, 获取所述界面元素的至少一个语义特征值前, 在第 一界面显示关联选项; 所述关联选项可以是对话框或按钮。 所述输入设备, 用于所述输出设备在第一界面显示关联选项后,接收用户选择所述关联选项 时输入的第一指令; 所述输入设备接收用户在对话框输入的所述第二指令, 或者, 所述输入设备接收用户触发按钮产生的第二指令。 所述处理器用于根 据所述第二指令, 获取所述界面元素的至少一个语义特征值。
在本发明实施例的上述实现方式中,所述处理器可根据用户的指令将所 述界面元素的至少一个语义特征值与所述应用程序的语义特征值进行匹配, 根据匹配结果确定与所述界面元素相关联的应用程序。输出设备用于在所述 处理器获取所述界面元素的至少一个语义特征值之后, 匹配所述界面元素的 语义特征值与该电子设备获取的应用程序的语义特征值之前,在所述第一界 面显示关联选项; 所述关联选项可以是对话框或按钮。 输入设备, 用于接收 用户选择所述关联选项时输入的第三指令; 所述输入设备接收用户在对话框 输入的所述第三指令, 或者, 所述输入设备接收用户触发按钮产生的第三指 令。 处理器用于根据所述第三指令, 将所述界面元素的至少一个语义特征值 与所述应用程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素 相关联的应用程序。
实施例 7
如图 9所示, 图 9为本发明实施例提供的一种电子设备的结构示意图。 所述电子设备包括:
处理器 730, 用于确定第一界面的界面元素;
发送器 720, 用于在所述处理器 730确定第一界面的界面元素后, 将所 述界面元素发送至服务器; 所述界面元素用于供所述服务器查找所述界面元 素的语义特征值, 并将所述界面元素的语义特征值与所述目标应用程序的语 义特征值进行匹配,确定匹配的语义特征值对应的与所述界面元素相关联的 应用程序; 所述界面元素与应用程序的语义特征值相匹配是指所述所述界面 元素的语义特征值与所述应用程序的语义特征值相同或相近似;
接收器 740, 用于接收所述服务器发送的与所述界面元素相关联的应用 程序的信息。
所述处理器 730还用于,在所述接收器 740接收服务器发送的与所述界 面元素相关联的应用程序的信息后, 确定与所述界面元素相关联的应用程 序; 在本发明实施例的一种实现方式中, 所述处理器还用于, 确定第一界面 的界面元素的上下文信息; 所述发送器将所述界面元素发送至服务器具体 为, 所述服务器将所述界面元素和所述界面元素的上下文信息发送至服务 器; 所述界面元素和所述界面元素的上下文信息用于供所述服务器根据所述 上下文信息查找所述界面元素的语义特征值。
在本发明实施例的上述实现方式中, 所述电子设备还包括输入设备、 输 出设备。
所述接收器还用于,在接收所述服务器发送的与所述界面元素相关联的 应用程序的信息之前,接收所述服务器在没有查找到所述界面元素的语义特 征值时发送的第二请求;
输出设备,用于根据所述第二请求提示用户输入所述界面元素的语义特 征值;
输入设备, 用于接收用户输入的所述界面元素的语义特征值; 所述发送器还用于,将所述用户输入的所述界面元素的语义特征值发送 至所述服务器; 所述用户输入的语义特征值用于供所述服务器根据所述用户 输入的语义特征值查找所述界面元素的语义特征值。
在本发明实施例的上述实现方式中, 所述电子设备还包括处理器。 所述 处理器用于扫描该电子设备已安装的应用程序, 获取所述已安装的应用程序 的信息; 所述发送器用于, 将所述已安装的应用程序的信息发送至所述服务 器。 可选地, 所述已安装的应用程序的信息包含所述已安装的应用程序的语 义特征值。
在本发明的上述实施例中,所述输出设备展示与所述界面元素相关联的 应用程序的标识。 所述输出设备具体可展示所述与所述界面元素相关联的应 用程序的图标, 也可以展示与所述界面元素相关联的应用程序的标识的名 称。
在本发明的上述实施例中,所述输出设备展示与所述界面元素相关联的 应用程序的标识。 所述输出设备展示的与所述界面元素相关联的应用程序的 数量可以是一个, 也可以是多个。 在本发明的上述实施例中, 所述输出设备展示与所述界面元素相关联的 应用程序的标识。在所述输出设备展示的与所述界面元素相关联的应用程序 的数量为多个时, 所述展示的应用程序可按照预设的顺序排列。 所述预设顺 序包括但不限于该应用程序的用户使用数量, 该应用程序的开发时间等。
在本发明的上述实施例中 所述输出 示的与所述界面元素相关联 序,
Figure imgf000055_0001
本发明的上述实施例中,所述处理器可根据用户的指令确定所述界面 在本发明的上述实施例中, 所述输出设备可根据用户的指令展示与所述 界面元素相关联的应用程序的标识中的至少一个。输出设备用于在所述处理 器匹配所述界面元素的语义特征值与该电子设备获取的应用程序的语义特 征值, 确定与所述界面元素相关联的应用程序之后, 在该输出设备展示与所 述界面元素相关联的应用程序的标识之前, 在所述第一界面中显示关联选 项; 所述关联选项可以是对话框或按钮。 输入设备, 用于接收用户选择所述 关联选项时输入的第四指令; 所述输入设备接收用户在对话框输入的所述第 四指令, 或者, 所述输入设备接收用户触发按钮产生的第四指令。
输出设备, 用于根据所述第四指令, 展示与所述界面元素相关联的应用 程序的标识。
在本发明的上述实施例中,, 所述处理器可根据用户的指令启动所述输 出设备展示的与所述界面元素相关联的应用程序中的至少一个。 输出设备, 输出设备展示与所述界面元素相关联的应用程序的标识后,接收用户输入的 可选地, 处理器, 用于根据所述用户指令启动与所述界面元素相关联的 应用程序中的至少一个。在所述电子设备展示的与所述界面元素相关联的应 用程序为该电子设备已经安装的应用程序时, 所述处理器根据用户指令, 调 用该应用程序对应的调用代码段, 实现对该应用程序的调用, 启动相应 的应用程序。 所述用于程序调用代码段为预置的代码, 用于打开应用程 序的同时将相应的参数传递给所述应用程序。
进一步地, 所述处理器还用于,根据所述用户指令启动与所述界面元素 相关联的应用程序中的至少一个, 并复制所述界面元素。 例如, 在所述处理 器确定的界面元素为文字信息, 所述输出设备展示的与所述文字信息相关联 的某特定地图应用程序。 所述输入设备接收用户的指令, 所述处理器在启动 与所述文字信息相关联的地图应用程序的同时, 自动将所述文字信息复制到 该电子设备系统的粘贴板中。 所述处理器启动该地图应用程序后, 该输出设 备可展示一个提示框提示用户 "所述文字信息已自动拷贝", 提示用户可直 接将所述文字信息粘贴至所述地图应用程序的输入框中。本发明实施例减少 了用户的输入操作, 尤其是在用户选择的界面元素较多或较为复杂的情况 下, 提高了用户的操作效率, 提升了用户体验。
可选地,处理器用于根据所述用户指令将所述界面元素作为所述相关联 的应用程序的输入参数,启动所述相关联的应用程序中的至少一个。具体地, 在所述输入设备获取用户启动所述相关联应用程序的指令后, 所述处理器调 用该应用程序相应的代码段, 将所述用户选择的界面元素作为该输入参数, 启动所述应用程序。 所述输出设备呈现在所述应用程序中输入所述界面元素 运行后的应用界面, 显示该应用程序输入所述界面元素的处理结果。 本发明 实施例减少了用户的输入操作, 尤其是在用户选择的界面元素较多或较为复 杂的情况下, 提高了用户的操作效率, 提升了用户体验。
在本发明的上述实施例中,, 所述处理器可根据用户的指令启动所述输 出设备展示的与所述界面元素相关联的应用程序中的至少一个。 所述电子设
Figure imgf000056_0001
序; 输入设备, 用于在所述输出设备展示与所述界面元素相关联的应用程序 的标识后, 接收用户输入的指令; 所述指令用于启动所述与界面元素相关联 的应用程序中的至少一个; 处理器, 用于解析所述输入设备接收的指令; 所 述输出设备还用于, 在所述处理器解析所述输入设备接收的指令, 确定所述 指令指向的对象为所述电子设备尚未安装的应用程序时,提示用户安装所述 应用程序。
在本发明的上述实施例中,, 所述处理器可根据用户的指令启动所述输 出设备展示的与所述界面元素相关联的应用程序中的至少一个。 所述电子设 序; 输入设备, 用于在所述输出设备展示与所述界面元素相关联的应用程序 的标识后, 接收用户输入的指令; 所述指令用于启动所述与界面元素相关联 的应用程序中的至少一个;
可选地,处理器用于根据所述用户指令将所述界面元素作为所述相关联 的应用程序的输入参数,启动所述相关联的应用程序中的至少一个。具体地, 在所述输入设备获取用户启动所述相关联应用程序的指令后, 所述处理器调 用该应用程序相应的代码段, 将所述用户选择的界面元素作为该输入参数, 启动所述应用程序。 所述输出设备呈现在所述应用程序中输入所述界面元素 运行后的应用界面, 显示该应用程序输入所述界面元素的处理结果。 本发明 实施例减少了用户的输入操作, 尤其是在用户选择的界面元素较多或较为复 杂的情况下, 提高了用户的操作效率, 提升了用户体验。
可选地, 处理器, 用于解析所述输入设备接收的指令, 确定所述指令指 向的对象为所述电子设备尚未安装的网页应用程序时,运行浏览器以网页形 式启动所述应用程序;
进一步地,在处理器运行浏览器以网页形式启动所述应用程序时,所述 处理器还用于,根据所述用户指令启动与所述界面元素相关联的应用程序中 的至少一个, 并复制所述界面元素。 例如, 在所述处理器确定的界面元素为 文字信息, 所述输出设备展示的与所述文字信息相关联的某特定地图应用程 序。 所述输入设备接收用户的指令, 所述处理器在启动与所述文字信息相关 联的地图应用程序的同时, 自动将所述文字信息复制到该电子设备系统的粘 贴板中。 所述处理器启动该地图应用程序后, 该输出设备可展示一个提示框 提示用户 "所述文字信息已自动拷贝", 提示用户可直接将所述文字信息粘 贴至所述地图应用程序的输入框中。 本发明实施例减少了用户的输入操作, 尤其是在用户选择的界面元素较多或较为复杂的情况下,提高了用户的操作 效率, 提升了用户体验。
可选地, 所述输出设备还用于, 在所述处理器解析所述输入设备接收的 指令, 确定所述指令指向的对象为所述电子设备尚未安装的网页应用程序 时, 提示用户运行浏览器以启动所述应用程序。
在本发明的上述实施例中,在所述处理器启动所述输出设备展示的与所 述界面元素相关联的应用程序中的至少一个后, 所述输出设备还用于, 在所 述处理器退出所述与界面元素相关联的应用程序后, 呈现所述第一界面。 具 体地, 在所述处理器调用与所述界面元素相关联的应用程序, 完成特定任务 操作并退出该应用程序后, 所述输出设备呈现所述第一界面。
实施例 8
图 10为本发明实施例提供的一种服务器装置结构图。 如图所示, 所述 服务器包括:
接收器 840, 用于接收电子设备发送的界面元素;
可选地,所述接收器 840接收电子设备发送的界面元素和所述界面元素 的上下文信息。
处理器 830 , 用于获取所述界面元素的至少一个语义特征值; 获取应用 程序的语义特征值; 将所述界面元素的至少一个语义特征值与所述应用程序 的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程 序; 所述语义特征值用于指示所述界面元素的语义特点;
可选地,所述处理器 830查询一应用商店中所有应用程序的语义特征值 以获取所述应用商店中所有应用程序的语义特征值;
可选地,所述处理器 830获取所述接收器接收的电子设备发送的该电子 设备已安装应用程序的语义特征值;
发送器 820 , 用于将所述与界面元素相关联的应用程序信息发送至电子 设备。在所述处理器 830根据匹配结果确定与所述界面元素相关联的应用程 序后, 所述发送器 820将所述与界面元素相关联的应用程序信息发送至电子 设备。
在本发明实施例的一种实现方式中,所述接收器接收电子设备发送的界 面元素具体为, 所述接收器接收电子设备发送的界面元素和所述界面元素的 上下文信息。 所述处理器根据所述界面元素和所述界面元素的上下文信息获 在所述接收器接收的界面元素为文字信息时, 所述处理器可获取所述文 字信息的多个语义特征值。 在所述文字信息的多个语义特征值中, 可能 有部分语义特征值不符合所述文字信息的上下文语境。 所述接收器接收 所述电子设备发送的所述文字信息的上下文信息, 所述处理器根据所述 文字信息的上下文信息获取符合所述上下文语境的所述文字信息的至少 一个语义特征值。
在本发明实施例的一种实现方式中,所述接收器在接收所述电子设备发 送的界面元素后, 所述处理器可通过查找数据库获取所述界面元素的至少一 个语义特征值。
在本发明实施例的一种实现方式中,所述接收器在接收所述电子设备发 送的界面元素后, 所述处理器可通过查找数据库获取所述界面元素的至少一 个语义特征值。 所述处理器在没有查找到所述界面元素的语义特征值时, 所 述发送器向所述电子设备发送第一请求; 所述第一请求用于请求所述电子设 备提示用户输入所述界面元素的语义特征值。 所述电子设备接收所述服务器 的发送器发送的第一请求后, 提示用户输入所述界面元素的语义特征值。 在 所述电子设备接收用户输入的所述界面元素的语义特征值之后, 所述服务器 的接收器接收所述电子设备根据所述第一请求, 以及所述用户输入的语义特 征值发送的所述界面元素的至少一个语义特征值。所述处理器获取所述界面 元素的至少一个语义特征值。
进一步地, 在本发明实施例中, 所述接收器在接收所述电子设备根据所 述第一请求, 以及所述用户输入的语义特征值发送的所述界面元素的至少一 个语义特征值, 所述处理器获取所述界面元素的至少一个语义特征值后, 所 述处理器可以根据所述用户输入的语义特征值在数据库中查找与所述用户 输入的语义特征值相关联的至少一个语义特征值。在查找到与所述用户输入 的语义特征值相关联的至少一个语义特征值之后, 所述处理器对比所述相关 联的至少一个语义特征值和所述界面元素是否匹配。 所述匹配标准可依据所 述相关联的语义特征值与所述界面元素是否具有相关性, 涵义是否相同, 以 及是否符合所述界面元素的语境等。在所述处理器确认所述相关联的语义特 征值与所述界面元素匹配时, 所述处理器获取电子设备发送的所述用户输入 的至少一个语义特征值和该服务器查找的与所述用户输入的语义特征值相 关联的至少一个语义特征值。
在本发明实施例的一种实现方式中,所述处理器获取应用程序的语义特 征值具体可以是所述处理器查询一应用商店中所有应用程序的语义特征值。 例如, 所述处理器可查询华为智汇云应用市场中所有应用程序的语义特征 值。 在所述处理器获取应用商店中所有应用程序的语义特征值之后, 所述处 理器将所述界面元素的至少一个语义特征值与所述应用商店中所有应用程 序的语义特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所述 界面元素相关联的应用程序。 所述与所述界面元素相关联的应用程序, 可以 是所述电子设备已经安装的应用程序,也可以是所述电子设备尚未安装的应 用程序。
在本发明实施例的一种实现方式中,所述处理器获取应用程序的语义特 征值具体可以是在所述接收器接收所述电子设备发送的该电子设备已安装 应用程序的语义特征值后, 所述处理器获取所述电子设备发送的应用程序的 语义特征值。 所述电子设备扫描该电子设备已安装的应用程序, 获取所述已 安装应用程序的语义特征值, 并将所述已安装应用程序的语义特征值发送至 服务器。 所述处理器获取所述电子设备已安装应用程序的语义特征值后, 将 所述界面元素的至少一个语义特征值与所述已安装应用程序的语义特征值
装的应用程序。
在本发明实施例的一种实现方式中,所述处理器获取应用程序的语义特 征值具体可以是在所述接收器接收所述电子设备发送的该电子设备已安装 应用程序的语义特征值后, 所述处理器获取所述电子设备发送的应用程序的 语义特征值。 所述电子设备扫描该电子设备已安装的应用程序, 获取所述已 安装应用程序的语义特征值, 并将所述已安装应用程序的语义特征值发送至 服务器。 所述处理器获取所述电子设备已安装应用程序的语义特征值后, 将 所述界面元素的至少一个语义特征值与所述已安装应用程序的语义特征值 进行匹配。在所述处理器确定所述电子设备已安装应用程序的语义特征值与 所述界面元素的至少一个语义特征值不匹配时, 所述处理器查找与所述界面 元素的至少一个语义特征值相匹配的应用程序的语义特征值。 所述处理器可 以在一应用商店中查询所有应用程序的语义特征值,也可以在一技术论坛查 询所述电子设备尚未安装的应用程序的语义特征值。在所述处理器查找到与 所述界面元素的至少一个语义特征值相匹配的应用程序的语义特征值后,将 所述界面元素的至少一个语义特征值与所述应用程序的语义特征值进行匹
用程序。
综上所述, 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照上述实施例对本发明进行了详细的说明,本领域的普通技术人员应 当理解: 其依然可以对上述各实施例所记载的技术方案进行修改, 或者对其 中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案 的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权利要求
1、 一种确定与界面元素相关联的应用程序的方法, 其特征在于, 所述 方法包括:
电子设备确定第一界面的界面元素; 相关联的应用程序为将所述界面元素的语义特征值与目标应用程序的语义 特征值进行匹配, 根据匹配结果确定的与所述界面元素相关联的应用程序; 所述界面元素的语义特征值用于指示所述界面元素的语义特点; 所述目标应 用程序的语义特征值用于指示所述目标应用程序的语义特点;
所述电子设备展示与所述界面元素相关联的应用程序的标识。
2、 根据权利要求 1 所述的方法, 其特征在于, 所述电子设备确定与所 述界面元素相关联的应用程序具体为:
所述电子设备获取所述界面元素的至少一个语义特征值;
所述电子设备获取所述目标应用程序的语义特征值;
所述电子设备将所述界面元素的至少一个语义特征值与所述目标应用 程序的语义特征值进行匹配,确定匹配的语义特征值对应的应用程序为与所 述界面元素相关联的应用程序。
3、 根据权利要求 2所述的方法, 其特征在于, 所述电子设备确定第一 界面的界面元素, 获取所述界面元素的至少一个语义特征值具体为:
所述电子设备确定第一界面的界面元素和所述界面元素的上下文信息,
4、 根据权利要求 2或 3所述的方法, 其特征在于, 电子设备确定第一 界面的界面元素之后, 获取所述界面元素的至少一个语义特征值之前, 还包 括:
所述电子设备向服务器发送第一请求; 所述第一请求用于请求服务器查 找所述界面元素的语义特征值;
所述获取所述界面元素的至少一个语义特征值具体为:
所述电子设备接收所述服务器根据所述第一请求发送的所述界面元素 的至少一个语义特征值。
5、 根据权利要求 4所述的方法, 其特征在于, 所述电子设备接收所述 服务器根据所述第一请求发送的所述界面元素的至少一个语义特征值之前, 所述方法还包括:
所述电子设备接收所述服务器在没有查找到所述界面元素的语义特征 值时发送的第二请求;
所述电子设备根据所述第二请求提示用户输入所述界面元素的语义特 征值;
所述电子设备接收所述服务器根据所述第一请求发送的所述界面元素 的至少一个语义特征值具体为:
所述电子设备接收所述服务器根据所述第一请求, 以及所述用户输入的 语义特征值发送的, 与所述用户输入的语义特征值相关联的至少一个语义特 征值。
6、 根据权利要求 2或 3所述的方法, 其特征在于, 所述获取所述界面 元素的至少一个语义特征值具体为:
所述电子设备通过查找该电子设备的本地数据库获取所述界面元素的 至少一个语义特征值。
7、 根据权利要求 6所述的方法, 其特征在于, 所述电子设备通过查找 该电子设备的数据库获取所述界面元素的至少一个语义特征值包括:
在所述电子设备没有查找到相应语义特征值时,所述电子设备提示用户 输入所述界面元素的语义特征值;
所述电子设备获取与所述用户输入的语义特征值相关联的语义特征值, 获取与所述用户输入的语义特征值相关联的所述界面元素的至少一个语义 特征值。
8、 根据权利要求 6所述的方法, 其特征在于, 所述方法还包括: 在所述电子设备在该电子设备的本地数据库中没有查找到相应语义特 征值时, 所述电子设备向服务器发送第一请求; 所述第一请求用于请求服务 器查找所述界面元素的语义特征值;
所述电子设备接收所述服务器根据所述第一请求发送的所述界面元素 的至少一个语义特征值。
9、 根据权利要求 2-8任一所述的方法, 其特征在于, 所述目标应用程 序为所述电子设备已安装的应用程序;
所述获取所述目标应用程序的语义特征值具体为: 所述电子设备扫描已 安装的应用程序, 获取所述已安装的应用程序的信息, 向服务器发送包含所 述已安装的应用程序的信息的第三请求; 所述第三请求用于查询所述已安装 应用程序的语义特征值;
所述电子设备接收所述服务器根据所述第三请求发送的所述已安装应 用程序的语义特征值;
所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述已安装应用程序的语义 特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所述界面元素 相关联的应用程序。
10、 根据权利要求 2-8任一所述的方法, 其特征在于, 所述目标应用程 序为所述电子设备已安装的应用程序;
所述获取所述目标应用程序的语义特征值具体为:
所述电子设备扫描已安装的应用程序,获取所述已安装的应用程序的信 息; 所述已安装的应用程序的信息包含所述应用程序的语义特征值;
所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述已安装应用程序的语义 特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所述界面元素 相关联的应用程序。
11、 根据权利要求 2-8任一所述的方法, 其特征在于, 所述目标应用程 序为所述电子设备已安装的应用程序;
所述获取所述目标应用程序的语义特征值具体为:
所述电子设备扫描已安装的应用程序, 获取所述已安装应用程序的信 息; 所述已安装的应用程序的信息包含所述已安装应用程序的语义特征值; 所述电子设备将所述界面元素的至少一个语义特征值与所述目标应用 程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应 用程序具体为:
将所述界面元素的至少一个语义特征值与所述已安装的应用程序的语 义特征值进行匹配, 在具有匹配的语义特征值的情况下, 确定匹配的语义特 所述方法还包括:
在所述已安装应用程序的语义特征值与所述界面元素的至少一个语义 特征值不匹配时, 所述电子设备将所述界面元素的至少一个语义特征值发送 至服务器;
接收所述服务器发送的匹配的所述电子设备尚未安装的第一应用程序 信息, 确定所述界面元素相关联的应用程序为所述第一应用程序; 所述第一 应用程序为所述服务器查找到的, 与所述界面元素语义特征值相匹配的语义 特征值对应的应用程序。
12、 根据权利要求 2-8任一所述的方法, 其特征在于, 所述目标应用程 序为一应用商店中的所有应用程序;
所述获取目标应用程序的语义特征值具体为:
所述电子设备向服务器发送第四请求; 所述第四请求用于查询所述应用 商店中所有应用程序的语义特征值;
所述电子设备接收所述服务器根据所述第四请求发送的所述应用商店 中所有应用程序的语义特征值;
所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述应用商店中所有应用程 序的语义特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所述 界面元素相关联的应用程序。
13、 根据权利要求 2-12任一所述的方法, 其特征在于, 所述电子设备 确定第一界面的界面元素之后, 获取所述界面元素的至少一个语义特征值之 前, 还包括:
在第一界面显示关联选项;
接收用户选择所述关联选项时输入的第一指令;
所述获取所述界面元素的语义特征值具体为:
根据所述第一指令获取所述界面元素的至少一个语义特征值。
14、 根据权利要求 2-12任一所述的方法, 其特征在于, 在所述电子设 备获取所述界面元素的至少一个语义特征值之后,将所述界面元素的至少一 个语义特征值与所述应用程序的语义特征值进行匹配之前, 还包括:
在所述第一界面显示关联选项;
接收用户选择所述关联选项时输入的第二指令;
将所述界面元素的至少一个语义特征值与所述应用程序的语义特征值 根据所述第二指令将所述界面元素的至少一个语义特征值与所述应用 程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应 用程序。
15、 根据权利要求 1所述的方法, 其特征在于, 所述电子设备确定与所 述界面元素相关联的应用程序具体为:
所述电子设备将所述界面元素发送至服务器; 所述界面元素用于供所述 服务器查找所述界面元素的语义特征值, 并将所述界面元素的语义特征值与 所述目标应用程序的语义特征值进行匹配,确定匹配的语义特征值对应的应 用程序为与所述界面元素相关联的应用程序;
所述电子设备接收所述服务器发送的与所述界面元素相关联的应用程 序的信息。
16、 根据权利要求 15所述的方法, 其特征在于, 所述电子设备将所述 界面元素发送至服务器具体为:
所述电子设备将所述界面元素和所述界面元素的上下文信息发送至服 务器; 所述界面元素和所述界面元素的上下文信息用于供所述服务器根据所 述上下文信息查找所述界面元素的语义特征值。
17、 根据权利要求 15或 16所述的方法, 其特征在于, 所述电子设备接 收所述服务器发送的与所述界面元素相关联的应用程序的信息之前, 所述方 法还包括:
所述电子设备接收所述服务器在没有查找到所述界面元素的语义特征 值时发送的第二请求;
所述电子设备根据所述第二请求提示用户输入所述界面元素的语义特 征值;
所述电子设备将所述用户输入的所述界面元素的语义特征值发送至所 述服务器; 所述用户输入的语义特征值用于供所述服务器根据所述用户输入 的语义特征值查找所述界面元素的语义特征值。
18、 根据权利要求 15-17任一所述的方法, 其特征在于, 所述目标应用 程序为所述电子设备已安装的应用程序; 在所述电子设备接收所述服务器发 送的与所述界面元素相关联的应用程序信息之前, 所述方法还包括:
所述电子设备扫描已安装的应用程序,获取所述已安装的应用程序的信 息, 并将所述已安装的应用程序的信息发送至所述服务器。
19、 根据权利要求 15-17任一所述的方法, 其特征在于, 所述目标应用 程序为所述电子设备已安装的应用程序; 在所述电子设备接收所述服务器发 送的与所述界面元素相关联的应用程序的信息之前, 所述方法还包括: 所述电子设备扫描已安装的应用程序,获取所述已安装的应用程序的信 息, 并将所述已安装的应用程序的信息发送至所述服务器; 所述已安装的应 用程序的信息包含所述已安装的应用程序的语义特征值。
20、 根据权利要求 1-12, 15-19任一所述的方法, 其特征在于, 所述电 相关联的应用程序的标识之前, 还包括:
在所述第一界面中显示关联选项;
接收用户选择所述关联选项时输入的第三指令;
所述电子设备展示与所述界面元素相关联的应用程序的标识具体为: 所述电子设备根据所述第三指令展示与所述界面元素相关联的应用程 序的标识。
21、 根据权利要求 1-20任一所述的方法, 其特征在于, 所述电子设备 确定第一界面的界面元素具体为:
所述电子设备根据用户输入的第四指令选择所述界面元素。
22、 根据权利要求 1-21 任一所述的方法, 其特征在于, 在所述电子设 备展示与所述界面元素相关联的应用程序的标识后, 所述方法还包括: 所述电子设备根据用户指令启动与所述界面元素相关联的应用程序中 的至少一个。
23、 根据权利要求 22所述的方法, 其特征在于, 所述电子设备展示的 所述电子设备根据用户指令启动与所述界面元素相关联的应用程序中的至 少一个具体为: 在所述用户指令指向的对象为所述电子设备尚未安装的应用程序时,所 述电子设备提示用户安装所述应用程序。
24、 根据权利要求 22所述的方法, 其特征在于, 所述电子设备展示的 所述电子设备根据用户指令启动与所述界面元素相关联的应用程序中的至 少一个具体为:
在所述用户指令指向的对象为所述电子设备尚未安装的网页应用程序 时, 所述电子设备运行浏览器以网页形式启动所述应用程序; 或提示用户运 行浏览器以启动所述应用程序。
25、 根据权利要求 22-24任一所述的方法, 其特征在于, 所述根据所述 所述电子设备根据所述用户指令启动与所述界面元素相关联的应用程 序中的至少一个, 并复制所述界面元素。
26、 根据权利要求 22或 24所述的方法, 其特征在于, 根据所述用户指 所述电子设备根据所述用户指令将所述界面元素作为所述相关联的应 用程序的输入参数, 启动所述相关联的应用程序中的至少一个。
27、 根据权利要求 22-26任一所述的方法, 其特征在于, 在所述电子设 备获取用户输入的指令; 根据所述指令启动与所述界面元素相关联的应用程 序中的至少一个后, 所述方法还包括: 备呈现所述第一界面。
28、 一种确定与界面元素相关联的应用程序的方法, 其特征在于, 所述 方法包括:
服务器接收电子设备发送的界面元素,获取所述界面元素的至少一个语 义特征值; 所述语义特征值用于指示所述界面元素的语义特点;
获取目标应用程序的语义特征值; 所述目标应用程序的语义特征值用于 指示所述目标应用程序的语义特点;
将所述界面元素的至少一个语义特征值与所述目标应用程序的语义特 征值进行匹配, 根据匹配结果确定与所述界面元素相关联的应用程序; 服务器将所述与界面元素相关联的应用程序信息发送至电子设备。
29、 根据权利要求 28所述的方法, 其特征在于, 服务器接收电子设备 发送的界面元素, 获取所述界面元素的至少一个语义特征值具体为:
所述服务器接收电子设备发送的界面元素和所述界面元素的上下文信
30、 根据权利要求 28或 29所述的方法, 其特征在于, 所述获取所述界 面元素的至少一个语义特征值具体为:
所述服务器在没有查找到所述界面元素的语义特征值时向电子设备发 送第一请求; 所述第一请求用于请求电子设备提示用户输入所述界面元素的 语义特征值;
所述服务器接收所述电子设备根据所述第一请求, 以及所述用户输入的 语义特征值发送的所述界面元素的至少一个语义特征值。
31、 根据权利要求 28-30任一所述的方法, 其特征在于, 所述目标应用 程序为一应用商店中的所有应用程序; 所述获取目标应用程序的语义特征值 具体为:
所述服务器查询所述应用商店中所有应用程序的语义特征值; 所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述应用商店中所有应用程 序的语义特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所述 界面元素相关联的应用程序。
32、 根据权利要求 28-30任一所述的方法, 其特征在于, 所述目标应用 程序为所述电子设备已安装的应用程序; 所述获取目标应用程序的语义特征 值具体为:
所述服务器接收所述电子设备发送的该电子设备已安装应用程序的语 义特征值;
所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述已安装应用程序的语义 特征值进行匹配; 确定匹配的语义特征值对应的应用程序为与所述界面元素 相关联的应用程序。
33、 根据权利要求 28-30任一所述的方法, 其特征在于, 所述获取应用 程序的语义特征值具体为:
所述服务器接收所述电子设备发送的该电子设备已安装应用程序的语 义特征值;
所述将所述界面元素的至少一个语义特征值与所述目标应用程序的语 义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序具 体为:
将所述界面元素的至少一个语义特征值与所述已安装的应用程序的语 义特征值进行匹配, 在具有匹配的语义特征值的情况下, 确定匹配的语义特 所述方法还包括:
在所述电子设备已安装应用程序的语义特征值与所述界面元素的至少 一个语义特征值不匹配时, 所述服务器确定与所述界面元素相关联的应用程 序为第二应用程序; 所述第二应用程序为所述服务器查找到的, 与所述界面 元素的语义特征值对应的应用程序。
34、 一种电子设备, 其特征在于, 所述电子设备包括:
处理器, 用于确定第一界面的界面元素; 确定与所述界面元素相关联的 值与目标应用程序的语义特征值进行匹配,根据匹配结果确定的与所述界面 元素相关联的应用程序; 所述界面元素的语义特征值用于指示所述界面元素 的语义特点; 所述目标应用程序的语义特征值用于指示所述目标应用程序的 语义特点;
35、 根据权利要求 34所述的电子设备, 其特征在于,
所述处理器还用于, 获取所述界面元素的至少一个语义特征值; 获取目 标应用程序的语义特征值; 将所述界面元素的至少一个语义特征值与所述目 标应用程序的语义特征值进行匹配,确定匹配的语义特征值对应的应用程序 为与所述界面元素相关联的应用程序。
36、 根据权利要求 35所述的电子设备, 其特征在于,
所述处理器获取所述界面元素的至少一个语义特征值具体为,确定第一 界面的界面元素和所述界面元素的上下文信息; 获取符合所述界面元素上下 文的所述界面元素的至少一个语义特征值。
37、 根据权利要求 35或 36所述的电子设备, 其特征在于, 所述电子设 备还包括:
发送器, 用于在所述处理器确定第一界面的界面元素后, 获取所述界面 元素的至少一个语义特征值前, 向服务器发送第一请求; 所述第一请求用于 请求服务器查找所述界面元素的语义特征值;
接收器,用于接收所述服务器根据所述第一请求发送的所述界面元素的 至少一个语义特征值。
38、 根据权利要求 37所述的电子设备, 其特征在于,
所述接收器还用于,在所述接收器接收所述服务器根据所述第一请求发 送的所述界面元素的至少一个语义特征值之前,接收所述服务器在没有查找 到所述界面元素的语义特征值时发送的第二请求;
所述输出设备还用于 ,根据所述第二请求提示用户输入所述界面元素的 语义特征值;
所述电子设备还包括:
输入设备,用于在所述输出设备根据所述第二请求提示用户输入所述界 面元素的语义特征值后, 接收用户输入的语义特征值;
所述发送器还用于, 向服务器发送所述用户输入的语义特征值; 所述接收器还用于,接收所述服务器根据所述第一请求以及所述用户输 入的语义特征值发送的, 与所述用户输入的语义特征值相关联的至少一个语 义特征值。
39、 根据权利要求 35或 36所述的电子设备, 其特征在于,
所述处理器获取所述界面元素的至少一个语义特征值具体为 ,所述处理 器查找该电子设备的本地数据库以获取所述界面元素的至少一个语义特征 值。
40、 根据权利要求 39所述的电子设备, 其特征在于,
所述输出设备还用于,在所述处理器没有在该电子设备的本地数据库中 获取到所述界面元素的至少一个语义特征值时,提示用户输入所述界面元素 的语义特征值;
所述电子设备还包括: 输入设备,用于在所述输出设备提示用户输入所述界面元素的语义特征 值后, 接收用户输入的语义特征值;
所述处理器具体用于, 确定第一界面的界面元素, 获取与所述用户输入 的语义特征值相关联的语义特征值,通过查找该电子设备的本地数据库获取 与所述用户输入的语义特征值相关联的所述界面元素的至少一个语义特征 值。
41、 根据权利要求 39所述的电子设备, 其特征在于, 所述电子设备还 包括:
发送器,用于在在所述处理器没有在该电子设备的本地数据库中获取到 所述界面元素的至少一个语义特征值时, 向服务器发送第一请求; 所述第一 请求用于请求服务器查找所述界面元素的语义特征值;
接收器,用于接收所述服务器根据所述第一请求发送的所述界面元素的 至少一个语义特征值。
42、 根据权利要求 35或 36或 39或 40所述的电子设备, 其特征在于, 所述处理器获取所述目标应用程序的语义特征值具体为, 所述处理器扫 描已安装的应用程序, 获取所述已安装的应用程序的信息;
所述电子设备还包括:
发送器, 用于在所述处理器获取所述已安装的应用程序的信息后, 向服 务器发送第三请求; 所述第三请求用于查询所述已安装应用程序的语义特征 值;
接收器,用于接收所述服务器根据所述第三请求发送的所述已安装应用 程序的语义特征值;
所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为具体为, 所述处理器将所述界面元素的至少一个语义特征值与所 述已安装应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应的应 用程序为与所述界面元素相关联的应用程序。
43、 根据权利要求 37或 38或 41所述的电子设备, 其特征在于, 所述 目标应用程序为所述电子设备已安装的应用程序;
所述处理器获取所述目标应用程序的语义特征值具体为, 所述处理器扫 描已安装的应用程序, 获取所述已安装的应用程序的信息;
所述发送器还用于, 在所述处理器获取所述已安装的应用程序的信息 后, 向服务器发送第三请求; 所述第三请求用于查询所述已安装应用程序的 语义特征值;
所述接收器还用于,接收所述服务器根据所述第三请求发送的所述已安 装应用程序的语义特征值;
所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为具体为, 所述处理器将所述界面元素的至少一个语义特征值与所 述已安装应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应的应 用程序为与所述界面元素相关联的应用程序。
44、 根据权利要求 35-43任一所述的电子设备, 其特征在于, 所述目标 应用程序为所述电子设备已安装的应用程序;
所述处理器获取所述目标应用程序的语义特征值具体为, 所述处理器扫 描已安装的应用程序, 获取所述已安装的应用程序的信息; 所述已安装的应 用程序的信息包含所述应用程序的语义特征值;
所述处理器所述将所述界面元素的至少一个语义特征值与所述目标应 用程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的 应用程序具体为具体为, 所述处理器将界面元素的至少一个所述语义特征值 与所述已安装应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应 的应用程序为与所述界面元素相关联的应用程序。
45、 根据权利要求 35或 36或 39或 40所述的电子设备, 其特征在于, 所述处理器获取所述目标应用程序的语义特征值具体为, 所述处理器扫 描已安装的应用程序, 获取所述已安装应用程序的信息; 所述已安装应用程 序的信息包含所述应用程序的语义特征值;
所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为: 所述处理器将所述界面元素的至少一个语义特征值与所述已安 装的应用程序的语义特征值进行匹配, 在具有匹配的语义特征值的情况下, 序;
所述电子设备还包括:
发送器,用于在所述处理器判断所述已安装应用程序的语义特征值与所 述界面元素的语义特征值不匹配时,将所述界面元素的语义特征值发送至服 务器;
接收器,用于接收所述服务器发送的匹配的所述电子设备尚未安装的第 一应用程序信息, 确定所述界面元素相关联的应用程序为所述第一应用程 序; 所述第一应用程序为所述服务器查找到的, 与所述界面元素语义特征值 相匹配的语义特征值对应的应用程序。
46、 根据权利要求 37或 38或 41所述的电子设备, 其特征在于, 所述 目标应用程序为所述电子设备已安装的应用程序;
所述处理器获取所述目标应用程序的语义特征值具体为, 所述处理器扫 描已安装的应用程序, 获取所述已安装应用程序的信息; 所述已安装应用程 序的信息包含所述应用程序的语义特征值;
所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为: 所述处理器将所述界面元素的至少一个语义特征值与所述已安 装的应用程序的语义特征值进行匹配, 在具有匹配的语义特征值的情况下, 序;
所述发送器还用于,在所述处理器判断所述已安装应用程序的语义特征 值与所述界面元素的语义特征值不匹配时,将所述界面元素的语义特征值发 送至服务器;
所述接收器还用于,接收所述服务器发送的匹配的所述电子设备尚未安 装的第一应用程序信息,确定所述界面元素相关联的应用程序为所述第一应 用程序; 所述第一应用程序为所述服务器查找到的, 与所述界面元素语义特 征值相匹配的语义特征值对应的应用程序。
47、 根据权利要求 35或 36或 39或 40所述的电子设备, 其特征在于, 所述目标应用程序为一应用商店中的所有应用程序; 所述电子设备还包括: 发送器, 用于向服务器发送第四请求; 所述第四请求用于查询所述应用 商店中所有应用程序的语义特征值; 接收器,用于接收所述服务器根据所述发送器发送的第四请求发送的所 述应用商店中所有应用程序的语义特征值;
所述处理器获取目标应用程序的语义特征值具体为,所述处理器获取所 述接收器接收的所述应用商店中所有应用程序的语义特征值;
所述处理器所述将所述界面元素的至少一个语义特征值与所述目标应 用程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的 应用程序具体为, 所述处理器将所述界面元素的至少一个语义特征值与所述 应用商店中所有应用程序的语义特征值进行匹配; 确定匹配的语义特征值对
48、 根据权利要求 37或 38或 41所述的电子设备, 其特征在于, 所述 目标应用程序为一应用商店中的所有应用程序;
所述发送器还用于, 向服务器发送第四请求; 所述第四请求用于查询所 述应用商店中所有应用程序的语义特征值;
所述接收器还用于,接收所述服务器根据所述发送器发送的第四请求发 送的所述应用商店中所有应用程序的语义特征值;
所述处理器获取目标应用程序的语义特征值具体为,所述处理器获取所 述接收器接收的所述应用商店中所有应用程序的语义特征值;
所述处理器所述将所述界面元素的至少一个语义特征值与所述目标应 用程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的 应用程序具体为, 所述接收器将所述界面元素的至少一个语义特征值与所述 应用商店中所有应用程序的语义特征值进行匹配; 确定匹配的语义特征值对
49、 根据权利要求 35或 36或 37或 39所述的电子设备, 其特征在于, 所述输出设备还用于, 在所述处理器确定第一界面的界面元素后, 获取 所述界面元素的至少一个语义特征值前, 在第一界面显示关联选项;
所述电子设备还包括:
输入设备, 用于所述输出设备在第一界面显示关联选项后, 接收用户选 择所述关联选项时输入的第一指令;
所述处理器获取所述界面元素的至少一个语义特征值具体为 ,所述处理 器根据所述第一指令, 获取所述界面元素的至少一个语义特征值。
50、 根据权利要求 35或 36或 37或 39所述的电子设备, 其特征在于, 所述输出设备还用于,在所述处理器获取所述界面元素的至少一个语义特征 值之后, 匹配所述界面元素的语义特征值与该电子设备获取的应用程序的语 义特征值之前, 在所述第一界面显示关联选项;
所述电子设备还包括:
输入设备, 用于接收用户选择所述关联选项时输入的第二指令; 所述处理器将所述界面元素的至少一个语义特征值与所述应用程序的 语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用程序 具体为, 所述处理器根据所述第二指令, 将所述界面元素的至少一个语义特 征值与所述应用程序的语义特征值进行匹配,根据匹配结果确定与所述界面 元素相关联的应用程序。
51、 根据权利要求 34所述的电子设备, 其特征在于, 所述电子设备还 包括:
发送器, 用于在所述处理器确定第一界面的界面元素后, 将所述界面元 素发送至服务器; 所述界面元素用于供所述服务器查找所述界面元素的语义 特征值, 并将所述界面元素的语义特征值与所述目标应用程序的语义特征值 的应用程序;
接收器,用于接收所述服务器发送的与所述界面元素相关联的应用程序 的信息。
52、 根据权利要求 51所述的电子设备, 其特征在于,
所述处理器还用于, 确定第一界面的界面元素的上下文信息; 所述发送器将所述界面元素发送至服务器具体为 , 所述服务器将所述界 面元素和所述界面元素的上下文信息发送至服务器; 所述界面元素和所述界 面元素的上下文信息用于供所述服务器根据所述上下文信息查找所述界面 元素的语义特征值。
53、 根据权利要求 51或 52所述的电子设备, 其特征在于,
所述接收器还用于,在接收所述服务器发送的与所述界面元素相关联的 应用程序的信息之前,接收所述服务器在没有查找到所述界面元素的语义特 征值时发送的第二请求;
所述电子设备还包括:
输出设备,用于根据所述第二请求提示用户输入所述界面元素的语义特 征值;
输入设备, 用于接收用户输入的所述界面元素的语义特征值; 所述发送器还用于,将所述用户输入的所述界面元素的语义特征值发送 至所述服务器; 所述用户输入的语义特征值用于供所述服务器根据所述用户 输入的语义特征值查找所述界面元素的语义特征值。
54、 根据权利要求 51-53任一所述的电子设备, 其特征在于, 所述电子 设备还包括:
处理器, 用于扫描该电子设备已安装的应用程序, 获取所述已安装的应 用程序的信息;
所述发送器还用于, 将所述已安装的应用程序的信息发送至所述服务 器。
55、 根据权利要求 51-53任一所述的电子设备, 其特征在于, 所述电子 设备还包括:
处理器, 用于扫描已安装的应用程序, 获取所述已安装的应用程序的信 息; 所述已安装的应用程序的信息包含所述已安装的应用程序的语义特征 值;
所述发送器还用于, 将所述已安装的应用程序的信息发送至所述服务 哭口 。
56、 根据权利要求 35或 36或 37或 39或 51或 52所述的电子设备, 其 特征在于,
所述输出设备还用于,在所述处理器确定与所述界面元素相关联的应用 程序之后,在所述输出设备展示与所述界面元素相关联的应用程序的标识之 前, 在所述第一界面中显示关联选项;
所述电子设备还包括:
输入设备, 用于接收用户选择所述关联选项时输入的第三指令; 所述输出设备具体用于, 根据所述第三指令, 展示与所述界面元素相关 联的应用程序的标识。
57、 根据权利要求 35或 36或 37或 39或 51或 52所述的电子设备, 其 特征在于, 所述电子设备还包括:
输入设备, 用于在所述处理器确定第一界面的界面元素前, 接收用户输 入的第四指令; 所述处理器确定第一界面的界面元素具体为,所述处理器根据用户输入 的第四指令确定所述界面元素。
58、 根据权利要求 35或 36或 37或 39或 51或 52所述的电子设备, 其 特征在于, 所述电子设备还包括:
输入设备,用于所述输出设备在当前应用界面展示与所述界面元素相关 联的应用程序的标识后, 接收用户输入的第五指令;
所述处理器还用于,根据所述第五指令启动与所述界面元素相关联的应 用程序中的至少一个。
59、 根据权利要求 58所述的电子设备, 其特征在于,
所述输出设备还用于,在展示的与所述界面元素相关联的应用程序包括 所述电子设备尚未安装的应用程序,且所述处理器确定所述第五指令指向的 对象为所述电子设备尚未安装的应用程序时, 提示用户安装所述应用程序。
60、 根据权利要求 58所述的电子设备, 其特征在于,
所述输出设备还用于,在展示的与所述界面元素相关联的应用程序包括 所述电子设备尚未安装的应用程序,且所述处理器确定所述第五指令指向的 对象为所述电子设备尚未安装的网页应用程序时,提示用户运行浏览器以启 动所述应用程序; 或者,
所述处理器还用于,在展示的与所述界面元素相关联的应用程序包括所 述电子设备尚未安装的应用程序,且所述定所述第五指令指向的对象为所述 电子设备尚未安装的网页应用程序时,运行浏览器以网页形式启动所述应用 程序。
61、 根据权利要求 58-60任一所述的电子设备, 其特征在于,
所述处理器还用于,根据所述第五指令启动与所述界面元素相关联的应 用程序中的至少一个, 并复制所述界面元素。
62、 根据权利要求 58或 60所述的电子设备, 其特征在于,
所述处理器具体用于,根据所述第五指令将所述界面元素作为所述相关 联的应用程序的输入参数, 启动所述相关联的应用程序中的至少一个。
63、 根据权利要求 58-62任一所述的电子设备, 其特征在于,
所述输出设备还用于,在所述处理器退出所述与界面元素相关联的应用 程序后, 呈现所述第一界面。
64、 一种服务器, 其特征在于, 所述服务器包括: 接收器, 用于接收电子设备发送的界面元素;
处理器, 用于获取所述界面元素的至少一个语义特征值; 获取目标应用 程序的语义特征值; 将所述界面元素的至少一个语义特征值与所述目标应用 程序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应 用程序; 所述语义特征值用于指示所述界面元素的语义特点; 所述目标应用 程序的语义特征值用于指示所述目标应用程序的语义特点;
发送器, 用于将所述与界面元素相关联的应用程序信息发送至电子设 备。
65、 根据权利要求 64所述的服务器, 其特征在于,
所述接收器接收电子设备发送的界面元素具体为,接收电子设备发送的 界面元素和所述界面元素的上下文信息;
所述处理器获取所述界面元素的至少一个语义特征值具体为,获取符合 所述界面元素上下文的所述界面元素的至少一个语义特征值。
66、 根据权利要求 64或 65所述的服务器, 其特征在于,
所述发送器还用于,在没有查找到所述界面元素的语义特征值时向电子 设备发送第一请求; 所述第一请求用于请求电子设备提示用户输入所述界面 元素的语义特征值;
所述接收器还用于, 接收所述电子设备根据所述第一请求, 以及所述用 户输入的语义特征值发送的所述界面元素的至少一个语义特征值。
所述处理器获取所述界面元素的至少一个语义特征值具体为,获取所述 接收器接收的所述电子设备发送的所述界面元素的至少一个语义特征值。
67、 根据权利要求 64-66任一所述的服务器, 其特征在于,
所述处理器获取目标应用程序的语义特征值具体为,所述处理器查询一 应用商店中所有应用程序的语义特征值;
所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为: 所述处理器将所述界面元素的至少一个语义特征值与所述应用 商店中所有应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应的 应用程序为与所述界面元素相关联的应用程序。
68、 根据权利要求 64-66任一所述的服务器, 其特征在于,
所述接收器还用于,接收所述电子设备发送的该电子设备已安装应用程 序的语义特征值;
所述处理器获取目标应用程序的语义特征值具体为,所述处理器获取所 述接收器接收的电子设备发送的该电子设备已安装应用程序的语义特征值; 所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为: 所述处理器将所述界面元素的至少一个语义特征值与所述已安 装应用程序的语义特征值进行匹配; 确定匹配的语义特征值对应的应用程序 为与所述界面元素相关联的应用程序。
69、 根据权利要求 64-66任一所述的服务器, 其特征在于,
所述接收器还用于,接收所述电子设备发送的该电子设备已安装应用程 序的语义特征值;
所述处理器获取目标应用程序的语义特征值具体为,所述处理器获取所 述接收器接收的, 所述电子设备发送的该电子设备已安装应用程序的语义特 征值;
所述处理器将所述界面元素的至少一个语义特征值与所述目标应用程 序的语义特征值进行匹配,根据匹配结果确定与所述界面元素相关联的应用 程序具体为: 所述处理器将所述界面元素的至少一个语义特征值与所述已安 装应用程序的语义特征值进行匹配, 在具有匹配的语义特征值的情况下, 确 所述处理器还用于,在所述获取的已安装应用程序的语义特征值与所述 界面元素的至少一个语义特征值不匹配时, 所述处理器确定与所述界面元素 相关联的应用程序为第二应用程序; 所述第二应用程序为查找到的, 与所述 界面元素的语义特征值对应的应用程序。
PCT/CN2013/089034 2013-12-04 2013-12-11 一种确定与界面元素相关联的应用程序的方法及电子设备、服务器 WO2015081580A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201380074285.7A CN105009081B (zh) 2013-12-04 2013-12-11 一种与界面元素关联应用程序的方法及电子设备、服务器

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNPCT/CN2013/088507 2013-12-04
PCT/CN2013/088507 WO2015081512A1 (zh) 2013-12-04 2013-12-04 一种调用app的方法及电子设备

Publications (1)

Publication Number Publication Date
WO2015081580A1 true WO2015081580A1 (zh) 2015-06-11

Family

ID=53272741

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2013/088507 WO2015081512A1 (zh) 2013-12-04 2013-12-04 一种调用app的方法及电子设备
PCT/CN2013/089034 WO2015081580A1 (zh) 2013-12-04 2013-12-11 一种确定与界面元素相关联的应用程序的方法及电子设备、服务器

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/088507 WO2015081512A1 (zh) 2013-12-04 2013-12-04 一种调用app的方法及电子设备

Country Status (1)

Country Link
WO (2) WO2015081512A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708797A (zh) * 2015-07-15 2017-05-24 中兴通讯股份有限公司 一种文字处理方法和装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920232B (zh) * 2018-06-20 2021-06-22 维沃移动通信有限公司 一种目标对象的处理方法及终端设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102549573A (zh) * 2009-09-20 2012-07-04 雅虎公司 用于提供高级搜索结果页面内容的系统和方法
CN102929483A (zh) * 2012-10-25 2013-02-13 东莞宇龙通信科技有限公司 终端和资源分享方法
CN103299300A (zh) * 2010-12-27 2013-09-11 诺基亚公司 提供输入建议的方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040001099A1 (en) * 2002-06-27 2004-01-01 Microsoft Corporation Method and system for associating actions with semantic labels in electronic documents
US20050182617A1 (en) * 2004-02-17 2005-08-18 Microsoft Corporation Methods and systems for providing automated actions on recognized text strings in a computer-generated document
CN102546920B (zh) * 2011-01-04 2013-10-23 中国移动通信有限公司 一种运行进程的方法、系统及设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102549573A (zh) * 2009-09-20 2012-07-04 雅虎公司 用于提供高级搜索结果页面内容的系统和方法
CN103299300A (zh) * 2010-12-27 2013-09-11 诺基亚公司 提供输入建议的方法和装置
CN102929483A (zh) * 2012-10-25 2013-02-13 东莞宇龙通信科技有限公司 终端和资源分享方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708797A (zh) * 2015-07-15 2017-05-24 中兴通讯股份有限公司 一种文字处理方法和装置

Also Published As

Publication number Publication date
WO2015081512A1 (zh) 2015-06-11

Similar Documents

Publication Publication Date Title
US11573696B2 (en) Application display method and terminal
WO2020181988A1 (zh) 一种语音控制方法及电子设备
EP2603844B1 (en) Finger identification on a touchscreen
WO2017211062A1 (zh) 一种基于锁屏快速开启应用的方法及移动终端
US9367403B2 (en) Terminal and application restoring method
WO2019100368A1 (zh) 应用程序的启动方法及显示方法、终端
WO2018077041A1 (zh) 应用运行的方法及装置
JP6434640B2 (ja) メッセージ表示方法、メッセージ表示装置、およびメッセージ表示デバイス
CN105700869B (zh) 控制方法、信息处理方法、相关装置及电子设备
WO2015000430A1 (zh) 智能选词的方法和装置
WO2017161994A1 (zh) 一种显示页面的方法及装置、计算机存储介质
EP4113326A1 (en) Search method and electronic device
JP2007251630A (ja) リモートデスクトップ表示方法
GB2534100A (en) Electronic apparatus and method for executing application thereof
TWI504860B (zh) An electronic device and how to launch an app based on address information
CN110688497A (zh) 资源信息搜索方法、装置、终端设备及存储介质
WO2015081580A1 (zh) 一种确定与界面元素相关联的应用程序的方法及电子设备、服务器
US20150234926A1 (en) User interface device, search method, and program
WO2019085533A1 (zh) 用于终端设备的应用处理的方法和终端设备
WO2021083086A1 (zh) 信息处理方法及设备
CN113204302A (zh) 基于虚拟机器人的操作方法、装置、设备及存储介质
CN105009081B (zh) 一种与界面元素关联应用程序的方法及电子设备、服务器
JP2019149080A (ja) 情報処理装置、情報処理方法、及びプログラム
CN111766987B (zh) 应用程序管理方法、装置及电子设备
CN111459384B (zh) 拨号控制方法及电子设备

Legal Events

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

Ref document number: 13898863

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

Country of ref document: EP

Kind code of ref document: A1