Information acquisition method and electronic device

CN115469821BActive Publication Date: 2026-09-22LENOVO (BEIJING) LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210973265.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-15
Publication Date
2026-09-22
Estimated Expiration
2042-08-15

AI Technical Summary

Benefits of technology

[0043]本申请实施例设置第一设备获得与第二设备具备关联关系的第一图片之后,响应针对第一图片的触发操作,以生成第一信息,进而基于该第一信息获得目标信息,无需与第二设备进行多次交互便能得到想要的目标信息,大大提高了第一设备与第二设备共享目标信息的效率,节省了共享成本。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115469821B_ABST
    Figure CN115469821B_ABST
Patent Text Reader

Abstract

The application discloses an information obtaining method and an electronic device. The information obtaining method is applied to a first device, and the method comprises the following steps: obtaining a first picture, wherein the first picture is associated with a second device; in response to a trigger operation for the first picture, generating first information, wherein the first information corresponds to target information in the second device; and obtaining the target information based on the first information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to an information acquisition method and an electronic device. Background Technology

[0002] Obtaining information about shared devices involves cumbersome procedures and results in a poor user experience. Summary of the Invention

[0003] The purpose of this application is to provide an information acquisition method and electronic device that can improve the efficiency of sharing target information between a first device and a second device.

[0004] In a first aspect, embodiments of this application provide an information acquisition method applied to a first device, the method comprising:

[0005] Obtain a first image, wherein the first image is associated with the second device;

[0006] In response to a trigger operation on the first image, first information is generated, which corresponds to target information in the second device;

[0007] Based on the first information, the target information is obtained.

[0008] In one possible implementation, the association is that the first image is generated by the second device based on its device attribute information and its first user interface, and obtaining the target information based on the first information includes:

[0009] Based on the device attribute information, establish a communication connection with the second device;

[0010] The first information is transmitted to the second device based on the communication connection;

[0011] Obtain the target information sent by the second device in response to the first information.

[0012] In one possible implementation, generating the first information in response to a triggering operation on the first image includes:

[0013] Obtain the coordinate system associated with the first image;

[0014] In response to a trigger operation on the first image, the operation area corresponding to the trigger operation is determined;

[0015] The first information is generated based on the position of the operating area in the coordinate system.

[0016] In one possible implementation, generating the first information based on the position of the operating region in the coordinate system includes:

[0017] Determine the area percentage of operable objects within the operating area;

[0018] Based on the area ratio, the target object among the operable objects is determined;

[0019] The first information is generated based on the position of the target object in the coordinate system.

[0020] In one possible implementation, obtaining the target information based on the first information includes:

[0021] When the triggering operation is the first operation, the object attribute information corresponding to the target object is extracted from the first image;

[0022] Send the object attribute information of the target object to the second device;

[0023] Obtain a second image returned by the second device in response to the object attribute information, wherein the second image is generated by the second device based on its device attribute information and the user interface corresponding to the target object;

[0024] The target information is obtained based on the second image.

[0025] In one possible implementation, obtaining the target information based on the first information includes:

[0026] When the triggering operation is the second operation, the storage path of the target object is extracted from the first image;

[0027] Send the storage path to the second device;

[0028] The target information returned by the second device is received, which is the information returned by the second device based on the storage path.

[0029] In one possible implementation, generating the first information based on the triggering operation performed on the first image includes:

[0030] Based on the triggering operation performed on the first image, determine the operation process or operation result;

[0031] The first information is generated based on the operation process, or the first information is generated based on the operation result.

[0032] In one possible implementation, obtaining the target information based on the first information includes:

[0033] Send the operation process or the operation result to the second device;

[0034] The target information returned by the second device is received, wherein the target information is obtained by the second device in response to the operation process or the operation result.

[0035] Secondly, embodiments of this application also provide an electronic device, including:

[0036] The first acquisition module is configured to acquire a first image, wherein the first image is associated with the second device;

[0037] A generation module is configured to generate first information in response to a trigger operation on the first image, the first information corresponding to target information in the second device;

[0038] The second acquisition module is configured to obtain the target information based on the first information.

[0039] In one possible implementation, the association is such that the first image is generated by the second device based on its device attribute information and its first user interface, and the second acquisition module is specifically configured as follows:

[0040] Based on the device attribute information, establish a communication connection with the second device;

[0041] The first information is transmitted to the second device based on the communication connection;

[0042] Obtain the target information sent by the second device in response to the first information.

[0043] In this embodiment, after the first device obtains a first image that is associated with the second device, it responds to a trigger operation on the first image to generate first information, and then obtains target information based on the first information. The desired target information can be obtained without multiple interactions with the second device, which greatly improves the efficiency of the first device and the second device in sharing target information and saves sharing costs. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 A flowchart of an information acquisition method provided in this application is shown;

[0046] Figure 2 This invention provides a flowchart illustrating the process of obtaining target information based on first information in an information acquisition method.

[0047] Figure 3 The flowchart illustrates a method for obtaining information provided in this application, in which first information is generated in response to a triggering operation on a first image;

[0048] Figure 4 This invention provides a flowchart illustrating how, in an information acquisition method, target information is obtained based on first information when the triggering operation is a first operation.

[0049] Figure 5 This invention provides a flowchart illustrating how, in an information acquisition method, target information is obtained based on first information when the triggering operation is a second operation.

[0050] Figure 6 A schematic diagram of the structure of an electronic device provided in this application is shown;

[0051] Figure 7 A schematic diagram of the structure of another electronic device provided in this application is shown. Detailed Implementation

[0052] Various embodiments and features of this application are described herein with reference to the accompanying drawings.

[0053] It should be understood that various modifications can be made to the embodiments described herein. Therefore, the above description should not be considered as limiting, but merely as an example of embodiments. Other modifications within the scope and spirit of this application will be apparent to those skilled in the art.

[0054] The accompanying drawings, which are included in and form part of this specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0055] These and other features of this application will become apparent from the following description of preferred forms of embodiments given as non-limiting examples, with reference to the accompanying drawings.

[0056] It should also be understood that although this application has been described with reference to some specific examples, those skilled in the art can certainly implement many other equivalent forms of this application, which have the features described in the claims and are therefore all within the scope of protection defined herein.

[0057] The above and other aspects, features and advantages of this application will become more apparent when taken in conjunction with the accompanying drawings and in view of the following detailed description.

[0058] Specific embodiments of this application are described thereafter with reference to the accompanying drawings; however, it should be understood that the claimed embodiments are merely examples of this application, which can be implemented in various ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that could obscure the application. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but merely serve as the basis and representative basis for the claims to teach those skilled in the art to use this application in a variety of substantially any suitable detailed structures.

[0059] This specification may use the phrases “in one embodiment,” “in another embodiment,” “in yet another embodiment,” or “in other embodiments,” all of which may refer to one or more of the same or different embodiments according to this application.

[0060] The information acquisition method provided in this application can improve the efficiency of sharing target information between the first device and the second device. To facilitate understanding of this application, a detailed description of the information acquisition method provided in this application will be given first.

[0061] like Figure 1 The diagram shows a flowchart of an information acquisition method provided in an embodiment of this application, wherein specific steps include S101-S103.

[0062] S101, Obtain the first image, wherein the first image is associated with the second device.

[0063] This application describes an embodiment with a first device as the execution subject, wherein the first device is the device corresponding to the controller and the second device is the device corresponding to the controlled party.

[0064] If the second device malfunctions, a first image is generated, meaning this first image is associated with the second device. After generating the first image, it is sent to the first device.

[0065] The first device obtains the first image. Since the first image is associated with the second device, the first device can also obtain some information about the second device through the first image.

[0066] S102, in response to a trigger operation on the first image, first information is generated, which corresponds to the target information in the second device.

[0067] After obtaining the first image, the first device displays the first image through a display device corresponding to the first device. The display device can be a device installed on the first device or a device connected to the first device.

[0068] After the first image is displayed, the user corresponding to the first device can interact with it. The first device collects and responds to triggered operations on the first image in real time to generate first information. This first information corresponds to the target information in the second device; that is, the first information can include the location, size, name, and storage address of objects in the image.

[0069] S103, based on the first information, obtain the target information.

[0070] After generating the first information, the target information is obtained based on the correspondence between the first information and the target information in the second device.

[0071] As one example, the association is that the first image is generated by the second device based on its device attribute information and its first user interface. Based on this, Figure 2 A flowchart of a method for obtaining target information based on first information is shown, wherein specific steps include S201-S203.

[0072] S201, establish a communication connection with the second device based on the device attribute information.

[0073] S202, transmitting first information to the second device based on the communication connection.

[0074] S203, obtain the target information sent by the second device in response to the first information.

[0075] Optionally, the device attribute information of the second device includes the name, model, communication address, etc. Based on the first image being generated by the second device based on its device attribute information and its first user interface, the device attribute information corresponding to the second device is extracted from the first image, thereby enabling the establishment of a communication connection between the first device and the second device based on the communication address included in the device attribute information.

[0076] After the first device and the second device establish a communication connection, the first device transmits first information to the second device based on the communication connection, so that the second device responds to the first information. That is, the first device searches for target information based on the first information. After the second device finds the target information, it sends the target information to the first device.

[0077] The first device receives the target information sent by the second device.

[0078] As one example, Figure 3 A flowchart of a method for generating first information in response to a trigger operation on a first image is shown, wherein specific steps include S301-S303.

[0079] S301, Obtain the coordinate system associated with the first image.

[0080] S302, in response to a trigger operation on the first image, determine the operation area corresponding to the trigger operation.

[0081] S303, Generate first information based on the position of the operating area in the coordinate system.

[0082] After determining that a trigger operation has been generated for the first image, a coordinate system associated with the first image is obtained. This coordinate system can be constructed in real time based on the first image, for example, by generating a pixel coordinate system based on the first image; or it can be pre-constructed based on the display interface of the first device. This application embodiment does not specifically limit this.

[0083] In response to a trigger operation on the first image, the operation area corresponding to the trigger operation is determined based on a coordinate system. Optionally, the trigger position of the trigger operation on the second electronic device is determined based on the coordinate system. There are multiple trigger positions, and the trigger area is determined based on all the trigger positions. For example, the area determined by the trigger position at the edge is taken as the trigger area. Alternatively, the trigger position at the edge can be expanded outward to obtain the trigger area.

[0084] After determining the operation area, first information is generated based on the position of the operation area in the coordinate system. Optionally, considering that there are multiple operable objects in the first image, such as icons, and that the operation area may not contain one or more operable objects, when generating the first information based on the position of the operation area in the coordinate system, the area ratio of the operable objects in the operation area is first determined. Based on the area ratio, the target object among the operable objects is determined. The operable object with the largest area ratio can be determined as the target object. Of course, if there is only one operable object in the operation area, that operable object is directly determined as the target object.

[0085] After the target object is identified, the first information is generated based on the target object's position in the coordinate system.

[0086] In specific implementation, different triggering operations correspond to different response results. The triggering operations in this application embodiment include a first operation and a second operation. For example, the first operation is double-clicking, and the second operation is dragging, etc. Next, the acquisition of target information will be described for the first operation and the second operation respectively.

[0087] Figure 4 A flowchart of a method for obtaining target information based on first information when the triggering operation is the first operation is shown, wherein the specific steps include S401-S404.

[0088] S401, when the triggering operation is the first operation, extract the object attribute information corresponding to the target object from the first image.

[0089] S402, send the object attribute information of the target object to the second device.

[0090] S403, obtain the second image returned by the second device response object attribute information, wherein the second image is generated by the second device based on its device attribute information and the user interface corresponding to the target object.

[0091] S404, Based on the second image, obtain target information.

[0092] When the triggering operation is the first operation, it indicates that the user corresponding to the first device wants to view the interface corresponding to the target object. For example, if the target object is a folder, then the user corresponding to the first device performing the first operation indicates that the user wants to view the contents of the folder.

[0093] At this point, the object attribute information corresponding to the target object is extracted from the first image. The object attribute information includes the name, size, storage path, etc. of the target object.

[0094] Then, the object attribute information of the target object is sent to the second device so that the second device responds to the object attribute information. The second device responds to the object attribute information by determining the user interface based on the object attribute information, that is, the user interface corresponding to the target object. Then, based on the second device's own device attribute information and the user interface corresponding to the target object, a second image is generated and sent to the first device.

[0095] The first device obtains the second image returned by the second device's response object attribute information, and uses this second image to obtain the target information. It is worth noting that this second image can also be used as the target information.

[0096] Figure 5 A flowchart of a method for obtaining target information based on first information when the triggering operation is the second operation is shown, wherein the specific steps include S501-S503.

[0097] S501, when the triggering operation is the second operation, extract the storage path of the target object from the first image.

[0098] S502 sends the storage path to the second device.

[0099] S503, receive the target information returned by the second device, the target information being the information returned by the second device based on the storage path.

[0100] When the triggering operation is the first operation, it indicates that the user corresponding to the first device wants to obtain information corresponding to the target object, such as a PDF file. In other words, when the user corresponding to the first device performs the second operation, it indicates that the user wants to obtain the PDF file.

[0101] At this point, the storage path of the target object is extracted from the first image and sent to the second device so that the second device can search for the target information according to the storage path. After finding the target information, the target information is returned to the first device.

[0102] The first device receives the target information returned by the second device. The target information is the information returned by the second device based on the storage path, which can be an image, PDF file, Word file, text, etc.

[0103] In the information acquisition method of this application embodiment, the first image can be generated by the second device based on its device attribute information and its first user interface, or it can be generated solely based on its first user interface. Therefore, after obtaining a trigger operation for the first image, the operation process or operation result can be determined directly based on the trigger operation performed on the first image, and then first information can be generated based on the operation process or the operation result. The operation process can include a specific operation trajectory, and the operation result can include the termination point of the operation trajectory.

[0104] Afterwards, the operation process or result can be directly sent to the second device, enabling the second device to search for the target information based on the operation process or result; alternatively, first information generated based on the operation process or result can be sent to the second device, enabling the second device to search for the target information based on the first information. After finding the target information, the second device returns the target information to the first device.

[0105] The first device receives the target information returned by the second device to achieve information sharing between the first and second devices, which not only improves sharing efficiency but also saves sharing costs.

[0106] Based on the same inventive concept, the second aspect of this application also provides an electronic device corresponding to the information acquisition method. Since the principle of solving the problem by the electronic device in this application is similar to the above-mentioned information acquisition method in this application, the implementation of the electronic device can refer to the implementation of the method, and the repeated parts will not be described again.

[0107] Figure 6 A schematic diagram of an electronic device provided in an embodiment of this application is shown, specifically including:

[0108] The first acquisition module 601 is configured to acquire a first image, wherein the first image is associated with the second device;

[0109] The generation module 602 is configured to generate first information in response to a trigger operation on the first image, the first information corresponding to target information in the second device;

[0110] The second acquisition module 603 is configured to obtain the target information based on the first information.

[0111] In another embodiment, the association is such that the first image is generated by the second device based on its device attribute information and its first user interface, and the second acquisition module 603 is specifically configured as follows:

[0112] Based on the device attribute information, establish a communication connection with the second device;

[0113] The first information is transmitted to the second device based on the communication connection;

[0114] Obtain the target information sent by the second device in response to the first information.

[0115] In yet another embodiment, the generation module 602 is specifically configured as follows:

[0116] Obtain the coordinate system associated with the first image;

[0117] In response to a trigger operation on the first image, the operation area corresponding to the trigger operation is determined;

[0118] The first information is generated based on the position of the operating area in the coordinate system.

[0119] In another embodiment, when the generation module 602 generates the first information based on the position of the operation area in the coordinate system, it includes:

[0120] Determine the area percentage of operable objects within the operating area;

[0121] Based on the area ratio, the target object among the operable objects is determined;

[0122] The first information is generated based on the position of the target object in the coordinate system.

[0123] In yet another embodiment, the second acquisition module 603 is specifically configured as follows:

[0124] When the triggering operation is the first operation, the object attribute information corresponding to the target object is extracted from the first image;

[0125] Send the object attribute information of the target object to the second device;

[0126] Obtain a second image returned by the second device in response to the object attribute information, wherein the second image is generated by the second device based on its device attribute information and the user interface corresponding to the target object;

[0127] The target information is obtained based on the second image.

[0128] In yet another embodiment, the second acquisition module 603 is further configured to:

[0129] When the triggering operation is the second operation, the storage path of the target object is extracted from the first image;

[0130] Send the storage path to the second device;

[0131] The target information returned by the second device is received, which is the information returned by the second device based on the storage path.

[0132] In yet another embodiment, the generation module 602 is further configured to:

[0133] Based on the triggering operation performed on the first image, determine the operation process or operation result;

[0134] The first information is generated based on the operation process, or the first information is generated based on the operation result.

[0135] In yet another embodiment, the second acquisition module 603 is further configured to:

[0136] Send the operation process or the operation result to the second device;

[0137] The target information returned by the second device is received, wherein the target information is obtained by the second device in response to the operation process or the operation result.

[0138] In this embodiment, after the first device obtains a first image that is associated with the second device, it responds to a trigger operation on the first image to generate first information, and then obtains target information based on the first information. The desired target information can be obtained without multiple interactions with the second device, which greatly improves the efficiency of the first device and the second device in sharing target information and saves sharing costs.

[0139] This application provides a storage medium, which is a computer-readable medium, storing a computer program. When executed by a processor, the computer program implements the method provided in any embodiment of this application, including the following steps S11 to S13:

[0140] S11, Obtain the first image, wherein the first image is associated with the second device;

[0141] S12, in response to a trigger operation on the first image, generate first information, the first information corresponding to target information in the second device;

[0142] S13, Based on the first information, obtain the target information.

[0143] The computer program is executed by the processor with the association that the first image is generated by the second device based on its device attribute information and its first user interface. When obtaining the target information based on the first information, the processor specifically performs the following steps: establishing a communication connection with the second device based on the device attribute information; transmitting the first information to the second device based on the communication connection; and obtaining the target information sent by the second device in response to the first information.

[0144] When a computer program is executed by a processor in response to a trigger operation on the first image to generate first information, the processor specifically performs the following steps: obtaining a coordinate system associated with the first image; determining an operation area corresponding to the trigger operation in response to the trigger operation on the first image; and generating the first information based on the position of the operation area in the coordinate system.

[0145] When a computer program is executed by a processor to generate the first information based on the position of the operating area in the coordinate system, the processor specifically performs the following steps: determining the area ratio of the operable objects within the operating area; determining the target object among the operable objects based on the area ratio; and generating the first information based on the position of the target object in the coordinate system.

[0146] When a computer program is executed by a processor to obtain the target information based on the first information, the processor specifically performs the following steps: when the triggering operation is the first operation, extracting object attribute information corresponding to the target object from the first image; sending the object attribute information of the target object to the second device; obtaining a second image returned by the second device in response to the object attribute information, wherein the second image is generated by the second device based on its device attribute information and the user interface corresponding to the target object; and obtaining the target information based on the second image.

[0147] When a computer program is executed by a processor to obtain the target information based on the first information, the processor specifically performs the following steps: when the triggering operation is the second operation, extracting the storage path of the target object from the first image; sending the storage path to the second device; and receiving the target information returned by the second device, wherein the target information is the information returned by the second device based on the storage path.

[0148] When a computer program is executed by a processor to generate first information based on a trigger operation performed on the first image, the processor specifically performs the following steps: determining the operation process or operation result based on the trigger operation performed on the first image; generating the first information based on the operation process, or generating the first information based on the operation result.

[0149] When a computer program is executed by a processor to obtain the target information based on the first information, the processor specifically performs the following steps: sending the operation process or the operation result to a second device; receiving the target information returned by the second device, wherein the target information is obtained by the second device in response to the operation process or the operation result.

[0150] In this embodiment, after the first device obtains a first image that is associated with the second device, it responds to a trigger operation on the first image to generate first information, and then obtains target information based on the first information. The desired target information can be obtained without multiple interactions with the second device, which greatly improves the efficiency of the first device and the second device in sharing target information and saves sharing costs.

[0151] This application provides an electronic device, the structural schematic diagram of which is shown below. Figure 7 As shown, it includes at least a memory 701 and a processor 702. The memory 701 stores a computer program, and the processor 702 implements the method provided in any embodiment of this application when executing the computer program in the memory 701. Exemplarily, the steps of the electronic device computer program are as follows: S21 to S23:

[0152] S21, Obtain the first image, wherein the first image is associated with the second device;

[0153] S22, in response to a trigger operation on the first image, first information is generated, the first information corresponding to the target information in the second device;

[0154] S23, Based on the first information, obtain the target information.

[0155] The processor stores the association in the execution memory that the first image was generated by the second device based on its device attribute information and its first user interface. When obtaining the target information based on the first information, the processor also executes the following computer program: establishing a communication connection with the second device based on the device attribute information; transmitting the first information to the second device based on the communication connection; and obtaining the target information sent by the second device in response to the first information.

[0156] When the processor generates first information in response to a trigger operation on the first image, as stored in memory, it also executes the following computer program: obtaining a coordinate system associated with the first image; determining an operation area corresponding to the trigger operation in response to the trigger operation on the first image; and generating the first information based on the position of the operation area in the coordinate system.

[0157] When the processor generates the first information based on the position of the operating area in the coordinate system, stored in the memory, it also executes the following computer program: determining the area ratio of the operable objects in the operating area; determining the target object among the operable objects based on the area ratio; and generating the first information based on the position of the target object in the coordinate system.

[0158] When the processor obtains the target information based on the first information stored in the memory, it also executes the following computer program: when the triggering operation is the first operation, it extracts the object attribute information corresponding to the target object from the first image; sends the object attribute information of the target object to the second device; obtains a second image returned by the second device in response to the object attribute information, wherein the second image is generated by the second device based on its device attribute information and the user interface corresponding to the target object; and obtains the target information based on the second image.

[0159] When the processor obtains the target information based on the first information stored in the memory, it also executes the following computer program: when the triggering operation is the second operation, it extracts the storage path of the target object from the first image; sends the storage path to the second device; and receives the target information returned by the second device, wherein the target information is the information returned by the second device based on the storage path.

[0160] When the processor generates first information based on the trigger operation performed on the first image, stored in memory, it also executes the following computer program: determining the operation process or operation result based on the trigger operation performed on the first image; generating the first information based on the operation process, or generating the first information based on the operation result.

[0161] When the processor obtains the target information based on the first information stored in the memory, it also executes the following computer program: sending the operation process or the operation result to the second device; receiving the target information returned by the second device, wherein the target information is obtained by the second device in response to the operation process or the operation result.

[0162] In this embodiment, after the first device obtains a first image that is associated with the second device, it responds to a trigger operation on the first image to generate first information, and then obtains target information based on the first information. The desired target information can be obtained without multiple interactions with the second device, which greatly improves the efficiency of the first device and the second device in sharing target information and saves sharing costs.

[0163] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk. Optionally, in this embodiment, the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium. Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, which will not be repeated here. Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed on a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be executed in a different order than those described here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any specific hardware and software combination.

[0164] Furthermore, although exemplary embodiments have been described herein, their scope includes any and all embodiments based on this application that have equivalent elements, modifications, omissions, combinations (e.g., schemes involving intersections of various embodiments), adaptations, or alterations. Elements in the claims will be interpreted broadly based on the language used in the claims and are not limited to the examples described in this specification or during the implementation of this application, which will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered illustrative only, and the true scope and spirit are indicated by the full scope of the following claims and their equivalents.

[0165] The above description is intended to be illustrative and not restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. Other embodiments can be used by those skilled in the art when reading the above description. Furthermore, in the above detailed description, various features may be grouped together to simplify the application. This should not be construed as an intention that a disclosed feature not claimed is necessary for any claim. Rather, the subject matter of the application may be less than all the features of a particular disclosed embodiment. Thus, the following claims are incorporated herein by reference as examples or embodiments, wherein each claim is an independent, separate embodiment, and these embodiments are contemplated to be combined with each other in various combinations or arrangements. The scope of this application should be determined by reference to the appended claims and the full scope of their equivalents.

[0166] The foregoing has described in detail several embodiments of this application, but this application is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications based on the concept of this application, and all such variations and modifications should fall within the scope of protection claimed in this application.

Claims

1. An information acquisition method, applied to a first device, the method comprising: Obtain a first image, wherein the first image is associated with the second device; In response to a trigger operation on the first image, an operation area corresponding to the trigger operation is determined, and first information is generated, which corresponds to target information in the second device. Since the first image contains multiple operable objects, generating the first information includes: determining a target object among the operable objects within the operation area; and extracting object attribute information corresponding to the target object from the first image, whereby the first information includes object attribute information. Based on the first information, the target information is obtained.

2. The information acquisition method according to claim 1, wherein the association relationship is that the first image is generated by the second device based on its device attribute information and its first user interface, and the step of obtaining the target information based on the first information includes: Based on the device attribute information, establish a communication connection with the second device; The first information is transmitted to the second device based on the communication connection; Obtain the target information sent by the second device in response to the first information.

3. The information acquisition method according to claim 1 or 2, wherein generating first information in response to a triggering operation on the first image includes: Obtain the coordinate system associated with the first image; In response to a trigger operation on the first image, the operation area corresponding to the trigger operation is determined; The first information is generated based on the position of the operating area in the coordinate system.

4. The information acquisition method according to claim 3, wherein generating the first information based on the position of the operation area in the coordinate system comprises: Determine the area percentage of operable objects within the operating area; Based on the area ratio, the target object among the operable objects is determined; The first information is generated based on the position of the target object in the coordinate system.

5. The information acquisition method according to claim 4, wherein obtaining the target information based on the first information includes: When the triggering operation is the first operation, the object attribute information corresponding to the target object is extracted from the first image; Send the object attribute information of the target object to the second device; Obtain a second image returned by the second device in response to the object attribute information, wherein the second image is generated by the second device based on its device attribute information and the user interface corresponding to the target object; The target information is obtained based on the second image.

6. The information acquisition method according to claim 4, wherein obtaining the target information based on the first information includes: When the triggering operation is the second operation, the storage path of the target object is extracted from the first image; Send the storage path to the second device; The target information returned by the second device is received, which is the information returned by the second device based on the storage path.

7. The information acquisition method according to claim 1 or 2, wherein generating the first information based on the triggering operation performed on the first image includes: Based on the triggering operation performed on the first image, determine the operation process or operation result; The first information is generated based on the operation process, or the first information is generated based on the operation result.

8. The information acquisition method according to claim 7, wherein obtaining the target information based on the first information comprises: Send the operation process or the operation result to the second device; The target information returned by the second device is received, wherein the target information is obtained by the second device in response to the operation process or the operation result.

9. An electronic device, comprising: The first acquisition module is configured to acquire a first image, wherein the first image is associated with the second device; The generation module is configured to respond to a trigger operation on the first image, determine the operation area corresponding to the trigger operation, and generate first information, which corresponds to target information in the second device; since there are multiple operable objects in the first image, generating the first information includes: determining the target object among the operable objects from the operation area; and extracting object attribute information corresponding to the target object from the first image, whereby the first information includes object attribute information. The second acquisition module is configured to obtain the target information based on the first information.

10. The electronic device according to claim 9, wherein the association relationship is that the first image is generated by the second device based on its device attribute information and its first user interface, and the second acquisition module is specifically configured as follows: Based on the device attribute information, establish a communication connection with the second device; The first information is transmitted to the second device based on the communication connection; Obtain the target information sent by the second device in response to the first information.

Citation Information

Patent Citations

  • A method of accessing data across devices and a first electronic device

    CN109388620A