CN111966435A - Operation flow sharing method and device of electronic equipment - Google Patents

Operation flow sharing method and device of electronic equipment Download PDF

Info

Publication number
CN111966435A
CN111966435A CN202010676164.1A CN202010676164A CN111966435A CN 111966435 A CN111966435 A CN 111966435A CN 202010676164 A CN202010676164 A CN 202010676164A CN 111966435 A CN111966435 A CN 111966435A
Authority
CN
China
Prior art keywords
electronic device
electronic equipment
information
script file
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010676164.1A
Other languages
Chinese (zh)
Inventor
崔雪巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010676164.1A priority Critical patent/CN111966435A/en
Publication of CN111966435A publication Critical patent/CN111966435A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an operation flow sharing method and device of electronic equipment, belongs to the technical field of communication, and can solve the problem that the efficiency of a user for operating the electronic equipment is reduced due to the fact that the operation and setting modes of a remote operation execution function consume time. The method is applied to first electronic equipment, and comprises the steps that the first electronic equipment responds to help-seeking request information and displays prompt information under the condition that the first electronic equipment receives the help-seeking request information sent by second electronic equipment; the first electronic equipment receives a first operation of a user, wherein the first operation is used for executing the target function; responding to the first operation, and recording an operation flow of the first operation by the first electronic equipment to obtain recording information; the first electronic equipment generates a script file according to the recording information; and the first electronic equipment uploads the script file to a server and sends the index information of the script file to the second electronic equipment.

Description

Operation flow sharing method and device of electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an operation flow sharing method and device for electronic equipment.
Background
With the development of electronic device technology, the functions of electronic devices are more and more, and the operation modes of corresponding electronic devices are more and more complex. At present, when a user does not understand how to operate and set a certain function of the electronic equipment, the user can ask for help from other people to remotely operate the electronic equipment by using the electronic equipment, and then related function operation and setting are completed.
However, the manner of completing the operation and setting of functions by asking for help from other people for remote operations is time consuming, reducing the efficiency of the user in operating the electronic device.
Disclosure of Invention
An object of the embodiments of the present application is to provide an operation flow sharing method and apparatus for electronic devices, which can solve the problem that operation of electronic devices by a user is reduced due to time consumption of operating and setting modes of a remote operation execution function.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an operation flow sharing method for an electronic device, which is applied to a first electronic device, and the method includes: the method comprises the steps that under the condition that first electronic equipment receives help-seeking request information sent by second electronic equipment, prompt information is displayed in response to the help-seeking request information, the help-seeking request information is used for requesting an operation process of sharing a target function, and the prompt information is used for prompting a user to show the operation process of the target function; the first electronic equipment receives a first operation of a user, wherein the first operation is used for executing the target function; responding to the first operation, and recording an operation flow of the first operation by the first electronic equipment to obtain recording information; the first electronic equipment generates a script file according to the recording information; and the first electronic equipment uploads the script file to a server and sends the index information of the script file to the second electronic equipment.
In a second aspect, an embodiment of the present application provides an operation flow sharing method for an electronic device, which is applied to a second electronic device, and the method includes: the second electronic equipment sends help-seeking request information to the first electronic equipment, wherein the help-seeking request information is used for indicating the first electronic equipment to upload the script file corresponding to the target function to the server; the second electronic equipment receives the index information of the script file sent by the first electronic equipment; the second electronic equipment downloads the script file from a server according to the index information; and the second electronic equipment runs the script file and executes the target function.
In a third aspect, an embodiment of the present application provides an operation flow sharing device for an electronic device, where the device includes a display module, a receiving module, a recording module, a generating module, and a sending module; the display module is configured to, in a case where help request information sent by a second electronic device is received, respond to the help request information and display prompt information, where the help request information is used to request an operation flow of sharing a target function, and the prompt information is used to prompt a user to display the operation flow of the target function; the receiving module is configured to receive a first operation of a user, where the first operation is used to execute the target function; the recording module is configured to record an operation procedure of the first operation in response to the first operation received by the receiving module, so as to obtain recording information; the generating module is used for generating a script file according to the recording information recorded by the recording module; the sending module is configured to upload the script file generated by the generating module to a server, and send index information of the script file to the second electronic device.
In a fourth aspect, an embodiment of the present application provides an operation flow sharing device for an electronic device, where the device includes a sending module, a receiving module, a downloading module, and an executing module; the sending module is configured to send help-seeking request information to a first electronic device, where the help-seeking request information is used to instruct the first electronic device to upload a script file corresponding to the target function to a server; the receiving module is configured to receive index information of the script file sent by the first electronic device; the downloading module is used for downloading the script file from a server according to the index information; and the execution module is used for running the script file and executing the target function.
In a fifth aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, implement the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment of the application, when receiving help request information requesting a target function operation flow sent by a second electronic device, a first electronic device may display prompt information for prompting a user to show the target function operation flow. According to the prompt message, the first electronic device records the operation flow of the first operation after receiving the first operation of the user for executing the target function, and the recording information is obtained. And then, the first electronic equipment generates a script file according to the recording information. And finally, the first electronic equipment uploads the script file to a server and sends index information of the script file to the second electronic equipment. Therefore, the second electronic equipment can directly download the script file of the target function from the server through the index information, so that the process of sharing the operation and setting method of the target function with the second electronic equipment is completed, the operation process of others does not need to be repeatedly inquired, the time cost is saved, and the efficiency of operating the electronic equipment by a user and executing the operation and setting of the target function is improved.
Drawings
Fig. 1 is a schematic structural diagram of an operation sharing system of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an operation flow sharing method of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a second schematic flowchart of an operation flow sharing method of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an operation flow sharing device of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a second schematic structural diagram of an operation flow sharing device of an electronic apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced other than those illustrated or described herein, and that the objects identified as "first," "second," etc. are generally a class of objects and do not limit the number of objects, e.g., a first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following explains terms in the embodiments of the present application:
1. script
For electronic devices, scripts are programs that are stored in plain text, also commonly referred to as script programs. Generally, the program content of a script program defines a set of arithmetic operations performed by a series of control electronics. When the electronic equipment runs the script program, the interpreter in the electronic equipment translates the word commands in the program into commands which can be recognized by the electronic equipment, and the electronic equipment executes the program according to the input sequence of the word commands after receiving the word commands.
2. Minimum path algorithm
The minimum path algorithm is a commonly used algorithm in computer programs that finds the shortest path from one node to another in the program.
Currently, the minimum path algorithm includes the following: dijkstra Algorithm, Bellman-Ford Algorithm, froude Algorithm (Floyd Algorithm), and single-source Shortest Path Algorithm (short Path fast Algorithm, SPFA), etc.
The operation flow sharing method for the electronic device according to the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The operation flow sharing method of the electronic equipment, provided by the embodiment of the application, can be applied to scenes of the operation flow sharing method of the electronic equipment.
For the operation flow sharing method of the electronic device, it is assumed that the user a does not use the payment function of the electronic device 1 when using the electronic device 1, and at this time, the user a may ask the user B for help from the use method of the payment function. Generally, user a may ask user B for help in two ways:
the first mode is as follows: the user A can establish remote connection between the electronic device 2 and the electronic device 1 by sending the remote operation request information to the user B, so that the user B operates the electronic device 1 on the electronic device 2, and the user A is helped to complete the payment operation, and check the complete use process of the payment operation on the electronic device 1.
However, since the remote operation is time-consuming, and the user a is likely not able to learn the complete operation method of the payment operation when viewing the complete remote operation process once, the user a still cannot use the payment function when needing to perform the payment operation again, and thus cannot complete the payment operation.
The second mode is as follows: the user A can ask the user B for help orally, and the user B can inform the user A of the complete operation flow of the payment operation orally, so that the user A is helped to complete the payment operation by using the electronic equipment 1.
However, in the above-mentioned manner of completing payment operation by oral help seeking of the user a, when the user a who does not set the function is likely to pay again after seeking help, the user a still cannot independently use the payment function and needs to continue repeated help seeking, and with diversification and complication of functions of the electronic device, it is difficult to accurately and quickly complete specific steps in many operation flows by oral means. Thus, the efficiency of the user using the electronic device is likely to be greatly reduced.
In this embodiment of the application, when the user a does not use the payment function, the electronic device 1 may be used to send help-seeking request information on how to use the payment operation flow to the electronic device 2 of the user B, and then the electronic device 2 displays prompt information on a display screen of the electronic device 2 to prompt the user B to display the payment operation flow. And the user B executes payment operation on the electronic equipment 2 according to the prompt message, the electronic equipment 2 records the operation flow of the payment operation to obtain the recorded information, generates a script file of the payment operation according to the recorded information, uploads the script file to a server, and finally sends the index information of the script file to the electronic equipment 2. After receiving the index information, the electronic device 1 may download the script file from the server according to the index information, and the script file may run in the electronic device 1 to automatically complete the payment operation, and may run repeatedly in the electronic device 1 for the user a to watch and learn. Therefore, the user A does not need to repeatedly inquire the operation mode of the user B, the time cost is saved, and the efficiency of the user A in operating the electronic equipment and executing the operation and setting of the target function is improved.
The operation flow sharing method for the electronic device according to the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, in an operation sharing system of an electronic device provided in an embodiment of the present application, the electronic device positioning system includes a first electronic device 201 and a second electronic device 202. The first electronic device 201 can perform information transmission with the second electronic device 202.
After the second electronic device 202 sends the help request information requesting the operation flow of the target function to the first electronic device 201, the first electronic device 201 receives the help request information, and in response to the help request information, may display a prompt message for prompting the user to display the operation flow of the target function. After receiving a first operation of executing the target function by the user, the first electronic device 201 records an operation flow of the first operation in response to the first operation to obtain recording information; the first electronic device 201 generates a script file according to the recording information, uploads the script file to the server, and sends index information of the script file to the second electronic device 202.
After receiving the index information, the second electronic device 202 may download the script file from the server according to the index information, and the second electronic device 202 may execute the target function by running the script file.
In this way, when the first electronic device receives help request information requesting a target function operation flow sent by the second electronic device, prompt information for prompting the user to display the target function operation flow can be displayed to the user. According to the prompt message, the first electronic device records the operation flow of the first operation after receiving the first operation of the user for executing the target function, and the recording information is obtained. And then, the first electronic equipment generates a script file according to the recording information. And finally, the first electronic equipment uploads the script file to a server and sends index information of the script file to the second electronic equipment. Therefore, the second electronic device can directly download the script file of the target function from the server through the index information, so that the process of sharing the operation and setting method of the target function with the second electronic device is completed, the operation process of others does not need to be repeatedly inquired, the time cost is further saved, and the efficiency of operating the electronic device by a user and executing the operation and setting of the target function is improved.
Optionally, in the process of obtaining the recording information by recording the operation flow of the first operation by the first electronic device 201: in the process that the user executes the first operation, the first electronic device 201 starts recording at the action operation start point of the first operation, ends recording at the action operation end point of the first operation, and obtains recording information after the recording is finished; wherein, the above-mentioned record information includes: path information of the operation flow of the first operation and operation information of the first operation.
Therefore, the first electronic equipment can accurately control the starting point and the end point of the recorded script, so that the operation path in the recorded script file is an effective operation path aiming at the target function, and the utilization efficiency of the script file is improved.
Optionally, in the process of generating the script file by the first electronic device 201 according to the recording information: the first electronic device 201 eliminates redundant operations in the first operation by using a minimum path algorithm to obtain updated recording information; the first electronic device 201 generates a script file according to the updated recording information.
Therefore, after the first electronic device generates the script file, unnecessary operation paths in the script file can be taken out through the minimum path algorithm, and therefore the use efficiency of the script file can be greatly improved.
Optionally, the help request information further includes: a device parameter of the second electronic device; before the first electronic device 201 receives the first operation of the user, the first electronic device 201 performs device adaptation on the first electronic device 201 and the second electronic device 202 according to the device parameters of the first electronic device 201 and the device parameters of the second electronic device 202; in the process that the first electronic device 201 receives the first operation of the user: the first electronic device 201 receives a first operation of a user when the first electronic device 201 is adapted to the second electronic device 202.
Therefore, the first electronic device can ensure the operability of the operation information recorded on the first electronic device and the subsequent operation on the second electronic device, and the problem of efficiency reduction caused by inoperability in the script file second electronic device can be effectively avoided.
Optionally, before the first electronic device 201 receives the first operation of the user, the first electronic device 201 sends remote operation request information to the second electronic device 202; the first electronic device 201 receives remote operation response information fed back by the second electronic device 202 in response to the remote operation request information; the first electronic device 201 remotely operates the second electronic device 202 in a case where the remote operation response information indicates that the second electronic device 202 agrees with the remote operation; in the process that the first electronic device 201 receives the first operation of the user: the first electronic device 201 receives a first operation of a user in a process that the first electronic device 201 remotely operates the second electronic device 202, wherein the first operation is used for controlling the first electronic device 201 to remotely operate the second electronic device 202 to execute a target function.
Therefore, when the first electronic device is remotely connected with the second electronic device, the first electronic device can record the operation process in the process of remote operation connection, generate a script file and upload the script file to the server, so that a user of the second electronic device can conveniently check and use the script file with the target function repeatedly, and the user does not need to ask for help again.
Optionally, the help request information further includes: a first identity key of the second electronic device 202; before receiving the first operation of the user, the first electronic device 201 may further generate a second identity key matching the first identity key for the first electronic device 201 according to the first identity key; the script file includes the second identity key.
Therefore, the first electronic equipment generates the second identity key matched with the first identity key, so that the subsequent script file can only run under the condition that the first identity key is matched with the second identity key when running in the second electronic equipment, the data information safety of the second electronic equipment is protected, and the personal interests and the personal privacy of a user of the second electronic equipment are guaranteed.
Optionally, in the process that the second electronic device sends the help-seeking request information to the first electronic device: the second electronic device 202 receives the remote operation request information sent by the first electronic device 201; in response to the remote operation request information, the second electronic device 202 transmits remote operation response information to the first electronic device 201, the remote operation response information being used to indicate that the second electronic device 202 approves the remote operation; the second electronic device 202 receives a first operation of remotely operating the second electronic device 202 by the first electronic device; in response to the first operation, the second electronic device 202 executes the target function.
In this way, the second electronic device can execute the target function by requesting the first electronic device to execute the remote operation on the second electronic device, and simultaneously, the operation script of the remote operation can be downloaded to the second electronic device, so that the second electronic device can be used repeatedly.
Optionally, the help request information further includes: a first identity key of the second electronic device 202; the script file further includes: a second identity key of the first electronic device 201; the second electronic device 202 runs the script file, and in the process of executing the target function: the second electronic device 202 runs the script file to execute the target function when the first identity key matches the second identity key.
Therefore, the second electronic equipment allows the script file to run only when the first identity key in the script file is matched with the second identity key of the second electronic equipment, so that the data security of the second electronic equipment can be protected, and the personal interests and the personal privacy of a user of the second electronic equipment are guaranteed.
As shown in fig. 2, the present embodiment is applied to a first electronic device, and the operation flow sharing method of the electronic device includes the following steps 301 to 305:
step 301: and the first electronic equipment responds to the help-seeking request information and displays prompt information under the condition of receiving the help-seeking request information sent by the second electronic equipment.
In an embodiment of the application, the help request information is used to request an operation flow of a target function to be shared, and the prompt information is used to prompt a user to display the operation flow of the target function.
In the embodiment of the present application, the type of the help request information may be any one of the following: text information, picture information, voice information and video information. For example, when the help request information is text information, the help request information may be text information sent by the second electronic device through the instant text communication application.
In the embodiment of the present application, the target function may be any function in the electronic device.
In one example, the target function may be a function in an application in the electronic device, for example, a payment function of a payment application; the system function of the electronic equipment can also be self-contained, for example, the function of setting the desktop background of the electronic equipment.
In this embodiment, the operation flow may include an operation path for completing the target function and an operation manner included in the operation path. For example, when the target function is to open the application a, the operation path of the target function may be to switch to a display interface displaying an application icon of the application a, and the application a is opened, and the operation manner included in the operation path may be to perform click input on the application icon of the application a.
In this embodiment, the prompt message may be a message type corresponding to a message type of the help request message. In one example, when the help request information is text information, the prompt information is also text information; similarly, the prompt message may be a picture message, or a voice message, or a video message.
In this embodiment of the application, the first electronic device may display the prompt information on any interface.
In one example, the prompt message may be displayed in a status bar of the first electronic device.
In one example, the prompt message may be displayed in a floating window of a current display interface of the first electronic device.
Step 302: the first electronic equipment receives a first operation of a user.
In the embodiment of the present application, the first operation is to perform the target function.
In this embodiment of the application, the first operation may be an operation performed in the first electronic device, or may be an operation performed in the second electronic device after the first electronic device is remotely connected to the second electronic device, where after the first electronic device is remotely connected to the second electronic device, the operation is actually performed in the second electronic device, but the operation process is displayed on the display screen of the first electronic device.
Step 303: and responding to the first operation, and recording the operation flow of the first operation by the first electronic equipment to obtain recording information.
In this embodiment, the electronic device may record the operation flow of the first operation through a recording script application.
In this embodiment of the application, the first operation may be used to trigger the first electronic device to record an operation procedure of the first operation.
In an example, the first operation may automatically trigger the script recording application to record the operation flow of the first operation. For example, after receiving the help-seeking information, the electronic device may automatically identify the help-seeking content in the help-seeking information, and when the user executes a target function corresponding to the help-seeking content, automatically trigger the script recording application to start the recording function.
In an example, the first operation may further include starting a recording script application, and triggering the recording script application to start a recording function. For example, a recording script application is opened, and a recording control of the recording script application is clicked, so that the recording script application starts a recording function.
In this embodiment of the application, the recording information may include all operation path information and all operation information in the operation flow, where the operation information is operation action information of the user on the first electronic device, for example, click input is performed on the first electronic device. In the recording information, the operation path information and the operation information are arranged in the same order as the order in the operation flow of the first operation.
Step 304: and the first electronic equipment generates a script file according to the recording information.
In this embodiment, the electronic device may convert the recording information into a script file using a recording script application.
In an example, after the electronic device obtains the recording information, the recording script application may automatically "translate" the recording information into a text command that can be executed by the electronic device, and after the "translation" is completed, the text command is summarized and arranged "according to the" translation "sequence" into a program that can be run in the electronic device, that is, a script file. When the script file runs in the electronic device, the electronic device may automatically execute the target function, wherein a process of executing the target function by the electronic device is the same as a process of the first operation.
Step 305: and the first electronic equipment uploads the script file to a server and sends the index information of the script file to the second electronic equipment.
In this embodiment of the application, after the first electronic device generates the script file, the first electronic device may automatically upload the script file to the server.
For example, the server may be a cloud server, for example, a network disk, or may be an entity server, which is not limited in this embodiment of the present application.
In this embodiment of the application, the index information may include an address of the script file in the server and a function corresponding to the script file.
In an example, the index information may be address link information and text information corresponding to the function description, where the text information corresponding to the function description may be marked behind the address link information.
In another example, the index information may also be two-dimensional code information and text information corresponding to the function description, where the two-dimensional code information may be on a picture, and the text information corresponding to the function description may be marked in the picture where the two-dimensional code is located.
In the embodiment of the application, after the first electronic device finishes uploading the script file, the first electronic device may acquire the index information of the script file and send the index information to the second electronic device.
In one example, the first electronic device can send the index information through a chat-type application.
In the embodiment of the application, after the first electronic device generates the script file, the script file may be stored in a certain fixed area of the electronic device, or may be directly deleted from the first electronic device without being stored.
Example 1: when the electronic device 1 receives the trouble of "trouble informing the payment function of how to use" the help-seeking short message "about the help-seeking payment operation sent by the electronic device 2, the bank card number is XX, and the payment password is XX" (that is, the help-seeking request information), the electronic device 1 displays the help-seeking information on a display screen, after viewing the information, the user opens an application for recording a script, and after clicking a recording control, the payment operation is executed, the electronic device 1 receives the payment operation (that is, the first operation) executed by the user, and records an operation flow of the payment operation, after finishing execution, the user clicks a closing control, so that the recording information is obtained, and at this time, the application for recording the script automatically converts the operation flow of the payment operation into a script file. Then, the script file is uploaded to a cloud server, and a two-dimensional code (i.e., the index information) for acquiring the script file is generated, wherein an action description related to the two-dimensional code, i.e., identification information of "payment operation" is displayed on the two-dimensional code.
According to the operation flow sharing method of the electronic equipment, the first electronic equipment can display prompt information for prompting a user to display the target function operation flow to the user when receiving help request information which is sent by the second electronic equipment and is used for requesting the target function operation flow. According to the prompt message, the first electronic device records the operation flow of the first operation after receiving the first operation of the user for executing the target function, and the recording information is obtained. And then, the first electronic equipment generates a script file according to the recording information. And finally, the first electronic equipment uploads the script file to a server and sends index information of the script file to the second electronic equipment. Therefore, the second electronic equipment can directly download the script file of the target function from the server through the index information, so that the process of sharing the operation and setting method of the target function with the second electronic equipment is completed, the operation process of others does not need to be repeatedly inquired, the time cost is saved, and the efficiency of operating the electronic equipment by a user and executing the operation and setting of the target function is improved.
Optionally, in this embodiment of the application, in the step 303 of recording the operation flow of the first operation to obtain the recording information, the operation flow sharing method of the electronic device provided by the application may include the following step 303 a:
step 303 a: and the first electronic equipment starts recording at the action operation starting point of the first operation, finishes recording at the action operation end point of the first operation and obtains recording information after finishing recording in the process of executing the first operation by the user.
Illustratively, the recording information includes: path information of the operation flow of the first operation and operation information of the first operation.
For example, the operation starting point may be that the electronic device receives the input of the user for the first time when the user performs the first operation.
For example, the operation end point may be that the electronic device receives the user input last time when the user performs the first operation.
For example, when the electronic device determines the operation start point and the operation end point, the electronic device may automatically determine the operation start point and the operation end point, or the electronic device may determine the operation start point and the operation end point by user definition.
In an example, when the electronic device automatically determines the action operation starting point and the operation end point of the first operation, after the electronic device self-identifies the operation content of the first operation, the electronic device may confirm that the input is the action operation starting point of the first operation after receiving the input of the user for performing the first operation, that is, confirming that the first operation starts, and when the first operation is completed, the electronic device confirms that the first operation ends, and the last input received at the end is the end point of the first operation.
It can be understood that the electronic device may pre-store the operation steps of all the functions included therein, for example, the electronic device may pre-store the step of taking a picture, the step of editing information, and the step of sending information. After the electronic device identifies the operation content of the first operation by itself, the electronic device can respond to the actual operation steps of the user, and combines the execution steps of each function prestored in the electronic device, when the first operation starts, the electronic device compares the steps of the first operation with the prestored steps, and when the starting step of the first operation is the same as the prestored starting step, the starting step of the first operation can be confirmed to be the starting point of the action operation of the first operation. Similarly, the electronic device may determine the operation end point using the same method as the confirmation of the operation start point.
In another example, when the user defines the confirmation operation start point and the operation end point, a script recording application in the electronic device may be used, and the user may perform recording of the first operation by using the script recording application.
For example, the operation information may be an operation action in an operation process of the first operation. In one example, the above operation action may include at least one of: touch input, such as click input, slide input, long press input, etc., voice input, specific gesture input.
For example, the path information of the operation flow may include an operation step in an operation process of the first operation, for example, a path process of opening a display page; the operation content in the operation process of the first operation can also be contained, for example, or a page control controlled by a user in an operation page; operation coordinates corresponding to the operation information, for example, display coordinates of click input in the page, may also be included.
The operation information and the route information may be matched with each other and may correspond to each other. For example, when the first operation is to take a picture using a filter, the path information may include an entry filter information page, the operation information may include clicking a filter display control, and the entry filter information page and the clicking filter display control may be matched and correspond to each other.
Therefore, the first electronic equipment can accurately control the starting point and the end point of the recorded script, so that the operation path in the recorded script file is an effective operation path aiming at the target function, and the utilization efficiency of the script file is improved.
Optionally, in this embodiment of the application, in the step 304, the method for sharing the operation flow of the electronic device provided by the application may include the following steps 304a1 and 304a 2:
step 304a 1: and the first electronic equipment eliminates redundant operation in the first operation by using a minimum path algorithm to obtain the updated recording information.
Step 304a 2: and the first electronic equipment generates a script file according to the updated recording information.
For example, the minimum path algorithm may calculate, according to the recording information, the recording information that can be excluded without affecting the integrity of the operation.
For example, the redundant operation may be an unnecessary operation in the first operation, which has no influence on the integrity of the operation after the elimination.
In one example, the redundant operation may be an unnecessary repetitive operation or an erroneous operation.
For example, the electronic device may change the recorded information into a script program that can be read by the electronic device by "translating" the recorded information, and summarize program commands in the script program according to a "translation" sequence, thereby finally generating a script file of the first operation.
Therefore, after the first electronic device generates the script file, unnecessary operation paths in the script file can be taken out through the minimum path algorithm, and therefore the use efficiency of the script file can be greatly improved.
Optionally, in this embodiment of the present application, the first operation may be divided into two operation modes: the first operation mode is to directly use the first electronic device to execute the target function; the second operation mode is to control the first electronic device to remotely operate the second electronic device to execute the above functions.
The first operation mode is as follows:
for example, the first operation is used to instruct the first electronic device to execute the target function.
In this way, the first electronic device can complete the recording process for the target function by performing the first operation on itself.
The second operation mode is as follows:
for example, in this embodiment of the present application, before the step 302, the method for sharing an operation flow of an electronic device provided by the present application further includes the following steps 306 to 308:
step 306: the first electronic device transmits the remote operation request information to the second electronic device.
Step 307: and the first electronic equipment receives remote operation response information fed back by the second electronic equipment in response to the remote operation request information.
Step 308: and the first electronic equipment remotely operates the second electronic equipment under the condition that the remote operation response information is used for indicating that the second electronic equipment agrees to remote operation.
Based on this, in the step 302, the operation flow sharing method of the electronic device provided by the present application may include the following steps 302 a:
step 302 a: the first electronic equipment receives a first operation of a user in the process of remotely operating the second electronic equipment by the first electronic equipment.
Illustratively, the first operation is used to control the first electronic device to remotely operate the second electronic device to execute the target function.
For example, the remote operation request information may include remote connection request information.
In one example, the remote connection request may be a connection instruction for establishing a remote connection between the first electronic device and the second electronic device.
For example, the remote operation response information fed back by the second electronic device may be used to inform the first electronic device whether the second electronic device agrees to perform the remote operation.
In one example, when the second electronic device is normally connected with the first electronic device, the remote operation request can be received, and information that the remote operation is allowed to be executed is sent to the first electronic device.
Illustratively, when the first electronic device remotely operates the second electronic device, the operation is essentially performed on the second electronic device, and only the display state of the second electronic device is viewed through the display screen of the first electronic device.
Example 2: when the electronic device 1 receives the help-seeking short message "that is sent by the electronic device 2 and relates to the help-seeking payment operation, and that" the help-seeking short message "informs how the payment function is used, the my bank card number is XX, and the my payment password is XX" (that is, the help-seeking request information), the electronic device 1 displays the help-seeking information on the display screen, after the user views the information, the user sends a remote connection request to the electronic device 2, after receiving the remote connection request, the electronic device 2 sends connection approval information (feedback remote operation response information) to the electronic device 1 and establishes remote connection, and then the user uses the electronic device 1 to control the electronic device 2 to perform the payment operation (that is, the first operation) and execute the payment function (that is, the target function).
At this time, the electronic device 1 opens the application of the recording script in the electronic device 2, and after clicking the recording control, the electronic device 1 starts to perform the payment operation, receives the payment operation (i.e., the first operation) performed by the user in the electronic device 2, and records the operation flow of the payment operation, and after completing the execution, the user clicks the closing control, and obtains the recording information. The application of the recording script automatically converts the operation flow of the payment operation into a script file, then uploads the script file to a cloud server, and generates a two-dimensional code (namely, the index information) for acquiring the script file, wherein the two-dimensional code is displayed with an action description related to the two-dimensional code, namely, identification information of the payment operation.
Therefore, when the first electronic device is remotely connected with the second electronic device, the operation path can be recorded by the first electronic device in the process of remote operation connection, a script file is generated and uploaded to the server, so that a user of the second electronic device can conveniently check and use the script file with the target function repeatedly, and the user does not need to ask for help again.
Optionally, in this embodiment of the application, the help request information further includes: the device parameters of the second electronic device. Based on this, before the step 302, the operation flow sharing method of the electronic device may further include the following step a:
step A: and the first electronic equipment performs equipment adaptation on the first electronic equipment and the second electronic equipment according to the equipment parameters of the first electronic equipment and the equipment parameters of the second electronic equipment.
For example, the device parameter may be a system parameter of the electronic device, including a system type of the electronic device, system version information, and the like. The system type of the electronic device may include an android system and an IOS system.
Illustratively, the first electronic device and the second electronic device include the following two adaptation results.
The first method comprises the following steps: the first electronic device is adapted to the second electronic device at the first electronic device.
For example, in combination with the step a, in the above 302, when the first electronic device is adapted to the second electronic device, the method for sharing an operation flow of an electronic device provided by the present application may include the following step 302 b:
step 302 b: the first electronic equipment receives a first operation of a user.
And the second method comprises the following steps: the first electronic device is adapted to the second electronic device at the first electronic device.
For example, in combination with the step a, the first electronic device, in a case that the first electronic device is not adapted to the second electronic device, before the step 302, the method for sharing the operation flow of the electronic device provided by the present application may include the following steps 310 to 312:
step 310: the first electronic device sends the remote operation request information to the second electronic device.
Step 311: and the first electronic equipment receives remote operation response information fed back by the second electronic equipment in response to the remote operation request information.
Step 312: and the first electronic equipment remotely operates the second electronic equipment under the condition that the remote operation response information is used for indicating that the second electronic equipment agrees to remote operation.
Based on this, in the above 302, the method for sharing an operation flow of an electronic device provided by the present application may further include the following step 302 c:
step 302 c: the first electronic equipment receives a first operation of a user in the process of remotely operating the second electronic equipment by the first electronic equipment.
Illustratively, the first operation is used to control the first electronic device to remotely operate the second electronic device to execute the target function.
For example, in the case where the first electronic device is not adapted to the second electronic device, the first electronic device may automatically send a remote connection request to the second electronic device.
For example, the operation process of the step 310 to the step 302c may refer to the operation process of the step 306 to the step 302a, which is not described herein again.
Therefore, the first electronic device can be matched with the second electronic device in advance to detect, so that the most appropriate operation mode for executing the target function is selected, and the problem that due to the fact that the first electronic device is not matched with the second electronic device, the script file cannot run in the second electronic device and inconvenience is brought to a user is effectively avoided. Meanwhile, under the condition that the first electronic device is not matched with the second electronic device, the first electronic device and the second electronic device can execute remote operation through the first electronic device in a remote connection mode, the remote operation process is recorded, a script file is generated and is repeatedly used by a user of the second electronic device, the user of the second electronic device does not need to repeatedly ask for help, and time and cost are saved.
Optionally, the help request information further includes: the first identity key of the second electronic device. Based on this, before step 302, the operation flow sharing method of the electronic device provided by the present application may further include the following step 310:
step 310: and the first electronic equipment generates a second identity key matched with the first identity key for the first electronic equipment according to the first identity key.
Illustratively, the script file includes the second identity key.
Illustratively, the first identity key is an identity key sent by the second electronic device when the second electronic device sends the help request message to the first electronic device.
For example, the first identity key is used to label the identity information of the second electronic device, and similarly, the second identity key is used to label the identity information of the first electronic device.
Illustratively, the first identity key and the second identity key are in a one-to-one correspondence relationship.
In one example, the identity key may be a string of randomly generated 16-bit strings, wherein the second identity key and the first identity key may be strings corresponding to a fixed rule.
For example, after downloading the script file, the second electronic device may determine, by identifying the second identity key, that the content of the script file is generated by the first electronic device, and after determining that the script file is generated by the first electronic device, may run the script file in the second electronic device.
Therefore, the first electronic equipment can conveniently identify the security object generating the script file by generating the second identity key and storing the identity key in the script file, and then the script file is operated under the condition of ensuring the data security of the second electronic equipment.
As shown in fig. 3, the present embodiment is applied to a second electronic device, and the operation flow sharing method of the electronic device includes the following steps 401 to 404:
step 401: the second electronic equipment sends help seeking request information to the first electronic equipment.
Step 402: and the second electronic equipment receives the index information of the script file sent by the first electronic equipment.
Step 403: and the second electronic equipment downloads the script file from the server according to the index information.
Step 404: and the second electronic equipment runs the script file and executes the target function.
In an embodiment of the application, the help request information is used to instruct the first electronic device to upload a script file corresponding to the target function to a server.
In the embodiment of the present application, the aforementioned contents may be referred to for the explanation of the index information, the server, the script file, and the target function, and are not described herein again.
For example, the second electronic device may download the script file on the server indicated by the index information according to the index information.
In an example, when the index information is a two-dimensional code, the user may open a server application, identify the two-dimensional code by using the server application, search a webpage where the script file is located by using the second electronic device, and download the script file. For example, the server application is a cloud disk application, and a user can use the cloud disk application to identify the two-dimensional code, so as to find a script file webpage corresponding to the two-dimensional code in the application, and further download the script file.
In an example, when the index information is a web page link, the user may input the web page connection at the input port of the browser website, so as to log in the web page where the script file is located by using the second electronic device, and then download the script file.
Example 3: after the electronic device 2 (i.e., the second electronic device) sends a help-seeking short message (i.e., the help-seeking request message) related to a help-seeking payment operation to the electronic device 1 (i.e., the first electronic device), the electronic device 1 converts the executed payment operation to generate a script file and uploads the script file to the cloud server, and sends a two-dimensional code (i.e., the index message) of the script file to the electronic device 2. Electronic device 2 opens the cloud disk application corresponding to the cloud server, uploads the two-dimensional code, and after the cloud disk application identifies the two-dimensional code, opens the webpage corresponding to the two-dimensional code, and the webpage contains the script file, and electronic device 2 can download the script file and run the script file in electronic device 2, thereby executing the function of payment operation (i.e. the target function).
According to the operation flow sharing method of the electronic equipment, after the second electronic equipment sends the help-seeking request information to the first electronic equipment, the second electronic equipment can receive the index information about the execution target function sent by the first electronic equipment, and then the second electronic equipment can download the script file from the server according to the index information, and then operate the script file to execute the target function. Therefore, when the user of the second electronic equipment does not use a certain target function, the target function can be executed in the second electronic equipment by downloading and operating the script file stored in the server by the first electronic equipment, and the script file can be repeatedly operated until the target function is completely mastered under the condition that the user of the second electronic equipment cannot master the executed target function at one time, so that other users do not need to be repeatedly asked for help, and the consumed time is saved.
Optionally, in this embodiment of the application, in the step 401, the operation flow sharing method of the electronic device provided by the application may include the following steps 401a1 to 401a 4:
step 401a 1: and the second electronic equipment receives the remote operation request information sent by the first electronic equipment.
Step 402a 2: and responding to the remote operation request information, and the second electronic equipment sends remote operation response information to the first electronic equipment.
Step 403a 3: the second electronic device receives a first operation of remotely operating the second electronic device by the first electronic device.
Step 404a 4: and responding to the first operation, and executing the target function by the second electronic equipment.
Illustratively, the remote operation response information is used to indicate that the second electronic device agrees to remote operation.
For example, the remote operation request information may refer to the foregoing description, and is not described herein again.
Example 4: after the electronic device 2 (i.e., the second electronic device) sends a help-seeking short message (i.e., the help-seeking request information) related to a help-seeking payment operation to the electronic device 1 (i.e., the first electronic device), the electronic device 1 sends a remote connection request to the electronic device 2, and after receiving the remote connection request, the electronic device 2 sends information (feedback remote operation response information) of agreeing to connection to the electronic device 1 and establishes remote connection, so that the user can perform a payment operation (i.e., the first operation) on the electronic device 2 by controlling the electronic device 1, and the electronic device 2 performs a payment function (i.e., the target function). Meanwhile, the electronic device 1 records the payment operation process, finally generates a script file, uploads the script file to the cloud server, sends the address stored in the script file in the cloud server to the electronic device 2 in a two-dimensional code mode, and is used for subsequent searching by a user of the electronic device 2.
Therefore, the second electronic device can also select to execute the target function by remotely connecting with the first electronic device, and records the process of executing the target function for the user of the second electronic device to repeatedly check, so that the user of the second electronic device is prevented from inquiring other people again when the user of the second electronic device cannot master the operation of executing the target function at one time, and the time is saved.
Optionally, in this embodiment of the application, the help request information further includes: a first identity key of the second electronic device; the script file further includes: and the second identity key of the first electronic equipment. Based on this, in the step 404, the operation flow sharing method of the electronic device provided by the present application may include the following steps 404 a:
step 404 a: and the second electronic equipment runs the script file to execute the target function under the condition that the first identity key is matched with the second identity key.
For example, the first identity key and the second identity key may refer to the foregoing description, and are not described herein again.
For example, after acquiring the second identity key in the script file, the second electronic device checks whether the second identity key matches the first identity key. Because the first identity key and the second identity key are in one-to-one correspondence, the script file can be operated only when the second identity key is matched with the first identity key, so that the data security of the second electronic equipment is protected.
It can be understood that, if the identity key stored in the script file does not match the first identity key, the second electronic device does not run the script file to ensure data security. For example, when the script file is a script file of a payment operation, the second electronic device may perform the payment operation by executing the script file, and perform the payment operation using the bank card information stored in the second electronic device. If the second electronic device does not need to be matched with the identity key, the script file can be directly operated, if the script file is a malicious stolen script file, money loss can be caused to a user of the second electronic device, and after the identity key matching step is added, an authentication process can be added for the operation of the script file, so that the data security of the second electronic device is ensured.
Therefore, the second electronic equipment can ensure the data security of the second electronic equipment by judging the matching condition of the first identity key and the second identity key, and ensure the personal interests and the personal privacy of the user of the second electronic equipment.
It should be noted that, in the operation flow sharing method for an electronic device provided in the embodiment of the present application, the execution main body may be an operation flow sharing device of the electronic device, or a control module in the operation flow sharing device of the electronic device, which is used for executing the operation flow sharing method for the electronic device. In the embodiment of the present application, an operation flow sharing method of an electronic device, which is performed by the electronic device, is taken as an example, and the operation flow sharing method of the electronic device provided in the embodiment of the present application is explained.
Fig. 4 is a schematic structural diagram of a possible configuration of an operation flow sharing device 600 for implementing an electronic device according to an embodiment of the present disclosure. As shown in fig. 4, the apparatus 600 includes a display module 601, a receiving module 602, a recording module 603, a generating module 604, and a sending module 605; the display module 601 is configured to, in a case that help request information sent by a second electronic device is received, respond to the help request information, and display prompt information, where the help request information is used to request an operation flow of sharing a target function, and the prompt information is used to prompt a user to display the operation flow of the target function; the receiving module 602 is configured to receive a first operation of a user, where the first operation is used to execute the target function; the recording module 603 is configured to record an operation procedure of the first operation in response to the first operation received by the receiving module 602, so as to obtain recording information; the generating module 604 is configured to generate a script file according to the recording information recorded by the recording module 603; the sending module 605 is configured to upload the script file generated by the generating module 604 to a server, and send index information of the script file to the second electronic device.
Optionally, in this embodiment of the application, the recording module 604 is specifically configured to, in a process that a user performs the first operation, start recording at an action operation start point of the first operation, end recording at an action operation end point of the first operation, and obtain recording information after ending recording; wherein, the above-mentioned record information includes: path information of the operation flow of the first operation and operation information of the first operation.
Optionally, in this embodiment of the application, the apparatus 600 further includes the update module 606: the updating module 606 is configured to eliminate redundant operations in the first operation by using a minimum path algorithm, so as to obtain updated recording information; the updating module 606 is configured to generate a script file according to the recording information updated by the updating module 606.
Optionally, in this embodiment of the application, the help request information further includes: a device parameter of the second electronic device; the apparatus 600 further comprises: an adaptation module 607; the adapting module 607 is configured to perform device adaptation on the first electronic device and the second electronic device according to the device parameter of the first electronic device and the device parameter of the second electronic device; the receiving module 602 is specifically configured to receive a first operation of a user when the first electronic device is adapted to the second electronic device.
Optionally, in this embodiment of the present application, the apparatus 600 further includes a remote operation module 608; the sending module 605 is further configured to send remote operation request information to the second electronic device; the receiving module 602 is further configured to receive remote operation response information fed back by the second electronic device in response to the remote operation request information sent by the sending module; the remote operation module 608 is configured to remotely operate the second electronic device when the remote operation response information received by the receiving module 602 indicates that the second electronic device approves a remote operation; the receiving module 602 is specifically configured to receive a first operation of a user during a process of remotely operating the second electronic device by the first electronic device, where the first operation is used to control the first electronic device to remotely operate the second electronic device to execute the target function.
Optionally, in this embodiment of the application, the first operation is used to instruct the first electronic device to execute the target function.
Optionally, in this embodiment of the application, the help request information further includes: a first identity key of the second electronic device; the generating module 604 is further configured to generate a second identity key matching the first identity key for the first electronic device according to the first identity key; the script file includes the second identity key.
It should be noted that, as shown in fig. 4, modules that are necessarily included in the operation flow sharing apparatus 600 of the electronic device are indicated by solid line boxes, such as a receiving module 601; modules that may be included in the operation flow sharing apparatus 600 of the electronic device are indicated by dashed boxes, such as the update module 606.
Fig. 5 is a schematic diagram illustrating a possible structure of an operation flow sharing apparatus for an electronic device according to an embodiment of the present disclosure, and as shown in fig. 5, an operation flow sharing apparatus 700 for an electronic device includes: a sending module 701, a receiving module 702, a downloading module 703 and an executing module 704; the sending module 701 is configured to send help request information to a first electronic device, where the help request information is used to instruct the first electronic device to upload a script file corresponding to the target function to a server; the receiving module 702 is configured to receive index information of the script file sent by the sending module 701 of the first electronic device; the download module 703 is configured to download the script file from a server according to the index information received by the receiving module 702; the executing module 704 is configured to run the script file downloaded by the downloading module 703 and execute the target function.
Optionally, in this embodiment of the application, the receiving module 702 is specifically configured to receive remote operation request information sent by the first electronic device; the sending module 701 is specifically configured to send a remote operation response message to the first electronic device in response to the remote operation request message received by the receiving module 702, where the remote operation response message is used to indicate that the second electronic device approves remote operation; the receiving module 702 is further configured to specifically receive a first operation of the first electronic device remotely operating the second electronic device; the executing module 704 is specifically configured to execute the target function in response to the first operation received by the receiving module.
Optionally, in this embodiment of the application, the help request information further includes: a first identity key of the second electronic device; the script file further includes: a second identity key of the first electronic device; the execution module is specifically configured to run the script file and execute the target function when the first identity key is matched with the second identity key.
The operation flow sharing device of the electronic device in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The operation flow sharing device 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 (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The operation flow sharing device for the electronic device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 2 to fig. 3, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the operation flow sharing method embodiment of the electronic device, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110. Wherein the user input unit 107 includes: touch panel 1071 and other input devices 1072, display unit 106 including display panel 1061, input unit 104 including image processor 1041 and microphone 1042, memory 109 may be used to store software programs (e.g., an operating system, application programs needed for at least one function), and various data.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
When the electronic device 100 is a first electronic device, the display unit 106 is configured to, in a case that help request information sent by a second electronic device is received, respond to the help request information and display prompt information, where the help request information is used to request an operation flow of sharing a target function, and the prompt information is used to prompt a user to display the operation flow of the target function; a user input unit 107 for receiving a first operation of a user, the first operation being used to execute the target function; a processor 110, configured to respond to the first operation received by the user input unit 107, and record an operation procedure of the first operation to obtain recording information; the processor 110 is further configured to generate a script file according to the recording information recorded by the processor 110; the radio frequency unit 101 is configured to upload the script file generated by the processor 110 to a server, and send index information of the script file to the second electronic device.
Optionally, the processor 110 is specifically configured to, in a process that the user performs the first operation, start recording at an action operation start point of the first operation, end recording at an action operation end point of the first operation, and obtain recording information after ending recording; wherein, the above-mentioned record information includes: path information of the operation flow of the first operation and operation information of the first operation.
Optionally, the processor 110 is specifically configured to eliminate redundant operations in the first operation by using a minimum path algorithm, so as to obtain updated recording information; the processor 110 is further specifically configured to generate a script file according to the updated recording information.
Optionally, the help request information further includes: a device parameter of the second electronic device; the processor 110 is further configured to perform device adaptation on the first electronic device and the second electronic device according to the device parameter of the first electronic device and the device parameter of the second electronic device; the user input unit 107 is specifically configured to receive a first operation of a user when the first electronic device is adapted to the second electronic device.
Optionally, the radio frequency unit 101 is further configured to send remote operation request information to the second electronic device; a user input unit 107, further configured to receive remote operation response information fed back by the second electronic device in response to the remote operation request information; the processor 110 is further configured to remotely operate the second electronic device if the remote operation response information received by the user input unit 107 indicates that the second electronic device agrees to remote operation; the user input unit is configured to receive a first operation of a user during a process of remotely operating the second electronic device by the first electronic device, where the first operation is used to control the first electronic device to remotely operate the second electronic device to execute the target function.
Optionally, the help request information further includes: a first identity key of the second electronic device; the processor 110 is configured to generate a second identity key matching the first identity key for the first electronic device according to the first identity key; the script file includes the second identity key.
When the electronic device 100 is a second electronic device, the radio frequency unit 101 is configured to send help request information to a first electronic device, where the help request information is used to instruct the first electronic device to upload a script file corresponding to the target function to a server; a user input unit 107, configured to receive index information of the script file sent by the first electronic device; a processor 110 for downloading the script file from a server according to the index information received by the user input unit; the processor 110 is further configured to run the script file to perform the target function.
Optionally, the user input unit 107 is configured to receive remote operation request information sent by the first electronic device; a radio frequency unit 101, configured to send a remote operation response message to the first electronic device in response to the remote operation request message received by the user input unit 107, where the remote operation response message is used to indicate that the second electronic device approves a remote operation; a user input unit 107 for receiving a first operation of the first electronic device to remotely operate the second electronic device; the processor 110 is configured to execute the target function in response to the first operation.
Optionally, the help request information further includes: a first identity key of the second electronic device; the script file further includes: a second identity key of the first electronic device; the processor 110 is specifically configured to execute the script file and execute the target function when the first identity key matches the second identity key.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the operation flow sharing method for the electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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 Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, so as to implement each process of the operation flow sharing method embodiment of the electronic device, and achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may 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 instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An operation flow sharing method of electronic equipment is applied to first electronic equipment and is characterized in that,
under the condition that help-seeking request information sent by second electronic equipment is received, responding to the help-seeking request information, and displaying prompt information, wherein the help-seeking request information is used for requesting to share an operation process of a target function, and the prompt information is used for prompting a user to display the operation process of the target function;
receiving a first operation of a user, wherein the first operation is used for executing the target function;
responding to the first operation, recording an operation flow of the first operation to obtain recording information;
generating a script file according to the recording information;
and uploading the script file to a server, and sending index information of the script file to the second electronic equipment.
2. The method of claim 1, wherein the recording the operation flow of the first operation to obtain recording information comprises:
in the process that the user executes the first operation, starting recording at the action operation starting point of the first operation, finishing recording at the action operation end point of the first operation, and obtaining recording information after finishing recording;
wherein the recording information includes: path information of an operation flow of the first operation and operation information of the first operation.
3. The method according to claim 1 or 2, wherein the generating a script file according to the recording information comprises:
eliminating redundant operation in the first operation by using a minimum path algorithm to obtain updated recording information;
and generating a script file according to the updated recording information.
4. The method of claim 1, wherein the help request further comprises: a device parameter of the second electronic device;
before the receiving the first operation of the user, the method further includes:
performing device adaptation on the first electronic device and the second electronic device according to the device parameters of the first electronic device and the device parameters of the second electronic device;
the receiving a first operation of a user comprises:
and receiving a first operation of a user under the condition that the first electronic equipment is matched with the second electronic equipment.
5. The method of claim 1, wherein prior to the receiving the first action by the user, the method further comprises:
sending remote operation request information to the second electronic equipment;
receiving remote operation response information fed back by the second electronic equipment in response to the remote operation information request;
remotely operating the second electronic device in the case that the remote operation response information is used for indicating that the second electronic device agrees with remote operation;
the receiving a first operation of the user comprises:
and receiving a first operation of a user in the process of remotely operating the second electronic equipment by the first electronic equipment, wherein the first operation is used for controlling the first electronic equipment to remotely operate the second electronic equipment to execute the target function.
6. The method of claim 1, wherein the help request message further comprises: a first identity key of the second electronic device;
before the receiving the first operation of the user, the method further comprises;
generating a second identity key matched with the first identity key for the first electronic equipment according to the first identity key; the script file contains the second identity key.
7. An operation flow sharing method of electronic equipment is applied to second electronic equipment and is characterized in that,
sending help-seeking request information to first electronic equipment, wherein the help-seeking request information is used for indicating the first electronic equipment to upload a script file corresponding to the target function to a server;
receiving index information of the script file sent by the first electronic equipment;
downloading the script file from the server according to the index information;
and running the script file to execute the target function.
8. The method of claim 7, wherein sending a help request to the first electronic device comprises:
receiving remote operation request information sent by the first electronic equipment;
responding to the remote operation request information, and sending remote operation response information to the first electronic equipment, wherein the remote operation response information is used for indicating that the second electronic equipment agrees remote operation;
receiving a first operation of remotely operating the second electronic device by the first electronic device;
in response to the first operation, the target function is executed.
9. The method of claim 7, wherein the help request message further comprises: a first identity key of the second electronic device; the script file further comprises: a second identity key of the first electronic device;
the running of the script file and the execution of the target function comprise:
and running the script file to execute the target function under the condition that the first identity key is matched with the second identity key.
10. An operation flow sharing device of electronic equipment is characterized by comprising a display module, a receiving module, a recording module, a generating module and a sending module;
the display module is used for responding to the help-seeking request information and displaying prompt information under the condition that the help-seeking request information sent by the second electronic equipment is received, wherein the help-seeking request information is used for requesting to share the operation process of the target function, and the prompt information is used for prompting a user to display the operation process of the target function;
the receiving module is used for receiving a first operation of a user, and the first operation is used for executing the target function;
the recording module is used for responding to the first operation received by the receiving module and recording the operation flow of the first operation to obtain recording information;
the generating module is used for generating a script file according to the recording information recorded by the recording module;
the sending module is used for uploading the script file generated by the generating module to a server and sending the index information of the script file to the second electronic equipment.
11. An operation flow sharing device of electronic equipment is characterized by comprising a sending module, a receiving module, a downloading module and an executing module;
the sending module is used for sending help-seeking request information to first electronic equipment, wherein the help-seeking request information is used for indicating the first electronic equipment to upload the script file corresponding to the target function to a server;
the receiving module is used for receiving the index information of the script file sent by the first electronic equipment;
the downloading module is used for downloading the script file from a server according to the index information received by the receiving module;
the execution module is used for operating the script file downloaded by the downloading module and executing the target function.
CN202010676164.1A 2020-07-14 2020-07-14 Operation flow sharing method and device of electronic equipment Pending CN111966435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010676164.1A CN111966435A (en) 2020-07-14 2020-07-14 Operation flow sharing method and device of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010676164.1A CN111966435A (en) 2020-07-14 2020-07-14 Operation flow sharing method and device of electronic equipment

Publications (1)

Publication Number Publication Date
CN111966435A true CN111966435A (en) 2020-11-20

Family

ID=73361911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010676164.1A Pending CN111966435A (en) 2020-07-14 2020-07-14 Operation flow sharing method and device of electronic equipment

Country Status (1)

Country Link
CN (1) CN111966435A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190295A (en) * 2021-04-28 2021-07-30 维沃移动通信(深圳)有限公司 Information processing method, processing device and electronic equipment

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991772A (en) * 2015-06-30 2015-10-21 努比亚技术有限公司 Remote operation guide method and apparatus
CN105159672A (en) * 2015-08-28 2015-12-16 小米科技有限责任公司 Remote assistance method and client
CN105224456A (en) * 2015-09-29 2016-01-06 北京奇虎科技有限公司 A kind of test script generates methods, devices and systems
CN107508849A (en) * 2016-08-10 2017-12-22 广东小天才科技有限公司 Remote control method and system of mobile terminal and mobile terminal
CN108027725A (en) * 2015-09-18 2018-05-11 华为技术有限公司 The method, apparatus and equipment for instructing terminal device to operate
CN108293081A (en) * 2015-11-06 2018-07-17 三星电子株式会社 Pass through the program playback deep linking of user interface event to mobile application state
US20180262388A1 (en) * 2006-09-25 2018-09-13 Weaved, Inc. Remote device deployment
CN108920225A (en) * 2018-05-03 2018-11-30 腾讯科技(深圳)有限公司 Remote assistant control method and device, terminal, storage medium
CN108984255A (en) * 2018-07-05 2018-12-11 腾讯科技(深圳)有限公司 A kind of remote assistance method and relevant device
CN109086365A (en) * 2018-07-20 2018-12-25 常州信息职业技术学院 local file sharing method, system, device, electronic equipment and storage medium
CN109189519A (en) * 2018-07-26 2019-01-11 哈尔滨工业大学(威海) A kind of general user's desktop Behavior modeling system and method
CN110032416A (en) * 2019-04-15 2019-07-19 维沃移动通信有限公司 A kind of terminal remote control method and terminal
CN110134600A (en) * 2019-05-09 2019-08-16 北京小米移动软件有限公司 Test script method for recording, device and storage medium
CN111045772A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180262388A1 (en) * 2006-09-25 2018-09-13 Weaved, Inc. Remote device deployment
CN104991772A (en) * 2015-06-30 2015-10-21 努比亚技术有限公司 Remote operation guide method and apparatus
CN105159672A (en) * 2015-08-28 2015-12-16 小米科技有限责任公司 Remote assistance method and client
CN108027725A (en) * 2015-09-18 2018-05-11 华为技术有限公司 The method, apparatus and equipment for instructing terminal device to operate
CN105224456A (en) * 2015-09-29 2016-01-06 北京奇虎科技有限公司 A kind of test script generates methods, devices and systems
CN108293081A (en) * 2015-11-06 2018-07-17 三星电子株式会社 Pass through the program playback deep linking of user interface event to mobile application state
CN107508849A (en) * 2016-08-10 2017-12-22 广东小天才科技有限公司 Remote control method and system of mobile terminal and mobile terminal
CN108920225A (en) * 2018-05-03 2018-11-30 腾讯科技(深圳)有限公司 Remote assistant control method and device, terminal, storage medium
CN108984255A (en) * 2018-07-05 2018-12-11 腾讯科技(深圳)有限公司 A kind of remote assistance method and relevant device
CN109086365A (en) * 2018-07-20 2018-12-25 常州信息职业技术学院 local file sharing method, system, device, electronic equipment and storage medium
CN109189519A (en) * 2018-07-26 2019-01-11 哈尔滨工业大学(威海) A kind of general user's desktop Behavior modeling system and method
CN110032416A (en) * 2019-04-15 2019-07-19 维沃移动通信有限公司 A kind of terminal remote control method and terminal
CN110134600A (en) * 2019-05-09 2019-08-16 北京小米移动软件有限公司 Test script method for recording, device and storage medium
CN111045772A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190295A (en) * 2021-04-28 2021-07-30 维沃移动通信(深圳)有限公司 Information processing method, processing device and electronic equipment

Similar Documents

Publication Publication Date Title
US11487503B2 (en) Interactive control method and device for voice and video communications
CN111866885A (en) Verification information sharing method and device and electronic equipment
CN112035878B (en) Information display method and device and electronic equipment
CN104038560A (en) Remote assistance method between mobile terminals, client side, electronic device and system
EP3292680A1 (en) Building multimodal collaborative dialogs with task frames
KR20190032026A (en) Method for providing natural language expression and electronic device supporting the same
JP2015122058A (en) Information sharing system and information sharing method
CN104219378A (en) Information processing method and device
CN114374663B (en) Message processing method and message processing device
CN114827068A (en) Message sending method and device, electronic equipment and readable storage medium
CN114741146A (en) Multi-device cooperation method and device, electronic device and medium
CN111966435A (en) Operation flow sharing method and device of electronic equipment
CN112235412B (en) Message processing method and device
CN112558837A (en) Icon processing method and device, electronic equipment and readable storage medium
WO2023134599A1 (en) Voice information sending method and apparatus, and electronic device
CN107317908B (en) A kind of user knows method for distinguishing, terminal and storage medium
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN115277670A (en) Network connection control method and device of target application and electronic equipment
CN111813741B (en) File sharing method and electronic equipment
CN113190295A (en) Information processing method, processing device and electronic equipment
CN112333081A (en) Message processing method and electronic equipment
CN112702260B (en) Image sending method and device and electronic equipment
CN114637563A (en) Information input method and device
CN113705269A (en) Information code identification method, touch device, information code identification device and electronic equipment
CN116974421A (en) Desktop assembly operation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination