Operation sharing method and device, electronic equipment and storage medium
By obtaining and sharing target operation information and generating adaptation script files, the inefficiency problem caused by the complexity of electronic device operations is solved, and operation sharing and time saving between devices are achieved.
Patent Information
- Application Number
- CN202410704714.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-08-23
AI Technical Summary
The operation of electronic equipment is complex and difficult for users to understand and become familiar with, resulting in low operating efficiency. The traditional remote operation of asking for help from others is time-consuming and affects the user experience.
By obtaining the target description information of the target operation, the target operation information is determined and shared to the second device, so that it can generate a script file adapted to the operating system to achieve the target operation and improve user operation efficiency.
It realizes operation sharing between devices. Users can directly execute the adaptation script file, saving time and cost, improving operation efficiency, and is suitable for operation sharing between different operating systems.
Smart Images

Figure CN118535286A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and more specifically, to an operation sharing method, device, electronic device and storage medium. Background Art
[0002] With the rapid advancement of technology and living standards, electronic devices (such as smart phones, tablet computers, etc.) have become one of the commonly used electronic products in people's lives. In addition, as the functions of electronic devices increase, the operation methods of electronic devices become more and more complicated. Among the many operations, there are operations that users do not understand or are not familiar with, resulting in low operating efficiency when users use electronic devices. Summary of the invention
[0003] The present application proposes an operation sharing method, device, electronic device and storage medium, which can improve the user's operation efficiency and save the user's time cost.
[0004] In a first aspect, an embodiment of the present application provides an operation sharing method, which is applied to a first device, and the method includes: obtaining target description information of a target operation; based on the target description information, determining target operation information for implementing the target operation; sharing the target operation information to a second device, so that the second device generates a first script file adapted to an operating system of the second device based on the target operation information, and the first script file is used to be executed by the second device to implement the target operation.
[0005] In second aspect, an embodiment of the present application provides an operation sharing method, which is applied to a second device, and the method includes: obtaining target operation information shared by a first device for implementing a target operation; based on the target operation information, generating a first script file adapted to an operating system of the second device; and executing the first script file to implement the target operation.
[0006] In the third aspect, an embodiment of the present application provides an operation sharing device, which is applied to a first device, and the device includes: a first information acquisition module, a second information acquisition module and an information sharing module, wherein the first information acquisition module is used to obtain target description information of the target operation; the second information acquisition module is used to determine target operation information for implementing the target operation based on the target description information; the information sharing module is used to share the target operation information to a second device, so that the second device generates a first script file adapted to the operating system of the second device based on the target operation information, and the first script file is used to be executed by the second device to implement the target operation.
[0007] In a fourth aspect, an embodiment of the present application provides an operation sharing device, which is applied to a second device, and the device includes: a third information acquisition module, a script generation module and a script execution module, wherein the third information acquisition module is used to obtain target operation information shared by the first device for achieving the target operation; the script generation module is used to generate a first script file adapted to the operating system of the second device based on the target operation information; and the script execution module is used to execute the first script file to achieve the target operation.
[0008] In the fifth aspect, an embodiment of the present application provides an operation sharing system, which includes a first device, a server and a second device, wherein the first device is used to obtain target description information of the target operation, determine target operation information for implementing the target operation based on the target description information, and send the target operation information to the server; the server is used to receive the target operation information, and based on the target operation information, generate a first script file adapted to the operating system of the second device, and send the first script file to the second device; the second device is used to receive the first script file and execute the first script file to implement the target operation.
[0009] In the sixth aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the operation sharing method provided in the first aspect above or the operation sharing method provided in the second aspect above.
[0010] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which program code is stored. The program code can be called by a processor to execute the operation sharing method provided in the first aspect or the operation sharing method provided in the second aspect.
[0011] The solution provided by the present application obtains target description information of the target operation, determines target operation information for realizing the target operation based on the target description information, and shares the target operation information to a second device, so that the second device generates a first script file adapted to the operating system of the second device based on the target operation information, and the first script file is used to be executed by the second device to realize the target operation. As a result, the device with the shared target operation can directly execute the script file adapted to its operating system, thereby realizing the target operation shared by the opposite device, thereby improving the user's operating efficiency and saving the user's time cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0013] Figure 1 A schematic diagram of an application environment provided by an embodiment of the present application is shown.
[0014] Figure 2 A flow chart of an operation sharing method according to an embodiment of the present application is shown.
[0015] Figure 3 A flow chart of an operation sharing method according to another embodiment of the present application is shown.
[0016] Figure 4 A schematic flow chart of an operation sharing method according to yet another embodiment of the present application is shown.
[0017] Figure 5 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0018] Figure 6 A flow chart of an operation sharing method according to another embodiment of the present application is shown.
[0019] Figure 7 A schematic flow chart of an operation sharing method according to yet another embodiment of the present application is shown.
[0020] Figure 8 A schematic flow chart of an operation sharing method according to yet another embodiment of the present application is shown.
[0021] Fig. 9 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0022] Fig.10 A block diagram of an operation sharing device according to an embodiment of the present application is shown.
[0023] Fig.11 A block diagram of an operation sharing device according to an embodiment of the present application is shown.
[0024] Fig.12 It is a block diagram of an electronic device according to an embodiment of the present application for executing the operation sharing method according to an embodiment of the present application.
[0025] Fig.13 It is a storage unit of an embodiment of the present application for storing or carrying program codes for implementing the operation sharing method according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0027] At present, there are more and more operations in electronic devices, and among the many operations, there are operations that users do not understand or are not familiar with, which leads to low operating efficiency when users use electronic devices. For example, when the elderly first use a mobile phone or buy a new mobile phone, they will be very unfamiliar with the operation of the mobile phone for a long time. For example, one of the common scenarios is that they need to connect to the WiFi router at home, but the whole operation process is very complicated. They need to find the router first, then find the username and password, then find the settings on the mobile phone, enter the settings interface, and finally connect to the selected WIFI hotspot and enter the password.
[0028] Of course, when a user does not know how to operate and set a certain operation of an electronic device, he can ask others to use the electronic device to remotely operate his electronic device and complete the relevant operation. However, the method of completing the operation by asking others to remotely operate is time-consuming and also affects the efficiency of the user's operation of the electronic device.
[0029] In response to the above problems, the inventors have proposed the operation sharing method, device, electronic device and storage medium provided in the embodiments of the present application, which can enable the device whose target operation is shared to directly execute the script file adapted to its operating system, thereby realizing the target operation shared by the peer device, thereby improving the user's operating efficiency and saving the user's time cost. The specific operation sharing method is described in detail in the subsequent embodiments.
[0030] The following first introduces the scenarios involved in the embodiments of the present application.
[0031] like Figure 1 As shown, in Figure 1 The scene shown includes a first device 10 and a second device 20. The first device 10 and the second device 20 may be devices capable of running applications, such as smart phones, tablet computers, smart watches, e-books, smart home appliances, and vehicle-mounted terminals. The second device 10 and the second device 20 may communicate with each other to complete the required data interaction.
[0032] In an embodiment of the present application, the first device 10 can obtain target description information of the target operation, determine target operation information used to achieve the target operation based on the target description information, and then share the target operation information to the second device 20; correspondingly, the second device 20 can obtain the target operation information shared by the first device 10, and then generate a first script file adapted to the operating system of the second device based on the target operation information, and execute the first script file to achieve the above target operation. In this way, the device with the shared target operation can directly execute the script file adapted to its operating system, thereby achieving the target operation shared by the opposite device, thereby improving the user's operating efficiency.
[0033] The following is a detailed description of the method for sending device information provided in the embodiment of the present application in conjunction with the accompanying drawings.
[0034] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of an operation sharing method provided by an embodiment of the present application. In a specific embodiment, the operation sharing method is applied to the first device mentioned above. Figure 2 The process shown is described in detail, and the operation sharing method may specifically include the following steps:
[0035] Step S110: Obtain target description information of the target operation.
[0036] In the embodiment of the present application, the target operation may include an operation for realizing the target function in the electronic device, an operation for setting the target, etc. For example, the target operation may be an operation for connecting to a WiFi hotspot, or another example, the target operation may be an operation for setting location sharing; the target description information may be description information for the implementation process of the target operation, and the target description information may include the operation flow, operation content, and operation position in the interface for the target operation. When the first device needs to share the target operation with the second device, it may obtain the target description information of the target operation so as to realize the sharing of the target operation later.
[0037] In some implementations, the first device may obtain the target description information of the target operation by obtaining the information input by the user. For example, the first device may obtain the text information input by the user to obtain the above target description information; for another example, the first device may collect the voice input by the user and convert the collected voice into text information to obtain the above target description information. Of course, in the embodiment of the present application, the specific manner in which the first device obtains the target description information input by the user may not be limited.
[0038] In some implementations, since the first device shares the target operation, the first device can also determine the above target description information based on the target operation performed by the user on the first device. For example, when the user performs the target operation, the first device can record the operation interface, operation content, operation position in the interface, etc. in the process, and obtain the recorded historical operation information, and then determine the above target description information based on the historical operation information.
[0039] In some embodiments, the first device may be responsive to a sharing operation input by a user and execute the step of obtaining target description information of the target operation, as well as subsequent steps, i.e., execute the operation sharing method provided in the embodiment of the present application; or the first device may be, after receiving an operation assistance request sent by the second device, execute the step of obtaining target description information of the target operation, as well as subsequent steps based on a detected determination operation for the operation assistance request.
[0040] Step S120: Based on the target description information, determine target operation information for implementing the target operation.
[0041] In an embodiment of the present application, when the first device needs to share the target operation with the second device, after obtaining the target description information of the target operation, the target description information can be processed to determine the target operation information for implementing the target operation. The target operation information may include basic elements for implementing the target operation, and the target operation information may be used to generate script files matching different operating systems, and it can also be understood that the target operation information is universal between devices with different operating systems.
[0042] It is understandable that in the process of implementing the target operation, it is usually necessary to supplement other information for implementing the target operation on the basis of the information for implementing the target operation contained in the target description information. Therefore, the first device can determine the target operation information based on the above target description information, so that the second device can subsequently generate a script file that can implement the target operation according to the target operation information. For example, when implementing the connection operation of a WiFi hotspot, in addition to the operation steps of entering different interfaces and clicking different controls, it is also necessary to select the corresponding WiFi hotspot and enter the password of the WiFi hotspot. The shared device (i.e., the second device) usually hopes that no additional operations or too many additional operations are required. Therefore, when the first device shares the above connection operation of connecting to the WiFi hotspot, it can determine the WiFi hotspot and its password that need to be connected as supplementary information, and determine the target operation information based on the description information and supplementary information of the above connection operation.
[0043] In some embodiments, other information that needs to be supplemented for achieving the target operation based on the information for achieving the target operation included in the above target description information may be information stored locally by the first device. That is, when the first device determines the target operation information for achieving the target operation based on the target description information, it may determine other information that needs to be supplemented based on the information for achieving the target operation included in the target description information, read the information that needs to be supplemented locally to obtain the supplemented information, and determine the target operation information based on the information for achieving the target operation included in the target description information and the above supplemented information.
[0044] Step S130: Share the target operation information to the second device, so that the second device generates a first script file adapted to the operating system of the second device based on the target operation information, and the first script file is used to be executed by the second device to implement the target operation.
[0045] In an embodiment of the present application, after determining the target operation information for realizing the above target operation, the first device can share the target operation information with the second device; correspondingly, the second device can obtain the target operation information shared by the first device. After the second device obtains the above target operation information, since the target operation information is the operation information for realizing the target operation, the second device can generate a script file adapted to its operating system based on the above target operation information, and use it as the first script file, and then execute the first script file, so as to automatically realize the target operation. Among them, the script file is an executable file written in a certain format using a specific descriptive language, similar to a batch file in a DOS operating system, which can combine different commands and automatically execute them in a determined order. It can be understood that since the script file is generated by the second device itself according to the target operation information, it can finally obtain a script file adapted to the operating system of the second device, thereby realizing the sharing of operations between different operating systems, effectively improving the user's operating efficiency.
[0046] In some embodiments, the first device can share the target operation information with the second device by sending a short message. For example, the target operation information can be sent to the second device as a short message. The first device can also upload the target operation information to a server, and then the server sends the target operation information to the second device, so that the second device can obtain the target operation information.
[0047] Optionally, the first device may also send the target operation information to the server, so that the server generates an access link corresponding to the target operation information, and pushes the access link to the second device, and the access link is used to obtain the target operation information; correspondingly, after the second device obtains the access link, it can access the access link according to the user operation, so as to obtain the above target operation information. Of course, the specific method of the first device sharing the target operation information to the second device is not limited.
[0048] The operation sharing method provided in the embodiment of the present application can enable the device whose target operation is shared to directly execute the script file adapted to its operating system, thereby realizing the target operation shared by the other device, thereby improving the user's operating efficiency and saving the user's time cost; and, operation sharing can be realized between different operating systems, effectively improving the user's operating efficiency.
[0049] See also Figure 3 , Figure 3 A schematic diagram of a process flow of an operation sharing method provided by another embodiment of the present application is shown. The operation sharing method is applied to the first device mentioned above. Figure 3 The process shown is described in detail, and the operation sharing method may specifically include the following steps:
[0050] Step S210: Obtain target description information of the target operation.
[0051] In the embodiment of the present application, step S210 can refer to the contents of other embodiments and will not be repeated here.
[0052] Step S220: Based on the target description information and using a pre-trained first language model, determine target operation information for implementing the target operation.
[0053] In an embodiment of the present application, when the first device determines the target operation information for implementing the target operation based on the target description information, it can use a pre-trained first large language model (Large Language Model, LLM) to determine the target operation information for implementing the target operation. The large language model refers to a complex artificial neural network trained based on a large amount of data and computing resources, which can learn rich language patterns and knowledge, thereby generating accurate responses to natural language input.
[0054] In some embodiments, first prompt information for input into a first large language model can be generated based on the target description information, and the first prompt information is used to prompt the first large language model to generate operation information to be shared for the target operation; then, the first prompt information is input into the first large language model to obtain the above target operation information output by the first large language model.
[0055] The first language model can be a pre-trained model that can understand the description information of the input corresponding operation. The first language model can be a generative language model based on AIGC, and the first language model can generate target operation information for implementing the target operation according to the first prompt information. The first language model understands the first prompt information according to the first prompt information, and after obtaining the user's intention, it can output the target operation information for implementing the target operation according to the description information of the target operation in the first prompt information.
[0056] In a possible implementation, feature extraction can be performed on the above target description information, and then the extracted features are converted into the feature space of the large language model, that is, they are converted into text tokens that are usually input into the large language model to obtain the first prompt information for inputting the first large language model.
[0057] In some embodiments, considering that the capabilities of the large language model are relatively broad, a low-rank adaptation (LoRA) model can be added to the large language model, and the operation description information in different operation scenarios is used to train the LoRA model, so that the large language model can better generate operation information in these operation scenarios. Among them, the LoRA model is obtained by fine-tuning the cross attention layer in the UNet module in the large language model; the LoRA model is applied to the cross attention layer in the large language model, and the operation description information in the corresponding operation scenario is used for training while freezing the parameters of the large language model, so that a LoRA model that can better generate operation information in the scenario can be obtained. When used, the parameters of the LoRA model are injected into the large language model, so that the large language model outputs the operation information in the scenario.
[0058] In one possible implementation, considering that large language models are learned on general training corpora and cannot have a good understanding of concepts and nouns in special fields, when training the first large language model above, domain data in the field of electronic devices can be added to the training corpus to help the model have a better understanding ability in the field of electronic devices.
[0059] In a possible implementation, when training the above large language model, the vocabulary can also be expanded mechanically. Specifically, the complete corpus can be segmented and a list can be formed as the training corpus. In addition, in order to reduce the difficulty of model training, the vocabulary can also be expanded on the original vocabulary, that is, the text tokens of the scene are added to the original tokenizer.
[0060] In the above implementation, the first prompt information may be a prompt word, i.e., prompt, for prompting the large language model to generate operation information. The first prompt information may provide the user's intention. After the large language model subsequently understands the first prompt information, it may know the user's intention and perform corresponding processing according to the user's intention.
[0061] For example, the user needs to help parents set the home WiFi password and connect the device. For the "set WiFi password and connect" operation, the prompt may be: turn on the router and find the default username and password; use a computer or mobile device to open a web browser; enter the router IP address, usually 192.168.1.1 or 192.168.0.1; log in to the router and enter the default username and password; find the wireless or WiFi setting options; enter the new password in the password or security key field; click Save or Apply.
[0062] It should be noted that the above first language model can be deployed locally on the first device or in a server. If the first language model is deployed locally on the first device, when the first device needs to use the first language model to determine the target operation information of the target operation, it can directly call the local first language model, and then determine the target operation information of the target operation through the first language model; if the first language model is deployed in a server, when the first device needs to use the first language model to determine the operation information of the target operation, it can upload the target description information of the target operation to the server, and after the server determines the operation information of the target operation by calling the first language model, it returns the target operation information of the target operation to the first device, so that the first device can obtain the target operation information of the target operation.
[0063] Step S230: Share the target operation information to the second device, so that the second device generates a first script file adapted to the operating system of the second device based on the target operation information, and the first script file is used to be executed by the second device to implement the target operation.
[0064] In the embodiment of the present application, step S230 can refer to the contents of other embodiments and will not be repeated here.
[0065] The operation sharing method provided in the embodiment of the present application can enable the device whose target operation is shared to directly execute the script file adapted to its operating system, thereby realizing the target operation shared by the opposite device, thereby improving the user's operating efficiency and saving the user's time cost, and can realize the sharing of operations between different operating systems, effectively improving the user's operating efficiency; in addition, by determining the target operation information used to realize the target operation through a pre-trained large language model, the accuracy of the generated script file can be improved, so that the operation required by the user can be accurately realized.
[0066] See also Figure 4 , Figure 4 A schematic diagram of a process flow of an operation sharing method provided by another embodiment of the present application is shown. The operation sharing method is applied to the first device mentioned above. Figure 4 The process shown is described in detail, and the operation sharing method may specifically include the following steps:
[0067] Step S310: Display the interactive interface of the smart assistant.
[0068] In an embodiment of the present application, when the first device obtains the operation description information of the target operation, it may obtain the target description information through an intelligent assistant. The first device may display an interactive interface of the intelligent assistant so that the user can input the target description information of the target operation in the interactive interface.
[0069] In some embodiments, the first device may display the above interactive interface in response to a call operation for the smart assistant. Optionally, the first device may display the interactive interface corresponding to the smart assistant based on the voice information input by the user for waking up the smart assistant; it may also display the interactive interface corresponding to the smart assistant in response to a trigger operation for the application icon of the smart assistant; it may also display the interactive interface corresponding to the smart assistant in response to a sliding operation that meets a target sliding condition at a target position in the display interface, and the target sliding condition may be that the sliding direction is the target sliding direction, the sliding distance is greater than the target distance, etc. Of course, the specific triggering method for triggering the display of the interactive interface of the smart assistant may not be limited.
[0070] For example, see Figure 5 The first device can display the interactive interface A1 of the intelligent assistant in response to the user operation. In the interactive interface A1, the user can input multimodal information such as text, pictures, and voice to input target description information of the target operation.
[0071] Step S320: Acquire the target description information input in the interactive interface.
[0072] In an embodiment of the present application, after displaying the interactive interface of the intelligent assistant, the first device can detect the information input in the interactive interface to obtain target description information of the target operation.
[0073] In some embodiments, the first device may obtain target description information input by text input, or may obtain target description information input by voice input, which is not limited here. As an implementable manner, if the target description information is input by text, the input text may be determined as the target description information. As another implementable manner, if the target description information is input by voice, the input voice may be converted to text, and the text obtained after the conversion may be determined as the target description information, wherein the input voice may be converted to text by automatic speech recognition (ASR) technology.
[0074] Of course, the specific manner in which the first device obtains the target description information input in the interactive interface may not be limited. For example, the first device may obtain an input image, then perform content recognition on the image, and determine the above target description information based on the recognized content. For another example, the first device may obtain an input video, then perform content recognition on the video image, and perform speech-to-text processing based on the audio in the video, and then determine the above target description information based on the content recognized in the video image and the content obtained by speech-to-text conversion.
[0075] In some embodiments, before displaying the above interactive interface, the first device may obtain scene information of the scene in which the first device is currently located; when displaying the above interactive interface, the first device may display the above interactive interface based on the scene information, and the displayed interactive interface may include recommendation information of the recommended operation determined based on the scene information; in this way, when inputting descriptive information based on the displayed interactive interface, selection may be made for the recommended information displayed in the interactive interface, and correspondingly, when the first device detects a selection operation for the target recommended information in the interactive interface, the first device may obtain, in response to the selection operation, the description information of the recommended operation corresponding to the target recommended information, and use it as the target description information of the target operation entered in the interactive interface.
[0076] Among them, the above scene information can be the location, environment, etc. of the first device. Thus, the first device can recommend the operation that needs to be shared to the user according to the current scene, and the user only needs to select the recommended operation to realize the sharing of the corresponding operation to the second device. For example, the first device can be a smart phone, and the second device can be a gateway device for controlling smart home appliances in a smart home scene. The smart phone can obtain its location as the above scene information, and according to the location, when the distance between its location and the home location is less than the target distance, the recommended information of the control operation of the relevant home appliance is displayed in the above interactive interface. In this way, the user can select the relevant recommended information in the interactive interface, so that the smart phone can obtain the description information of the control operation of the relevant home appliance according to the selected recommended information, and then determine the operation information of the control operation according to the description information of the control operation, and then share the operation information to the gateway device, and then the gateway device can generate a script file according to the operation information, and after executing the script file, realize the control operation of the relevant home appliance.
[0077] Step S330: Based on the target description information, determine target operation information for implementing the target operation.
[0078] In some implementations, since the above target description information is obtained from the interactive interface of the intelligent assistant, the target operation information for implementing the target operation can be determined by the intelligent assistant based on the target description information. Among them, the intelligent assistant can use a large language model and determine the target operation information of the target operation based on the target description information. The specific implementation method can refer to the content of the aforementioned embodiment, which will not be repeated here.
[0079] Step S340: Share the target operation information to the second device, so that the second device generates a first script file adapted to the operating system of the second device based on the target operation information, and the first script file is used to be executed by the second device to implement the target operation.
[0080] In the embodiment of the present application, step S340 can refer to the contents of other embodiments and will not be repeated here.
[0081] The operation sharing method provided in the embodiment of the present application can enable the device whose target operation is shared to directly execute the script file adapted to its operating system, thereby realizing the target operation shared by the other device, thereby improving the user's operating efficiency and saving the user's time cost, and can realize the sharing of operations between different operating systems, effectively improving the user's operating efficiency; in addition, by displaying the interactive interface of the smart assistant, the user can enter the target description information of the target operation that he needs to share in the interactive interface, thereby improving the convenience of the user in sharing operations.
[0082] See also Figure 6 , Figure 6 A schematic diagram of a flow chart of an operation sharing method provided by another embodiment of the present application is shown. The operation sharing method is applied to the above electronic device. Figure 6 The process shown is described in detail, and the operation sharing method may specifically include the following steps:
[0083] Step S410: Obtain a target recorded video, where the target recorded video is a video obtained by performing screen recording on the target operation.
[0084] In an embodiment of the present application, the target description information of the target operation may also be determined for a video obtained by screen recording. The first device may obtain a target recording video obtained by screen recording the target operation, so as to determine the target description information of the target operation based on the target recording video.
[0085] In some embodiments, the first device can record the screen display content during the execution of the target operation in response to the screen recording instruction, thereby obtaining the above target recording video. After starting the screen recording, the first device will record the display content of the screen. During the screen recording process, if the user performs a touch operation on the screen, the object of the touch operation and the result of the touch operation will also be recorded in the recorded video. For example, after starting the screen recording, enter the wireless local area network setting interface of the first device, select "WiFi Hotspot A" to connect, then the touch object "WiFi Hotspot A" will be recorded in the recorded video. Among them, before starting the process of executing a specific target operation, the screen recording instruction can be triggered to start the screen recording, and after the target operation is completed, the screen recording can be terminated.
[0086] Step S420: Determine target description information of the target operation based on the target recorded video.
[0087] In an embodiment of the present application, after acquiring the target recorded video, since the target recorded video is a video recorded for the target operation to be shared, the first device can determine the target description information of the target operation based on the target recorded video.
[0088] In some embodiments, the first device can identify the manipulated objects being operated in each display interface in the target recorded video; determine the target description information of the target operation based on the manipulated objects being operated in each display interface and the display order of the display interfaces in the target recorded video.
[0089] Among them, the target recorded video contains multiple frames of continuous images, and the multiple display interfaces contained in the target recorded video are determined by analyzing these images. Optionally, the similarity between each two adjacent video frames can be calculated, and then the display interfaces corresponding to the video frames whose similarity is greater than a preset threshold are determined to be the same display interface. In this way, all the display interfaces contained in the target recorded video can be determined from the target recorded video. The number of display interfaces is generally multiple, and can also be one. After the display interface is determined, each display interface can be analyzed to determine the manipulated object in each display interface.
[0090] In a possible implementation, the corresponding touch area can be determined based on the touch position of the user's touch operation on the display interface, and then text recognition and / or image recognition are performed on the touch area to determine the interface elements such as text or icons at the touch position, and then the control object corresponding to the touch area is determined.
[0091] Optionally, when the user operates on options, controls or icons in the display interface, the display interface will usually provide feedback according to the corresponding display effects. For example, the color and brightness of the options will change. Based on such characteristics, the touch position of the touch operation on the display interface can be determined. After determining the touch position, image recognition or text recognition can be performed on the area where the touch position is located. For example, by identifying interface elements such as text or icons at the touch position, the user's manipulation object on the interface can be determined.
[0092] Optionally, during screen recording, the touch position can be recorded according to the set mark, so that each display interface has a corresponding touch position mark, and the touch position on each display interface can be directly determined by the target detection algorithm. After determining the touch position, image recognition or text recognition can be performed on the area where the touch position is located. For example, by identifying interface elements such as text or icons at the touch position, the user's manipulation object on the interface can be determined.
[0093] Optionally, a pre-trained object recognition model can be used to identify a preset display interface that matches the display interface, and then the control object corresponding to the touch operation on the display interface can be determined according to the touch position of the touch operation on the display interface. The image recognition model can be a classification model based on a convolutional neural network, and the model is pre-trained using sample images labeled with interface names to determine the model parameters.
[0094] In the above embodiment, after determining the manipulated object being operated in each display interface, the operation process, operation content, operation position in the interface, etc. of the target operation can be determined according to the manipulated object being operated in each display interface and the display order of the display interface in the target recorded video, thereby obtaining the target description information.
[0095] Step S430: Based on the target description information, determine target operation information for implementing the target operation.
[0096] Step S440: Share the target operation information to the second device, so that the second device generates a first script file adapted to the operating system of the second device based on the target operation information, and the first script file is used to be executed by the second device to implement the target operation.
[0097] In the embodiment of the present application, step S430 and step S440 may refer to the contents of other embodiments and will not be described in detail here.
[0098] The operation sharing method provided in the embodiment of the present application can enable the device whose target operation is shared to directly execute the script file adapted to its operating system, thereby realizing the target operation shared by the opposite device, thereby improving the user's operating efficiency and saving the user's time cost, and can realize the sharing of operations between different operating systems, effectively improving the user's operating efficiency; in addition, by determining the target description information of the target operation to be shared through the recorded video obtained by screen recording, the user only needs to operate the target operation once on the electronic device to reproduce the target operation on another device, thereby improving the convenience of user operation sharing.
[0099] See also Figure 7 , Figure 7 A schematic diagram of a process flow of an operation sharing method provided by another embodiment of the present application is shown. The operation sharing method is applied to the first device mentioned above. Figure 7 The process shown is described in detail, and the operation sharing method may specifically include the following steps:
[0100] Step S510: Obtain target description information of the target operation.
[0101] In the embodiment of the present application, step S510 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0102] Step S520: Determine whether the operating system of the second device is compatible with the operating system of the first device.
[0103] In the embodiment of the present application, when the first device needs to share the target operation, after obtaining the target description information of the target operation, it can first determine whether the operating system of the second device is compatible with the operating system of the first device, so as to determine the sharing method for sharing the target operation according to the determination result. It can be understood that the operating systems of different devices may be different, for example, they may be Android systems or Apple systems, and the versions of the operating systems may also differ greatly, so the same script file may be able to run and implement the corresponding operations in parallel on one device, but it cannot be run on another device, or it cannot implement the required operations. Therefore, when sharing the target operation, it can be determined whether the operating system of the second device is compatible with the operating system of the first device.
[0104] In some embodiments, when determining whether the operating system of the second device is compatible with the operating system of the first device, it can be determined whether the operating system of the second device is the same as the operating system of the first device; if the operating system of the second device is not the same as the operating system of the first device, it can be determined that the operating system of the second device is incompatible with the operating system of the first device; if the operating system of the second device is the same as the operating system of the first device, it can be further determined whether the version of the operating system of the second device differs from the version of the operating system of the first device by a target number of versions, for example, the target number is 3, 5, 8, etc.; if the version of the operating system of the second device differs from the version of the operating system of the first device by a target number of versions, it can be determined that the operating system of the second device is incompatible with the operating system of the first device; if the version of the operating system of the second device does not differ from the version of the operating system of the first device by the target number of versions, it can be determined that the operating system of the second device is compatible with the operating system of the first device.
[0105] Step S530: If the operating system of the second device is not compatible with the operating system of the first device, target operation information for implementing the target operation is determined based on the target description information.
[0106] In an embodiment of the present application, after determining whether the operating system of the second device is compatible with the operating system of the first device, according to the determination result, if the operating system of the second device is not compatible with the operating system of the first device, it means that the script file that can be run on the first device and implement the target operation cannot be run on the second device or cannot implement the target operation. Therefore, the first device can determine the target operation information for implementing the target operation based on the above target description information, so as to share the target operation information to the second device, and the second device itself generates a script file, and then implements the target operation after running the generated script file.
[0107] Step S540: Share the target operation information to the second device, so that the second device generates a first script file adapted to the operating system of the second device based on the target operation information, and the first script file is used to be executed by the second device to implement the target operation.
[0108] In some embodiments, before sharing the target operation information with the second device, the first device may also authenticate the second device to determine whether the second device has the authority to obtain the target operation information; if it is determined that the second device has the authority to obtain the target operation information, the target operation information may be shared with the second device. In the above manner, the security of operation sharing can be guaranteed. Among them, the authentication method may be digital signature authentication, key exchange authentication, token-based authentication, etc., and the specific authentication method may not be limited.
[0109] In some embodiments, when sharing the above target operation information, the first device may encrypt the target operation information and then share the encrypted target operation information with the second device; correspondingly, after obtaining the encrypted target operation information, the second device may decrypt the encrypted target operation information to obtain the decrypted target operation information. The root key used for encryption and decryption may be stored in the hardware TrustZone, and all encrypted content transmitted between devices is parsed by the root key, thereby ensuring the security of operation sharing.
[0110] Step S550: If the operating system of the second device is compatible with the operating system of the first device, a second script file is generated based on the target description information.
[0111] In the embodiment of the present application, after determining whether the operating system of the second device is compatible with the operating system of the first device, according to the determination result, if the operating system of the second device is compatible with the operating system of the first device, it means that the script file that can be executed and implement the target operation on the first device can also be executed and implement the target operation on the second device, so the first device can directly generate the second script file based on the target description information. It can be understood that since the script file is generated by the first device, the first device determines other required information in addition to the target description information in the process of generating the script file, and generates the script file.
[0112] In some embodiments, the first device may generate a second script file for implementing the target operation based on the target description information and using a pre-trained large language model, wherein the large language model may understand the target description information and obtain all operation instructions for implementing the target operation, and then generate a script file according to the operation instructions.
[0113] Step S560: Share the second script file to the second device, so that the second device executes the second script file to achieve the target operation.
[0114] In the embodiment of the present application, after the first device generates the second script file, it can share the second script file with the second device; correspondingly, the second device can obtain the second script file shared by the first device, and then execute the script file to achieve the target operation. It can be understood that when the operating system of the second device is compatible with the operating system of the first device, the first device directly shares the script file used to achieve the target operation, so that the second device can directly execute the target operation after obtaining the information shared by the first device, thereby improving the user experience of the user corresponding to the shared second device, and when the version of the operating system of the second device is low, it can also avoid the second device from being unable to generate an accurate script file, thereby improving the success rate of operation sharing.
[0115] In some implementations, before sharing the second script file with the second device, the first device may also authenticate the second device, and if it is determined that the second device has the authority to obtain the script file, the second script file may be shared with the second device. In addition, before sharing the second script file, the first device may also encrypt the second script file to improve the security of the sharing operation.
[0116] The operation sharing method provided in the embodiment of the present application can enable the device whose target operation is shared to directly execute the script file adapted to its operating system, thereby realizing the target operation shared by the opposite device, thereby improving the user's operating efficiency and saving the user's time cost, and can also realize the sharing of operations between different operating systems, effectively improving the user's operating efficiency; in addition, when the operating systems of both devices are adapted, the device sharing the operation directly shares the script file used to realize the target operation, thereby improving the user experience corresponding to the user of the shared device, and can also avoid the shared device from being unable to generate accurate script files when the version of the operating system of the shared device is lower, thereby improving the success rate of operation sharing.
[0117] See also Figure 8 , Figure 8 A schematic diagram of a flow chart of an operation sharing method provided by yet another embodiment of the present application is shown. The operation sharing method is applied to the above-mentioned second device. Figure 8 The process shown is described in detail, and the operation sharing method may specifically include the following steps:
[0118] Step S610: Acquire target operation information shared by the first device for implementing the target operation, where the target operation information is determined by the first device based on description information of the target operation.
[0119] In an embodiment of the present application, a method is provided for a shared device (i.e., a second device) to perform a sharing operation. When the second device performs the operation sharing method, it can obtain target operation information shared by the first device for implementing the target operation. The manner in which the first device obtains the target operation information can refer to the contents of the aforementioned embodiment, and will not be repeated here.
[0120] In some embodiments, the second device can receive a sharing notification of the target operation information and display the sharing notification; after displaying the sharing notification, the second device can detect the user operation in the display interface, and when a confirmation notification for the sharing notification is detected, the target operation information can be received and subsequent steps can be executed to implement the target operation on the second device.
[0121] For example, see Fig. 9 , the target operation is a configuration operation for performing Bluetooth configuration, and the second device can display a sharing notification A2 of the Bluetooth configuration operation in the display interface; if a touch operation on the "receive" control A3 is detected, the second device can receive the target operation information in response to the touch operation.
[0122] In a possible implementation, the second device may present the sharing notification in different forms according to different operation sharing scenarios, thereby realizing different interaction forms. For example, in the sharing scenario of the service type operation, the above sharing notification may be presented in the form of a capsule interaction, a pop-up window interaction, an icon with a scenario, etc.; for another example, in the sharing scenario of the setting function operation, the above sharing notification may be presented in the form of a floating window.
[0123] Step S620: Based on the target operation information, generate a first script file adapted to the operating system of the second device.
[0124] In some embodiments, the second device can generate second prompt information for inputting the second largest language model based on the acquired target operation information, and the second prompt information is used to prompt the second largest language model to generate a script file based on the target operation information; the second prompt information is input into the second largest language model to obtain a first script file adapted to the operating system of the second device. Wherein, unlike the first largest language model in the aforementioned embodiment, when the second largest language model is trained, the training samples it needs also include the script file corresponding to the corresponding corpus, and the second largest language model can understand the target operation information and obtain all operation instructions for implementing the target operation, and then generate a script file according to the operation instructions.
[0125] It should be noted that the above second largest language model can be deployed locally on the second device or in a server. If the second largest language model is deployed locally on the second device, when the second device needs to use the second largest language model to generate a script file, it can directly call the local second largest language model, and then generate the script file through the second largest language model; if the second largest language model is deployed in a server, when the second device needs to use the second largest language model to generate a script file, it can upload the target operation information of the target operation to the server, and after the server generates the script file by calling the second largest language model, it returns the script file to the second device.
[0126] Step S630: Execute the first script file to implement the target operation.
[0127] In an embodiment of the present application, after generating the above first script file, the second device can execute the first script file to automatically implement the target operation.
[0128] The operation sharing method provided in the embodiment of the present application can enable the device whose target operation is shared to directly execute the script file adapted to its operating system, thereby realizing the target operation shared by the other device, thereby improving the user's operating efficiency and saving the user's time cost.
[0129] The embodiment of the present application also provides an operation sharing system, which may include a first device, a server, and a second device, wherein the first device is used to obtain target description information of a target operation, determine target operation information for realizing the target operation based on the target description information, and send the target operation information to the server; the server is used to receive the target operation information, and generate a first script file adapted to the operating system of the second device based on the target operation information, and send the first script file to the second device; the second device is used to receive the first script file and execute the first script file to realize the target operation. That is, in this embodiment, when the first device realizes sharing the target operation with the second device, after obtaining the target operation information in the aforementioned embodiment, the target operation information is sent to the server, and after the server generates the above first script file according to the target operation information, the first script file is sent to the second device, so that the second device can directly obtain the above second script file, thereby enabling the second device to quickly realize the target operation.
[0130] See also Fig.10 , which shows a structural block diagram of an operation sharing device 700 provided by an embodiment of the present application. The operation sharing device 700 applies the above-mentioned electronic device, and the operation sharing device 700 includes: a first information acquisition module 710, a second information acquisition module 720 and an information sharing module 730. Among them, the first information acquisition module 710 is used to obtain target description information of the target operation; the second information acquisition module 720 is used to determine the target operation information for implementing the target operation based on the target description information; the information sharing module 730 is used to share the target operation information to the second device, so that the second device generates a first script file adapted to the operating system of the second device based on the target operation information, and the first script file is used to be executed by the second device to implement the target operation.
[0131] In some implementations, the second information acquisition module 720 may be specifically configured to determine target operation information for implementing the target operation based on the target description information and using a pre-trained first language model.
[0132] In a possible implementation, the second information acquisition module 720 can also be used to: generate first prompt information for inputting the first large language model based on the target description information, the first prompt information being used to prompt the first large language model to generate operation information to be shared for the target operation; input the first prompt information into the first large language model to obtain the target operation information output by the first large language model.
[0133] In some embodiments, the first information acquisition module 710 can be specifically used to: display the interactive interface of the intelligent assistant; and obtain the target description information input in the interactive interface.
[0134] In a possible implementation, the first information acquisition module 710 can be specifically used to: acquire scene information of the scene in which the first device is currently located; based on the scene information, display an interactive interface of the intelligent assistant, wherein the interactive interface includes recommendation information of the recommended operation determined based on the scene information; in response to a selection operation for target recommendation information in the interactive interface, acquire description information of the recommended operation corresponding to the target recommendation information as target description information of the target operation input in the interactive interface
[0135] In some implementations, the first information acquisition module 710 may be specifically used to: acquire a target recorded video, where the target recorded video is a video obtained by screen recording the target operation; and determine target description information of the target operation based on the target recorded video.
[0136] In a possible implementation, the first information acquisition module 710 can also be used to: identify the manipulated objects being operated in each display interface in the target recorded video; and determine the target description information of the target operation based on the manipulated objects being operated in each display interface and the display order of the display interfaces in the target recorded video.
[0137] In some embodiments, the information sharing module 730 can be specifically used to: send the target operation information to the server so that the server generates an access link corresponding to the target operation information, and push the access link to the second device, where the access link is used to obtain the target operation information.
[0138] In some implementations, the operation sharing device 700 may further include a system matching module. The system matching module is used to determine whether the operating system of the second device is compatible with the operating system of the first device before determining the target operation information for implementing the target operation based on the target description information; the second information acquisition module 720 may be specifically used to execute the step of determining the target operation information for implementing the target operation based on the target description information if the operating system of the second device is not compatible with the operating system of the first device.
[0139] In a possible implementation, the operation sharing device 700 may further include a script determination module and a script sharing module. The script determination module is used to generate a second script file based on the target description information after determining whether the operating system of the second device is compatible with the operating system of the first device, if the operating system of the second device is compatible with the operating system of the first device; the script sharing module is used to share the second script file to the second device so that the second device executes the second script file to achieve the target operation.
[0140] See also Fig.11 , which shows a structural block diagram of an operation sharing device 800 provided by an embodiment of the present application. The operation sharing device 800 applies the above-mentioned electronic device, and the operation sharing device 800 includes: a third information acquisition module 810, a script generation module 820 and a script execution module 830. Among them, the third information acquisition module 810 is used to obtain the target operation information shared by the first device for realizing the target operation, and the target operation information is determined by the first device based on the description information of the target operation; the script generation module 820 is used to generate a first script file adapted to the operating system of the second device based on the target operation information; the script execution module 830 is used to execute the first script file to realize the target operation.
[0141] In some embodiments, the script generation module 820 can be specifically used to: generate second prompt information for inputting a second large language model based on the target operation information, the second prompt information being used to prompt the second large language model to generate a script file based on the target operation information; input the second prompt information into the second large language model to obtain a first script file adapted to the operating system of the second device.
[0142] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0143] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0144] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0145] To summarize, the solution provided by the present application obtains target description information of the target operation, determines target operation information for implementing the target operation based on the target description information, and shares the target operation information to the second device, so that the second device generates a first script file adapted to the operating system of the second device based on the target operation information, and the first script file is used to be executed by the second device to implement the target operation. As a result, the device with the shared target operation can directly execute the script file adapted to its operating system, thereby implementing the target operation shared by the opposite device, thereby improving the user's operating efficiency and saving the user's time cost.
[0146] Please refer to Fig.12 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, a smart watch, an e-book, a smart home appliance, a vehicle-mounted terminal, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more applications are configured to execute the method described in the aforementioned method embodiment.
[0147] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0148] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.
[0149] Please refer to Fig.13 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 900 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0150] The computer-readable storage medium 900 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 900 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 900 has storage space for program code 910 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 910 can be compressed, for example, in an appropriate form.
[0151] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An operation sharing method, characterized in that: Applied to a first device, the method includes: Get the target description information of the target operation; Based on the target description information, determining target operation information for implementing the target operation; The target operation information is shared with a second device, so that the second device generates a first script file adapted to an operating system of the second device based on the target operation information, and the first script file is used to be executed by the second device to implement the target operation.
2. The method according to claim 1, characterized in that The determining, based on the target description information, target operation information for implementing the target operation includes: Based on the target description information and using a pre-trained first language model, target operation information for implementing the target operation is determined.
3. The method according to claim 2, characterized in that The determining, based on the target description information and using a pre-trained first language model, target operation information for implementing the target operation includes: Based on the target description information, generating first prompt information for inputting the first large language model, the first prompt information being used to prompt the first large language model to generate operation information to be shared for the target operation; The first prompt information is input into the first large language model to obtain the target operation information output by the first large language model.
4. The method according to claim 1, characterized in that: The target description information of the target operation is obtained, including: Display the interactive interface of the smart assistant; The target description information input in the interactive interface is obtained.
5. The method according to claim 4, characterized in that Before displaying the interactive interface of the intelligent assistant, the method further includes: Acquire scene information of the scene currently located by the first device; The displaying of the interactive interface of the intelligent assistant and obtaining the target description information input in the interactive interface include: Based on the scenario information, displaying an interactive interface of the intelligent assistant, wherein the interactive interface includes recommendation information of a recommended operation determined based on the scenario information; In response to a selection operation on target recommendation information in the interactive interface, description information of the recommended operation corresponding to the target recommendation information is obtained as target description information of the target operation input in the interactive interface.
6. The method according to claim 1, characterized in that The target description information of the target operation is obtained, including: Obtain a target recorded video, where the target recorded video is a video obtained by screen recording the target operation; Based on the target recorded video, target description information of the target operation is determined.
7. The method according to claim 6, characterized in that The determining target description information of the target operation based on the target recorded video includes: Identifying a manipulated object in each display interface in the target recorded video; The target description information of the target operation is determined according to the manipulated object in each display interface and the display order of the display interfaces in the target recorded video.
8. The method according to any one of claims 1 to 7, characterized in that: The sharing of the target operation information to the second device includes: The target operation information is sent to a server so that the server generates an access link corresponding to the target operation information, and pushes the access link to a second device, where the access link is used to obtain the target operation information.
9. The method according to any one of claims 1 to 7, characterized in that: Before determining the target operation information for implementing the target operation based on the target description information, the method further includes: Determining whether the operating system of the second device is compatible with the operating system of the first device; If the operating system of the second device is not compatible with the operating system of the first device, the step of determining the target operation information for implementing the target operation based on the target description information is performed.
10. The method according to claim 9, characterized in that After determining whether the operating system of the second device is compatible with the operating system of the first device, the method further includes: If the operating system of the second device is compatible with the operating system of the first device, generating a second script file based on the target description information; The second script file is shared to the second device so that the second device executes the second script file to achieve the target operation.
11. An operation sharing method, characterized in that: Applied to the second device, the method includes: Acquire target operation information shared by the first device for implementing the target operation, where the target operation information is determined by the first device based on description information of the target operation; Based on the target operation information, generating a first script file adapted to the operating system of the second device; Execute the first script file to implement the target operation.
12. The method according to claim 11, characterized in that The step of generating a first script file adapted to the operating system of the second device based on the target operation information includes: Based on the target operation information, generating second prompt information for inputting a second language model, wherein the second prompt information is used to prompt the second language model to generate a script file based on the target operation information; The second prompt information is input into the second large language model to obtain a first script file adapted to the operating system of the second device.
13. An operation sharing device, characterized in that: Applied to a first device, the apparatus comprises: a first information acquisition module, a second information acquisition module and an information sharing module, wherein: The first information acquisition module is used to acquire target description information of the target operation; The second information acquisition module is used to determine target operation information for implementing the target operation based on the target description information, wherein the target operation information includes the target description information and information to be supplemented in the process of implementing the target operation; The information sharing module is used to share the target operation information to the second device, so that the second device generates a first script file adapted to the operating system of the second device based on the target operation information, and executes the first script file to achieve the target operation.
14. An operation sharing system, characterized in that: The system includes a first device, a server and a second device, wherein: The first device is used to obtain target description information of a target operation, determine target operation information for implementing the target operation based on the target description information, and send the target operation information to a server; The server is used to receive the target operation information, and based on the target operation information, generate a first script file adapted to the operating system of the second device, and send the first script file to the second device; The second device is used to receive the first script file and execute the first script file to implement the target operation.
15. An electronic device, characterized in that: include: one or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 12.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, and the program codes can be called by a processor to execute the method according to any one of claims 1 to 12.
Citation Information
Cited By
Control method and device of electronic equipment and electronic equipment
CN119718518A
