Electronic device control methods and apparatuses, electronic device, and medium
By displaying function call controls in electronic devices, quickly calling the connected device to execute functions and display results, the problem of insufficient hardware in document editing is solved, the operation process is simplified and efficiency is improved.
Patent Information
- Application Number
- PCT/CN2024/132660
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-22
- Filing Date
- 2024-11-18
- Publication Date
- 2025-05-30
AI Technical Summary
When users edit documents through electronic devices, they lack hardware such as cameras or drawing boards, which leads to cumbersome operation of shooting or drawing auxiliary instructions, and the computer is large in size and unsmart shooting, which affects the shooting effect.
By displaying function call controls in the electronic device, the user is allowed to quickly call the connected second electronic device to perform functions such as shooting or drawing, and to display or insert results directly in the first electronic device without manually starting or finding the image storage location.
It simplifies user operation processes, improves the efficiency and effectiveness of data editing, and avoids interruptions caused by peripheral operations.
Smart Images

Figure CN2024132660_30052025_PF_FP_ABST
Abstract
Description
Electronic device control method, device, electronic device, and medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on November 22, 2023, with application number 202311567983.2 and entitled “Control Method, Device, Electronic Device and Medium for Electronic Devices”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of computer technology, and in particular to a control method, device, electronic device, and medium for an electronic device. Background Art
[0004] In the related art, users often perform various operations through electronic devices. For example, when users edit documents through computers, they may need to take photos or draw pictures for auxiliary explanations during the process of editing documents through computers. However, since the computer lacks hardware such as a camera or a drawing tablet, it is impossible to directly input documents. Even if the computer is equipped with a camera, the shooting effect is poor due to the large size of the computer and the inflexibility of the shooting. Based on this, users usually use external devices to shoot or draw the required materials, and then connect them to the computer with a document cable, find the target file from the external storage, save the file locally on the computer, and then insert it from the local storage of the computer into the document, so as to achieve the above needs, resulting in cumbersome operations. Summary of the Invention
[0005] The present application provides a control method, device, electronic device and medium for an electronic device, which can simplify user operations.
[0006] In a first aspect, an embodiment of the present application provides a method for controlling an electronic device, which is applied to a first electronic device, and the method includes:
[0007] In a case where the first electronic device displays at least one function calling control, receiving a first input to a target function calling control among the at least one function calling control; the at least one function calling control has a corresponding second electronic device, and the second electronic device and the first electronic device meet a connection condition;
[0008] In response to the first input, sending function call information to a second electronic device corresponding to the target function call control; the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control;
[0009] When the function execution result returned by the second electronic device is received, the function execution result is displayed.
[0010] In a second aspect, an embodiment of the present application provides a method for controlling an electronic device, which is applied to a second electronic device, the method comprising:
[0011] Upon receiving the function call information sent by the first electronic device, executing the corresponding function and obtaining a function execution result;
[0012] sending the function execution result to the first electronic device;
[0013] In which, the function call information is determined by the first electronic device in response to a first input to a target function call control among the at least one function call control when the first electronic device displays at least one function call control; the at least one function call control has a corresponding second electronic device, and the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control; the second electronic device and the first electronic device meet the connection conditions.
[0014] In a third aspect, an embodiment of the present application provides a control device for an electronic device, applied to a first electronic device, the device comprising:
[0015] a receiving module configured to receive, when the first electronic device displays at least one function-calling control, a first input to a target function-calling control among the at least one function-calling control; the at least one function-calling control has a corresponding second electronic device, and the second electronic device and the first electronic device meet a connection condition;
[0016] a sending module, configured to send function call information to a second electronic device corresponding to the target function call control in response to the first input; the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control;
[0017] The display module is configured to display the function execution result upon receiving the function execution result returned by the second electronic device.
[0018] In a fourth aspect, an embodiment of the present application provides a control device for an electronic device, which is applied to a second electronic device, and the device includes:
[0019] an execution module, configured to execute a corresponding function upon receiving the function call information sent by the first electronic device, and obtain a function execution result;
[0020] a sending module, configured to send the function execution result to the first electronic device;
[0021] In which, the function call information is determined by the first electronic device in response to a first input to a target function call control among the at least one function call control when the first electronic device displays at least one function call control; the at least one function call control has a corresponding second electronic device, and the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control; the second electronic device and the first electronic device meet the connection conditions.
[0022] In a fifth aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect or the second aspect are implemented.
[0023] In a sixth aspect, an embodiment of the present application provides a readable storage medium, characterized in that a program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method of the first aspect or the second aspect are implemented.
[0024] In the seventh aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the method of the first aspect or the second aspect.
[0025] In an eighth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method of the first aspect or the second aspect.
[0026] In an embodiment of the present application, when a user needs to call a second electronic device to execute a related function based on a first electronic device, since the first electronic device displays at least one function calling control, the user can quickly call the second electronic device to execute the related function through the function calling control displayed on the first electronic device, and use the function execution result of the second electronic device in the first electronic device, thereby simplifying the user operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] FIG1 is a flow chart of a method for controlling an electronic device according to an embodiment of the present application;
[0028] FIG2 is a schematic diagram of a document editing interface according to an embodiment of the present application;
[0029] FIG3 is a second schematic diagram of the document editing interface according to an embodiment of the present application;
[0030] FIG4 is a second flow chart of a method for controlling an electronic device according to an embodiment of the present application;
[0031] FIG5 is a third schematic diagram of the document editing interface according to an embodiment of the present application;
[0032] FIG6 is a schematic diagram of an image preview interface of a second electronic device according to an embodiment of the present application;
[0033] FIG7 is a third flow chart of a method for controlling an electronic device according to an embodiment of the present application;
[0034] FIG8 is a schematic diagram of a process for displaying a target function interface in an embodiment of the present application;
[0035] FIG9 is a schematic structural diagram of a control device of an electronic device provided in an embodiment of the present application;
[0036] FIG10 is a schematic structural diagram of a control device of another electronic device provided in an embodiment of the present application;
[0037] FIG11 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0038] FIG12 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0039] FIG13 is a schematic diagram of the hardware structure of another electronic device provided in an embodiment of the present application. Specific embodiments
[0040] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0041] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0042] In the following, in conjunction with the accompanying drawings, a control method, device, electronic device and medium of an electronic device provided by the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0043] Please refer to FIG1 , which is a flow chart of a method for controlling an electronic device provided in an embodiment of the present application. The method for controlling an electronic device is applied to a first electronic device. The method includes the following steps:
[0044] Step 101: When a first electronic device displays at least one function-calling control, receiving a first input to a target function-calling control among the at least one function-calling control; the at least one function-calling control has a corresponding second electronic device, and the second electronic device and the first electronic device meet a connection condition;
[0045] Step 102: In response to the first input, send function call information to a second electronic device corresponding to the target function call control; the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control;
[0046] Step 103: upon receiving the function execution result returned by the second electronic device, display the function execution result.
[0047] Among them, the above-mentioned first electronic device and second electronic device can both be various types of electronic devices. Specifically, the first electronic device may not have the function indicated by the above-mentioned at least one function call control, or the first electronic device may have inconvenience in executing the function indicated by the above-mentioned at least one function call control, while the second electronic device can more conveniently execute the function indicated by the above-mentioned at least one function call control. For example, when the function indicated by the function call control is a shooting function, the above-mentioned first electronic device can be a desktop computer or a laptop computer, and the second electronic device can be a mobile phone or a tablet computer. For another example, when the function indicated by the function call control is a recording function, the above-mentioned first electronic device can be a desktop computer or a laptop computer, and the second electronic device can be a voice recorder or a mobile phone, etc. The following takes the first electronic device as a computer and the second electronic device as a mobile phone as an example to further explain the technical solution of the present application.
[0048] The second electronic device and the first electronic device satisfying the connection condition may specifically mean that a connection can be pre-established between the first electronic device and the second electronic device to enable a data connection between the two. Specifically, the first electronic device and the second electronic device may be connected via a near-field connection, for example, via a local area network or USB.
[0049] In the case where the first electronic device is a computer and the second electronic device is a mobile phone, the process of establishing a connection between the first electronic device and the second electronic device via a local area network may specifically include:
[0050] After logging into the local area network (LAN) to which the current computer is connected, the connection can be established through any of the following operations: 1) The mobile phone scans the computer's QR code to establish a connection; 2) The computer scans the list of mobile phones in the same LAN, and the user selects the target device to connect.
[0051] In addition, it is also possible to support automatic connection of the computer to the mobile phone. The specific process can be: when the mobile phone and the computer are on the same local area network and logged into the same account, the connection is automatically established, without the user having to manually confirm the connected mobile phone object. Alternatively, the computer can display the device identification of all candidate devices. When the user selects the function call control of one of the candidate devices, a connection can be established between the computer and the selected candidate device. The candidate device is a device that meets the conditions for establishing an automatic connection with the computer. The automatic connection condition can be that the mobile phone and the computer are on the same local area network and logged into the same account.
[0052] The account may be a user account of an electronic device or a user account of an application. For example, the account may be a user account of an office suite application.
[0053] It is understood that the target function call control may be any one of the at least one function call control, and different function call controls in the at least one function call control may indicate different functions. The functions indicated by each function call control in the at least one function call control may include: a photo taking function, a scanning function, an image editing function, a file transfer function, etc.
[0054] The first input may be a user's selection input on the target function calling control, for example, a click input on the target function calling control.
[0055] Specifically, since at least one function-calling control corresponds to a second electronic device, a user can make a first input to any one of the at least one function-calling control on the first electronic device to call the second electronic device to execute the function of the corresponding function-calling control. It should be noted that there can be at least one second electronic device, and the at least one function-calling control corresponds to each second electronic device. Therefore, based on the function-calling control, the first electronic device can call each second electronic device to execute the function of the corresponding function-calling control.
[0056] The above function call information is used to call the corresponding function of the second electronic device, that is, to control the second electronic device to enter the function interface of the function indicated by the target function call control, for example, to control the second electronic device to enter the shooting interface, scanning interface, etc.
[0057] The above-mentioned function execution result may be data collected by the first electronic device by calling the second electronic device, for example, data captured by the second electronic device based on the shooting interface, or data scanned by the second electronic device based on the scanning interface, etc. In addition, the above-mentioned function execution result may also be data after the first electronic device calls the second electronic device to process the data in the first electronic device. For example, when the first electronic device sends the function call information to the second electronic device, it can also send the data to be processed to the second electronic device. In this way, the second electronic device can call the corresponding function to process the data to be processed, obtain the processed data, and send the processed data to the first electronic device as the function execution result.
[0058] The following is a further explanation of the control method of the electronic device described above using a specific embodiment: Assuming that a user makes a first input on a target function call control in a text editing interface of a first electronic device, and the function indicated by the target function call control is a capture function, the first electronic device sends a function call message to a second electronic device; the second electronic device enters a capture interface in response to the function call message. At this time, the user can capture the required material using the second electronic device. After the capture is completed, the second electronic device can directly transfer the captured image to the first electronic device, or after the capture is completed, the second electronic device can display the captured image and, after the user confirms, transfer the captured image to the first electronic device. After receiving the captured image, the first electronic device can insert the received image into a preset position in the text editing interface, wherein the preset position can be a position selected by the user before making the first input. During the image capture process of the second electronic device, the preset position can display a specific indicator to indicate that the position is in an editing state, wherein the indicator can be a rectangular box that selects the preset area, or the indicator can be specific text displayed in the preset area, for example, the following text displayed in the preset area: "Editing". Furthermore, the preset position may also be the position where the cursor currently resides in the text editing interface. Compared to related technologies, this process simplifies the process of inserting data into text using an external device because the user does not need to manually activate the camera of the second electronic device or manually search for the storage location of the captured image in the second electronic device.
[0059] In this embodiment, when a user needs to call a second electronic device to execute a related function based on a first electronic device, since the first electronic device displays at least one function calling control, the user can quickly call the second electronic device to execute the related function through the function calling control displayed in the first electronic device, and use the function execution result of the second electronic device in the first electronic device, thereby simplifying the user operation.
[0060] Optionally, before the step of receiving a first input to a target function calling control among the at least one function calling control when the first electronic device displays the at least one function calling control, the method further includes:
[0061] receiving a second input to the first object;
[0062] In response to the second input, displaying the at least one function calling control;
[0063] The sending, in response to the first input, function calling information to the second electronic device corresponding to the target function calling control, includes:
[0064] In response to the first input, the function calling information and the first object are sent to a second electronic device corresponding to the target function calling control.
[0065] The first object may be various types of multimedia data to be processed, for example, the first object may include at least one of the following: image, audio, video, text. Specifically, the first object may be an object in a specific text editing interface or an object local to the first electronic device.
[0066] The second input may include: the user selecting the first object with a mouse, and expanding a toolbar with a right mouse button, where the toolbar displays the at least one function calling control.
[0067] In some embodiments of the present application, the first object is an image to be processed in a first electronic device, the target function call control is an "image editing control," and the image editing control is used to call an image editing function of a second electronic device. After receiving the first object and function call information sent by the first electronic device, the second electronic device can call the image editing function and display the first object on an image editing interface corresponding to the image editing function. In this way, the user can perform image editing on the first object in the image editing interface, for example, adjusting brightness and contrast, and adding a watermark.
[0068] In this implementation, by simultaneously sending the function calling information and the first object to the second electronic device, the corresponding function of the second electronic device can be called to process the first object.
[0069] Optionally, the function execution result is a second object, and the second object is a result of the second electronic device processing the first object using the function indicated by the target function calling control;
[0070] The displaying of the function execution result upon receiving the function execution result returned by the second electronic device includes:
[0071] In case of receiving the second object returned by the second electronic device, displaying the second object at a second display position associated with the first display position of the first object;
[0072] Alternatively, when the second object returned by the second electronic device is received, the first object is displayed instead of the second object.
[0073] Among them, the above-mentioned first object can be displayed at the first display position, and the second display position can be a display position near the first display position. In this way, by displaying the first object and the second object at the same time, it is convenient for the user to compare the first object and the second object to determine whether to use the second object to replace the original first object.
[0074] The above-mentioned replacing the first object with the second object is to delete the first object in the first electronic device and display the second object at the display position of the first object.
[0075] In this embodiment, by displaying the second object at the second display position associated with the first display position of the first object, the user can compare the first object with the second object to determine whether to use the second object to replace the original first object.
[0076] The first object is displayed in a replacement manner, thereby eliminating the need for the user to manually replace the first object, thereby further simplifying the process.
[0077] Optionally, before the step of displaying the function execution result when receiving the function execution result returned by the second electronic device, the method further includes:
[0078] First identification information is displayed at a first display position of the first object.
[0079] The first identification information may be various types of identification information, for example, a circle may be displayed in the upper left corner of the first object, or the words “Editing” may be displayed on the upper layer of the first object.
[0080] In this embodiment, by displaying the first identification information at the first display position of the first object, the user of the first electronic device can be informed through the first identification information that the first object is in an editing state.
[0081] Optionally, the at least one function calling control is displayed on a document editing interface of the first electronic device;
[0082] The displaying of the function execution result upon receiving the function execution result returned by the second electronic device includes:
[0083] When the function execution result returned by the second electronic device is received, the function execution result is displayed on the document editing interface.
[0084] The document editing interface may be various types of editable documents. For example, the document editing interface may be an editing interface for a ppt document or an editing interface for a word document.
[0085] Please refer to Figure 2. After the user opens the document editing interface, a call control 201 corresponding to the mobile phone can be displayed in the toolbar of the document editing interface. When the user clicks the call control 201, a function window 202 corresponding to the call control 201 can be expanded. The function window 202 can include the user's at least one function call control. The at least one function call control can be various functions of the mobile phone, specifically including: taking pictures, images or videos, document scanning, and graffiti. The "image or video" refers to calling images or videos stored in the mobile phone. Based on this, the first input can include: the user's click input on the call control 201, and the user's selection input of a control in the function window 202.
[0086] Among them, the above-mentioned calling control 201 can be a toolbar loaded on the document editing interface in the form of a plug-in, that is, various applications with text editing functions in the first electronic device can load the calling control 201 in its toolbar in the form of a plug-in, so as to realize that the corresponding functions of the mobile phone can be called in various text editing scenarios.
[0087] It can be understood that the above-mentioned second electronic device can automatically insert the data content corresponding to the function execution result into a specific position in the document editing interface after receiving the function execution result, for example, inserting the data content corresponding to the function execution result after the cursor in the document editing interface.
[0088] The data content corresponding to the above-mentioned function execution result may include all the content in the function execution result. When the function execution result includes at least two optional contents, the data content corresponding to the function execution result may also only include the content finally selected by the user in the function execution result.
[0089] During the process of the user calling the second electronic device to insert data content corresponding to the function execution result in the document editing interface, the document editing interface can be in an editable state, that is, the user can continue to edit the text while waiting for the second electronic device to transfer the data to the first electronic device, and the user's continued text editing will not interrupt the process of the second electronic device transferring the data to the first electronic device.
[0090] The following is a specific embodiment to further explain the control method of the above-mentioned electronic device: after the user makes a first input in the document editing interface, the second electronic device displays the first function interface of the function indicated by the target function call control. Assuming that the first function interface is a shooting interface, the user can shoot the required material based on the second electronic device. After the shooting is completed, the second electronic device can directly transmit the shot image to the first electronic device, or, after the shooting is completed, the second electronic device can display the shot image and, after the user confirms, transmit the shot image to the first electronic device. After receiving the shot image, the second electronic device can directly insert the shot image after the cursor in the document editing interface. Compared with the related art, this process is conducive to simplifying the process of inserting data into text with the help of peripherals because there is no need for the user to manually start the camera of the second electronic device, nor does the user need to manually find the storage location of the shot image in the second electronic device, nor does the user need to manually insert the image.
[0091] In this embodiment, when the user needs to insert the required data in the document editing interface with the help of the second electronic device, he only needs to make a first input in the document editing interface to control the second electronic device to enter the corresponding first function interface, and can obtain the corresponding function execution result through the first function interface. Then, after receiving the function execution result sent by the second electronic device, the data content corresponding to the received function execution result can be inserted into the document editing interface. Compared with the relevant technology, this process can simplify the process of inserting data in the text with the help of an external device, thereby avoiding the problem of seriously interrupting the user's data editing ideas due to taking too long to insert data in the text with the help of an external device, thereby improving the effect of data editing.
[0092] Optionally, the at least one function call control includes at least a first function call control, a second function call control, a third function call control, a fourth function call control and a fifth function call control, the first function call control indicates a shooting function, the second function call control indicates a scanning function, the third function call control indicates a recording function, the fourth function call control indicates a data transmission function, and the fifth function call control indicates at least a graffiti function.
[0093] Specifically, when the target function calling control is a first function calling control, the function execution result may be image data obtained by capturing by calling the shooting function of the second electronic device. When the target function calling control is a second function calling control, the function execution result may be text data obtained by scanning by calling the scanning function of the second electronic device. When the target function calling control is a third function calling control, the function execution result may be audio data obtained by recording by calling the recording function of the second electronic device. When the target function calling control is a fourth function calling control, the function execution result may be multimedia data transmitted by calling the data transmission function of the second electronic device. When the target function calling control is a fifth function calling control, the function execution result may be an image drawn by the user on the second electronic device after calling the graffiti function of the second electronic device. The multimedia data may include images, text files, videos, or audio, etc.
[0094] Specifically, when the target function call control is the fourth function call control, after the second electronic device receives the function call information, a data transmission interface can be displayed, and the candidate data in the data transmission interface is the multimedia data stored in the second electronic device. The function execution result includes the candidate data selected by the user in the data transmission interface. In this way, the data stored in the second electronic device can be transferred to the first electronic device.
[0095] In this embodiment, since the first electronic device can call the second electronic device to shoot, draw, scan, record, and retrieve multimedia data stored in the second electronic device, it is helpful to meet the needs of the first electronic device to obtain target data with the help of the second electronic device in various scenarios.
[0096] Optionally, before the step of receiving a first input to a target function calling control among the at least one function calling control when the first electronic device displays the at least one function calling control, the method further includes:
[0097] receiving a third input for a third display location;
[0098] In response to the third input, displaying the at least one function calling control;
[0099] The step of displaying the function execution result on the document editing interface upon receiving the function execution result returned by the second electronic device includes:
[0100] When the function execution result returned by the second electronic device is received, the function execution result is displayed at the third display position.
[0101] Among them, the above-mentioned third display position can be an editing area inside the document editing section, for example, it can be a blank editing area in the text editing interface. When the user wants to insert target data at the third display position, and the target data needs to call a specific function of the second electronic device to obtain it, the user can make a third input at the third display position. The third input can be a pre-set input, for example, double-clicking the third display position, or right-clicking the mouse at the third display position to display the corresponding function window and select to call the function control of the second electronic device in the function window. In this way, the first electronic device can respond to the third input and display the at least one function calling control, so that the user can select the target function calling control from the at least one function calling control according to the above method, and generate the above function execution result based on it.
[0102] In this embodiment, when the function execution result returned by the second electronic device is received, the function execution result is displayed at the third display position. In this way, since the function execution result can be accurately inserted into the position selected by the user when making the third input, it avoids the problem that the user needs to manually drag the function execution result to the third display position after inserting the function execution result into the document editing interface, which is conducive to further simplifying the operation process.
[0103] Optionally, when receiving the function execution result returned by the second electronic device, before the step of displaying the function execution result at the third display position, the method further includes:
[0104] The second identification information is displayed at a third display position of the document editing interface.
[0105] The second identification information may be a rectangular frame located at the third display position, or a word “Editing” displayed at the third display position.
[0106] In this embodiment, by displaying the second identification information at the third display position of the document editing interface, the user of the first electronic device can be prompted through the second identification information that the third display position is in an editing state.
[0107] Optionally, the second electronic device returns at least two function execution results;
[0108] The step of displaying the function execution result at the third display position upon receiving the function execution result returned by the second electronic device includes:
[0109] In a case where at least two function execution results returned by the second electronic device are received, displaying the at least two function execution results at a fourth display position associated with the third display position;
[0110] receiving a fourth input of a target function execution result among the at least two function execution results;
[0111] In response to the fourth input, the target function execution result is displayed at the third display position.
[0112] The at least two function execution results may be at least two images captured by the second electronic device, or at least two scanned images scanned by the second electronic device, or at least two candidate data selected by the user in the data transmission interface of the second electronic device. For example, when the at least two function execution results are at least two images captured by the second electronic device, the process for the second electronic device to obtain the at least two function execution results may be: after obtaining an image captured by the second electronic device, the second electronic device displays the image. Meanwhile, referring to FIG6 , the second electronic device may also display an "Add" control 601 and a "Done" control 602. When the user clicks the "Add" control 601, the currently captured image is saved to the image collection, and the capture interface is entered, allowing the user to capture the next image. After the user captures another image, the currently captured image is displayed. Meanwhile, the "Add" control 601 and the "Done" control 602 are displayed. When the user clicks the "Done" control 602, the currently captured image is saved to the image collection. Then, all images in the image collection are sent to the first electronic device. Each image in the image collection is an execution result.
[0113] The fourth display position may be a display position near the third display position, or may be above the third display position. For example, referring to FIG5 , the at least two function execution results may be displayed in the form of a preview window 501 at the fourth display position, where the at least two function execution results include: execution result 1, execution result 2, and execution result 3.
[0114] The target function execution result may be any function execution result of the at least two function execution results, and the fourth input may be a click input of the user on the target function execution result in the preview window.
[0115] In this embodiment, when the second electronic device returns at least two function execution results, the at least two function execution results are displayed in the fourth display area of the text editing interface, and the target function execution result selected by the user from the at least two function execution results is displayed in the third display position, thereby ensuring that the user can select a more satisfactory target function execution result from the at least two function execution results.
[0116] Optionally, in response to the first input, sending function call information to a second electronic device corresponding to the target function call control includes:
[0117] In response to the first input, determining a screen usage status of the second electronic device;
[0118] If the screen usage status of the second electronic device is in an encrypted state, displaying a decryption interface;
[0119] receiving a fifth input to the decryption interface;
[0120] In response to the fifth input, if the first unlocking information corresponding to the fifth input matches the second unlocking information corresponding to the second electronic device, function calling information is sent to the second electronic device corresponding to the target function calling control.
[0121] Specifically, the above-mentioned second electronic device can report its own screen usage status to the first electronic device based on the connection between the second electronic device and the first electronic device. For example, the second electronic device reports its own screen usage status to the first electronic device every preset time period. In this way, the first electronic device can determine the screen usage status of the second electronic device, wherein the preset time period can be a relatively short time period, for example, the preset time period can be 5 seconds, 10 seconds, etc.
[0122] In addition, when the first electronic device receives the first input, the first electronic device may also obtain the screen usage status of the second electronic device based on the connection between the first electronic device and the second electronic device.
[0123] Among them, the above-mentioned screen usage status is an encrypted state, that is, the second electronic device is in a locked screen state, and the above-mentioned decryption interface can be various types of decryption interfaces. For example, the decryption interface can be a password input interface, and the decryption password of the password input interface is the lock screen password of the second electronic device. Among them, the above-mentioned fifth input is the decryption password entered by the user on the password input interface, and the decryption password can be used as the above-mentioned first unlocking information. The decryption password of the password input interface can be used as the above-mentioned second unlocking information. If the first unlocking information corresponding to the fifth input matches the second unlocking information corresponding to the second electronic device, the function call information is sent to the second electronic device corresponding to the target function call control.
[0124] In this embodiment, when the screen of the second electronic device is in an encrypted state, before sending function call information to the second electronic device, the user of the first electronic device is authenticated by using a decryption interface to prevent an illegal user from calling the second electronic device to execute the function indicated by the target function call control.
[0125] Optionally, before the step of receiving a first input to a target function calling control among the at least one function calling control when the first electronic device displays the at least one function calling control, the method further includes:
[0126] receiving a sixth input;
[0127] In response to the sixth input, determining function description information;
[0128] The sending, in response to the first input, function calling information to the second electronic device corresponding to the target function calling control, includes:
[0129] In response to the first input, the function calling information and the function description information are sent to a second electronic device corresponding to the target function calling control.
[0130] Among them, the above-mentioned sixth input can be the input of the function description information input by the user in the first electronic device, or, a plurality of candidate function description information can also be pre-set in the first electronic device, and the sixth input can be the user's selection input of a certain function description information among the plurality of candidate function description information.
[0131] The above-mentioned function description information may describe the function that needs to be executed by the second electronic device. For example, the function description information may include size information of the image to be generated and specific content of the material to be shot.
[0132] In this embodiment, by responding to the first input, the function call information and the function description information are sent to the second electronic device corresponding to the target function call control. This helps facilitate the user to obtain the data described by the function description information based on the function indicated by the function call information.
[0133] Please refer to FIG4 , which is a flowchart of a method for controlling an electronic device provided in some embodiments of the present application. The method includes the following steps:
[0134] Step 401: After the computer and the mobile phone are connected, at least one function call control is displayed in the text editing interface of the computer;
[0135] Step 402: When the computer receives a first input from the user to a target function call control in the text editing interface, the computer sends function call information to the mobile phone;
[0136] Step 403: The mobile phone lights up and displays the corresponding target function interface. At the same time, as shown in FIG3 , the computer may also display the call status.
[0137] Step 404: The user enters data using the mobile phone, which is automatically transferred to the computer upon completion;
[0138] Step 405: The computer inserts the received data into the current typing position of the text editing interface.
[0139] Please refer to FIG. 7 , which is a flow chart of a method for controlling an electronic device provided in an embodiment of the present application. The method for controlling an electronic device is applied to a second electronic device, and the method includes:
[0140] Step 701: upon receiving function call information sent by the first electronic device, executing a corresponding function and obtaining a function execution result;
[0141] Step 702: Send the function execution result to the first electronic device;
[0142] In which, the function call information is determined by the first electronic device in response to a first input to a target function call control among the at least one function call control when the first electronic device displays at least one function call control; the at least one function call control has a corresponding second electronic device, and the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control; the second electronic device and the first electronic device meet the connection conditions.
[0143] The above-mentioned execution of the corresponding function and obtaining the function execution result when the function call information sent by the first electronic device is received may specifically include: displaying the target function interface indicated by the function call information when the function call information sent by the first electronic device is received; receiving the user's seventh input in the target function interface; and generating the function execution result in response to the seventh input.
[0144] Specifically, the input content of the seventh input may be different depending on the target function calling control. For example, when the target function calling control is the first function calling control, the seventh input is a click input on the shooting control in the shooting interface. When the target function calling control is the second function calling control, the seventh input is an input for controlling the second electronic device to scan. When the target function calling control is the third function calling control, the seventh input is an input for controlling the second electronic device to record.
[0145] Referring to FIG. 8 , the aforementioned “upon receiving the function call information sent by the first electronic device, displaying the target function interface indicated by the function call information” may specifically include:
[0146] When the second electronic device receives the function call information, determining whether the second electronic device is in a screen-off state; if so, waking up the screen first, and then determining whether the target function interface includes the preset private data; if not, directly determining whether the target function interface includes the preset private data;
[0147] If the target function interface does not include the preset privacy data, the target function interface is displayed directly; if the target function interface includes the preset privacy data, the verification interface is displayed;
[0148] Determine whether the user has passed the verification. Only if the verification is passed will the target function interface be displayed.
[0149] The preset private data may include all multimedia data stored in the second electronic device. That is, when the target function interface is a data transmission interface, it is determined that the target function interface includes the preset private data. When the target function interface is a shooting interface, a drawing interface, a scanning interface, or an image editing interface, it is determined that the target function interface does not include the preset private data.
[0150] Alternatively, the preset privacy data may also include only part of the multimedia data in the second electronic device. For example, the user may create a private folder in the second electronic device in advance and selectively transfer the multimedia data stored in the second electronic device to the private folder. In this case, the preset privacy data only includes the multimedia data in the private folder.
[0151] The above verification interface may have various verification methods, such as password verification, fingerprint verification, face verification, iris verification, etc.
[0152] This implementation is a control method for the second electronic device corresponding to the above embodiment. Its specific implementation process corresponds to the above embodiment and will not be described again here to avoid repetition.
[0153] Please refer to FIG9 , which is a schematic diagram of the structure of a control device 900 of an electronic device provided in an embodiment of the present application. The control device 900 of an electronic device is applied to a first electronic device, and the device includes:
[0154] A receiving module 901 is configured to receive, when the first electronic device displays at least one function-calling control, a first input to a target function-calling control among the at least one function-calling control; the at least one function-calling control has a corresponding second electronic device, and the second electronic device and the first electronic device meet a connection condition;
[0155] A sending module 902 is configured to send function call information to a second electronic device corresponding to the target function call control in response to the first input; the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control;
[0156] The display module 903 is configured to display the function execution result upon receiving the function execution result returned by the second electronic device.
[0157] Optionally, the receiving module 901 is further configured to receive a second input of the first object;
[0158] The display module 903 is further configured to display the at least one function calling control in response to the second input;
[0159] The sending module 902 is specifically configured to send the function calling information and the first object to the second electronic device corresponding to the target function calling control in response to the first input.
[0160] Optionally, the function execution result is a second object, and the second object is a result of the second electronic device processing the first object using the function indicated by the target function calling control;
[0161] The display module 903 is specifically configured to display the second object at a second display position associated with the first display position of the first object when the second object returned by the second electronic device is received;
[0162] Alternatively, the display module 903 is specifically configured to replace the first object with the second object when the second object returned by the second electronic device is received.
[0163] Optionally, the first object includes at least one of the following: image, audio, video, and text.
[0164] Optionally, the display module 903 is further configured to display first identification information at a first display position of the first object.
[0165] Optionally, the at least one function call control is displayed on the document editing interface of the first electronic device; the display module 903 is specifically used to display the function execution result on the document editing interface when the function execution result returned by the second electronic device is received.
[0166] Optionally, the at least one function calling control includes at least a first function calling control, a second function calling control, and a third function calling control, wherein the first function calling control indicates a shooting function, the second function calling control indicates a scanning function, and the third function calling control indicates a recording function.
[0167] Optionally, the receiving module 901 is further configured to receive a third input for a third display position;
[0168] The display module 903 is further configured to display the at least one function calling control in response to the third input;
[0169] The display module 903 is specifically configured to display the function execution result at the third display position upon receiving the function execution result returned by the second electronic device.
[0170] Optionally, the display module 903 is further configured to display second identification information at a third display position of the document editing interface.
[0171] Optionally, the second electronic device returns at least two function execution results;
[0172] The display module 903 is further configured to, upon receiving at least two function execution results returned by the second electronic device, display the at least two function execution results at a fourth display position associated with the third display position;
[0173] The receiving module 901 is further configured to receive a fourth input of a target function execution result among the at least two function execution results;
[0174] The display module 903 is specifically configured to display the target function execution result at the third display position in response to the fourth input.
[0175] Optionally, the sending module 902 includes:
[0176] a determination submodule, configured to determine a screen usage status of the second electronic device in response to the first input;
[0177] A display submodule, configured to display a decryption interface if the screen usage status of the second electronic device is an encrypted state;
[0178] A receiving submodule, configured to receive a fifth input to the decryption interface;
[0179] The sending submodule is configured to send function calling information to the second electronic device corresponding to the target function calling control in response to the fifth input if the first unlocking information corresponding to the fifth input matches the second unlocking information corresponding to the second electronic device.
[0180] Optionally, the receiving module 901 is further configured to receive a sixth input;
[0181] The apparatus further includes: a determining module configured to determine function description information in response to the sixth input;
[0182] The sending module 902 is specifically configured to send the function calling information and the function description information to the second electronic device corresponding to the target function calling control in response to the first input.
[0183] It can be understood that the control device 900 of the electronic device provided in the embodiment of the present application can implement each process of the control method of the electronic device described in the above embodiment and has the same beneficial effects. To avoid repetition, it will not be described here.
[0184] In this embodiment, when a user needs to call a second electronic device to execute a related function based on a first electronic device, since the first electronic device displays at least one function calling control, the user can quickly call the second electronic device to execute the related function through the function calling control displayed in the first electronic device, and use the function execution result of the second electronic device in the first electronic device, thereby simplifying the user operation.
[0185] The control device 900 of the electronic device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.
[0186] The control device 900 of the electronic device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0187] The control device 900 of the electronic device provided in the embodiment of the present application can implement each process implemented by the method embodiments of Figures 1 and 4. To avoid repetition, they are not described here.
[0188] Please refer to FIG. 10 , which is a schematic diagram of the structure of a control device 1000 of an electronic device provided in an embodiment of the present application. The control device 1000 of an electronic device is applied to a second electronic device, and includes:
[0189] The execution module 1001 is configured to execute a corresponding function upon receiving function call information sent by the first electronic device, and obtain a function execution result;
[0190] A sending module 1002 is configured to send the function execution result to the first electronic device;
[0191] In which, the function call information is determined by the first electronic device in response to a first input to a target function call control among the at least one function call control when the first electronic device displays at least one function call control; the at least one function call control has a corresponding second electronic device, and the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control; the second electronic device and the first electronic device meet the connection conditions.
[0192] It can be understood that the control device 1000 of the electronic device provided in the embodiment of the present application can implement each process of the control method of the electronic device described in the above embodiment and has the same beneficial effects. To avoid repetition, it will not be described here.
[0193] The control device 1000 of the electronic device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.
[0194] The control device 1000 of the electronic device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0195] The control device 1000 of the electronic device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 7. To avoid repetition, they are not described here.
[0196] Optionally, as shown in Figure 11, an embodiment of the present application provides an electronic device 1100, including a processor 1101, a memory 1102, and a program or instruction stored in the memory 1102 and executable on the processor 1101. When the program or instruction is executed by the processor 1101, the various processes of the embodiment described in Figure 1 or Figure 7 above are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.
[0197] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0198] FIG12 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application.
[0199] The electronic device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, and a processor 1210.
[0200] The user input unit 1207 is configured to receive a first input to a target function call control among the at least one function call control when the first electronic device displays at least one function call control; the at least one function call control has a corresponding second electronic device, and the second electronic device and the first electronic device meet a connection condition;
[0201] The radio frequency unit 1201 is configured to send function call information to a second electronic device corresponding to the target function call control in response to the first input; the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control;
[0202] The display unit 1206 is configured to display the function execution result upon receiving the function execution result returned by the second electronic device.
[0203] Optionally, the user input unit 1207 is further configured to receive a second input on the first object;
[0204] The display unit 1206 is further configured to display the at least one function calling control in response to the second input;
[0205] The radio frequency unit 1201 is configured to send the function calling information and the first object to a second electronic device corresponding to the target function calling control in response to the first input.
[0206] Optionally, the display unit 1206 is further configured to display the second object at a second display position associated with the first display position of the first object when receiving the second object returned by the second electronic device;
[0207] Alternatively, the display unit 1206 is further configured to, upon receiving the second object returned by the second electronic device, replace the first object with the second object.
[0208] Optionally, the display unit 1206 is further configured to display first identification information at a first display position of the first object.
[0209] Optionally, the display unit 1206 is further configured to display the function execution result on the document editing interface when receiving the function execution result returned by the second electronic device.
[0210] Optionally, the user input unit 1207 is further configured to receive a third input for a third display position;
[0211] The display unit 1206 is further configured to display the at least one function calling control in response to the third input;
[0212] The display unit 1206 is further configured to display the function execution result at the third display position upon receiving the function execution result returned by the second electronic device.
[0213] Optionally, the display unit 1206 is further configured to display second identification information at a third display position of the document editing interface.
[0214] Optionally, the display unit 1206 is further configured to, upon receiving at least two function execution results returned by the second electronic device, display the at least two function execution results at a fourth display position associated with the third display position;
[0215] The user input unit 1207 is further configured to receive a fourth input regarding a target function execution result among the at least two function execution results;
[0216] The display unit 1206 is further configured to display the target function execution result at the third display position in response to the fourth input.
[0217] Optionally, the processor 1210 is configured to determine a screen usage status of the second electronic device in response to the first input;
[0218] The display unit 1206 is further configured to display a decryption interface if the screen usage status of the second electronic device is an encrypted state;
[0219] The user input unit 1207 is further configured to receive a fifth input to the decryption interface;
[0220] The radio frequency unit 1201 is further configured to respond to the fifth input and, if the first unlocking information corresponding to the fifth input matches the second unlocking information corresponding to the second electronic device, send function calling information to the second electronic device corresponding to the target function calling control.
[0221] Optionally, the user input unit 1207 is further configured to receive a sixth input;
[0222] The processor 1210 is further configured to determine function description information in response to the sixth input;
[0223] The radio frequency unit 1201 is further configured to send the function calling information and the function description information to a second electronic device corresponding to the target function calling control in response to the first input.
[0224] Those skilled in the art will appreciate that the electronic device 1200 may further include a power source (such as a battery) for powering various components. The power source may be logically connected to the processor 1210 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG12 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.
[0225] It should be understood that in an embodiment of the present application, the input unit 1204 may include a graphics processing unit (GPU) 12041 and a microphone 12042, and the graphics processor 12041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts: a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0226] The memory 1209 can be used to store software programs and various data. The memory 1209 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1209 may include a volatile memory or a non-volatile memory, or the memory x09 may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 1209 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0227] Processor 1210 may include one or more processing units. Optionally, processor 1210 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1210.
[0228] FIG13 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application.
[0229] The electronic device 1300 includes but is not limited to components such as a radio frequency unit 1301 , a network module 1302 , an audio output unit 1303 , an input unit 1304 , a sensor 1305 , a display unit 1306 , a user input unit 1307 , an interface unit 1308 , a memory 1309 , and a processor 1310 .
[0230] The processor 1310 is configured to execute a corresponding function and obtain a function execution result upon receiving function call information sent by the first electronic device;
[0231] The radio frequency unit 1301 is configured to send the function execution result to the first electronic device;
[0232] In which, the function call information is determined by the first electronic device in response to a first input to a target function call control among the at least one function call control when the first electronic device displays at least one function call control; the at least one function call control has a corresponding second electronic device, and the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control; the second electronic device and the first electronic device meet the connection conditions.
[0233] Those skilled in the art will appreciate that the electronic device 1300 may further include a power source (e.g., a battery) to power various components. The power source may be logically connected to the processor 1310 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG13 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.
[0234] It should be understood that in an embodiment of the present application, the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042, and the graphics processor 13041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1307 includes a touch panel 13071 and other input devices 13072. The touch panel 13071 is also called a touch screen. The touch panel 13071 may include two parts: a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here.
[0235] Memory 1309 can be used to store software programs and various data. Memory 1309 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). Furthermore, memory 1309 may include volatile memory or non-volatile memory, or memory 1309 may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 1309 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0236] Processor 1310 may include one or more processing units. Optionally, processor 1310 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1310.
[0237] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the control method embodiment of the above-mentioned electronic device are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0238] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk.
[0239] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned electronic device control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0240] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0241] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0242] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0243] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. A control method of an electronic device, applied to a first electronic device, the method comprising: In a case where the first electronic device displays at least one function calling control, receiving a first input to a target function calling control among the at least one function calling control; The at least one function calling control has a corresponding second electronic device, and the second electronic device meets a connection condition with the first electronic device; In response to the first input, sending function calling information to a second electronic device corresponding to the target function calling control; The function calling information is used to instruct the second electronic device to execute the function indicated by the target function calling control; When the function execution result returned by the second electronic device is received, the function execution result is displayed.
2. The method according to claim 1, wherein: Before the step of receiving a first input to a target function calling control in the at least one function calling control when the first electronic device displays at least one function calling control, the method further includes: receiving a second input to the first object; In response to the second input, displaying the at least one function calling control; The sending, in response to the first input, function calling information to a second electronic device corresponding to the target function calling control comprises: In response to the first input, the function calling information and the first object are sent to a second electronic device corresponding to the target function calling control.
3. The method according to claim 2, wherein: The function execution result is a second object, and the second object is a result of the second electronic device processing the first object using the function indicated by the target function calling control; The step of displaying the function execution result upon receiving the function execution result returned by the second electronic device includes: In case of receiving the second object returned by the second electronic device, displaying the second object at a second display position associated with the first display position of the first object; Alternatively, when the second object returned by the second electronic device is received, the first object is displayed in place of the second object.
4. The method according to claim 2, wherein: The first object includes at least one of the following: image, audio, video, and text.
5. The method according to claim 2, wherein: Before the step of displaying the function execution result when receiving the function execution result returned by the second electronic device, the method further includes: First identification information is displayed at a first display position of the first object.
6. The method according to claim 1, wherein: Displaying the at least one function calling control on the document editing interface of the first electronic device; The step of displaying the function execution result upon receiving the function execution result returned by the second electronic device includes: When the function execution result returned by the second electronic device is received, the function execution result is displayed on the document editing interface.
7. The method according to claim 6, wherein: The at least one function calling control includes at least a first function calling control, a second function calling control, and a third function calling control. The first function calling control indicates a shooting function, the second function calling control indicates a scanning function, and the third function calling control indicates a recording function.
8. The method according to claim 6, wherein: Before the step of receiving a first input to a target function calling control in the at least one function calling control when the first electronic device displays at least one function calling control, the method further includes: receiving a third input for a third display location; In response to the third input, displaying the at least one function calling control; The step of displaying the function execution result on the document editing interface upon receiving the function execution result returned by the second electronic device includes: When the function execution result returned by the second electronic device is received, the function execution result is displayed at the third display position.
9. The method according to claim 8, wherein: In the case of receiving the function execution result returned by the second electronic device, before the step of displaying the function execution result at the third display position, the method further includes: The second identification information is displayed at a third display position of the document editing interface.
10. The method according to claim 8, wherein: The second electronic device returns at least two function execution results; The step of displaying the function execution result at the third display position upon receiving the function execution result returned by the second electronic device comprises: In case of receiving at least two function execution results returned by the second electronic device, displaying the at least two function execution results at a fourth display position associated with the third display position; Receiving a fourth input of a target function execution result among the at least two function execution results; In response to the fourth input, the target function execution result is displayed at the third display position.
11. The method according to claim 1, wherein: The sending, in response to the first input, function calling information to a second electronic device corresponding to the target function calling control comprises: In response to the first input, determining a screen usage status of the second electronic device; If the screen usage status of the second electronic device is in an encrypted state, displaying a decryption interface; receiving a fifth input to the decryption interface; In response to the fifth input, if the first unlocking information corresponding to the fifth input matches the second unlocking information corresponding to the second electronic device, function calling information is sent to the second electronic device corresponding to the target function calling control.
12. The method according to claim 1, wherein: Before the step of receiving a first input to a target function calling control in the at least one function calling control when the first electronic device displays at least one function calling control, the method further includes: receiving a sixth input; In response to the sixth input, determining functional description information; The sending, in response to the first input, function calling information to a second electronic device corresponding to the target function calling control comprises: In response to the first input, the function calling information and the function description information are sent to a second electronic device corresponding to the target function calling control.
13. A control method of an electronic device, applied to a second electronic device, the method comprising: When receiving the function calling information sent by the first electronic device, executing the corresponding function and obtaining the function execution result; Sending the function execution result to the first electronic device; Among them, the function call information is determined by the first electronic device in response to a first input to a target function call control among the at least one function call control when the first electronic device displays at least one function call control; the at least one function call control has a corresponding second electronic device, and the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control; the second electronic device and the first electronic device meet the connection conditions.
14. A control device for an electronic device, applied to a first electronic device, the device comprising: a receiving module, configured to receive a first input to a target function calling control in the at least one function calling control when the first electronic device displays at least one function calling control; the at least one function calling control has a corresponding second electronic device, and the second electronic device meets a connection condition with the first electronic device; A sending module, configured to send function calling information to a second electronic device corresponding to the target function calling control in response to the first input; The function calling information is used to instruct the second electronic device to execute the function indicated by the target function calling control; The display module is configured to display the function execution result upon receiving the function execution result returned by the second electronic device.
15. The device according to claim 14, wherein: The receiving module is further used to receive a second input of the first object; The display module is further configured to display the at least one function calling control in response to the second input; The sending module is specifically configured to send the function calling information and the first object to a second electronic device corresponding to the target function calling control in response to the first input.
16. The device according to claim 15, wherein: The function execution result is a second object, and the second object is a result of the second electronic device processing the first object using the function indicated by the target function calling control; The display module is specifically configured to display the second object at a second display position associated with the first display position of the first object when receiving the second object returned by the second electronic device; Alternatively, the display module is specifically configured to replace the first object with the second object when the second object returned by the second electronic device is received.
17. The device according to claim 15, wherein: The first object includes at least one of the following: image, audio, video, and text.
18. A control device for an electronic device, applied to a second electronic device, the device comprising: An execution module, configured to execute a corresponding function and obtain a function execution result when receiving the function call information sent by the first electronic device; A sending module, used for sending the function execution result to the first electronic device; Among them, the function call information is determined by the first electronic device in response to a first input to a target function call control among the at least one function call control when the first electronic device displays at least one function call control; the at least one function call control has a corresponding second electronic device, and the function call information is used to instruct the second electronic device to execute the function indicated by the target function call control; the second electronic device and the first electronic device meet the connection conditions.
19. An electronic device comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 13 are implemented.
20. A readable storage medium storing a program or an instruction, wherein the program or the instruction is executed by a processor to implement the steps of the method according to any one of claims 1 to 13.
21. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the method according to any one of claims 1 to 13.
22. A computer program product, the program product being executed by at least one processor to implement the steps of the method according to any one of claims 1 to 13.
23. An electronic device configured to perform the steps of the method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Information processing method and electronic devices
CN106301598A
Shooting method and device, electronic equipment and readable storage medium
CN112637507A
Electronic equipment control method and device, electronic equipment and medium
CN117596326A
Externally hanging-type photographing and identification camera of notebook computer
CN201491128U
Access control method and related apparatus
WO2022170946A1