CN114422638B - Cloud mobile phone control method, device, equipment, medium and program product - Google Patents

Cloud mobile phone control method, device, equipment, medium and program product Download PDF

Info

Publication number
CN114422638B
CN114422638B CN202210038498.5A CN202210038498A CN114422638B CN 114422638 B CN114422638 B CN 114422638B CN 202210038498 A CN202210038498 A CN 202210038498A CN 114422638 B CN114422638 B CN 114422638B
Authority
CN
China
Prior art keywords
instruction
control instruction
current control
mobile phone
sending
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.)
Active
Application number
CN202210038498.5A
Other languages
Chinese (zh)
Other versions
CN114422638A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202210038498.5A priority Critical patent/CN114422638B/en
Publication of CN114422638A publication Critical patent/CN114422638A/en
Application granted granted Critical
Publication of CN114422638B publication Critical patent/CN114422638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure provides a cloud mobile phone control method, a device, equipment, a medium and a program product, relates to the field of computers, in particular to the field of cloud computing, and can be applied to scenes such as cloud mobile phones. The specific implementation scheme is as follows: determining a current control instruction from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro; acquiring a front execution result of a front control instruction; and determining the sending state of the current control instruction according to the pre-execution result. According to the technical scheme, the control operation of the cloud mobile phone can be simplified.

Description

Cloud mobile phone control method, device, equipment, medium and program product
Technical Field
The disclosure relates to the technical field of computers, in particular to the field of cloud computing, and specifically relates to a cloud mobile phone control method, a device, equipment, a medium and a program product.
Background
The cloud mobile phone is a network device which runs at the cloud end and provides a remote control function. The cloud mobile phone processes tasks such as data calculation, image rendering coding and the like on the cloud, the local mobile phone is only used as a display terminal, content in the cloud mobile phone is displayed to a user, and remote control of the cloud mobile phone can be achieved by initiating control operation on the local mobile phone.
Controlling a cloud handset through predefined management actions is a common cloud handset control approach. The user may implement control of the cloud handset by clicking a predefined management action (e.g., restarting the cloud handset, resetting the cloud handset, or downloading a cloud application, etc.) at the local device. However, in many cases, the same management actions need to be performed on the batch cloud mobile phones, so it is important to simplify the cloud mobile phone control operation.
Disclosure of Invention
The disclosure provides a cloud mobile phone control method, a cloud mobile phone control device, a cloud mobile phone control equipment, a cloud mobile phone control medium and a cloud mobile phone control program product.
According to an aspect of the present disclosure, there is provided a cloud mobile phone control method, including:
determining a current control instruction from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro;
Acquiring a front execution result of a front control instruction;
and determining the sending state of the current control instruction according to the pre-execution result.
According to another aspect of the present disclosure, there is provided a cloud mobile phone control apparatus, including:
The current control instruction determining module is used for determining a current control instruction from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro;
the front execution result acquisition module is used for acquiring a front execution result of the front control instruction; and the sending state determining module is used for determining the sending state of the current control instruction according to the pre-execution result.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the cloud handset control method of any of the embodiments of the disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the cloud cell phone control method of any of the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the cloud handset control method of any of the embodiments of the present disclosure.
The embodiment of the disclosure can simplify the control operation of the cloud mobile phone.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
Fig. 1 is a schematic diagram of a cloud mobile phone control method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of another cloud mobile phone control method according to an embodiment of the present disclosure;
Fig. 3 is a schematic diagram of yet another cloud mobile phone control method provided according to an embodiment of the present disclosure;
Fig. 4 is a signaling diagram of cloud handset control provided according to an embodiment of the disclosure;
fig. 5 is a schematic diagram of a cloud mobile phone control device according to an embodiment of the present disclosure;
Fig. 6 is a block diagram of an electronic device used to implement a cloud handset control method of an embodiment of the disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a flowchart of a cloud mobile phone control method according to an embodiment of the present disclosure, where the embodiment may be applicable to a case of controlling a cloud mobile phone by an instruction macro. The method of the embodiment can be executed by a cloud mobile phone control device, the device can be realized in a software and/or hardware mode, and the device is specifically configured in an electronic device with a certain data operation capability, wherein the electronic device can be a client device or a server device, and the client device can be a mobile phone, a tablet computer, a vehicle-mounted terminal, a desktop computer and the like.
S110, determining a current control instruction from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro.
The instruction macro is a name of batch processing and is used for controlling the cloud mobile phone in batches. The instruction macro is assembled by at least two cloud mobile phone control instructions which are sequentially arranged. The instruction macro is assembled by cloud application downloading, cloud application installation and cloud application starting of 3 cloud mobile phone control instructions which are sequentially arranged. The control instruction for the cloud mobile phone may include downloading, installing and running of the cloud application, resetting or restarting of the cloud mobile phone, and the like.
In the embodiment of the disclosure, when the cloud mobile phone is controlled by the instruction macro, the local device sequentially acquires the current control instruction from the instruction macro according to the arrangement sequence of the control instructions in the instruction macro so as to sequentially control the cloud mobile phone. Specifically, according to the arrangement sequence of the control instructions in the instruction macro, the control instruction arranged at the first position is used as the current control instruction. And when the execution of the current control instruction is finished and the continuous execution condition of the instruction macro is met, continuing to take the next control instruction as a new current control instruction according to the arrangement sequence of the control instructions, and the like until the execution of all the control instructions in the instruction macro is completed. For example, the instruction macro continued execution condition may be that the execution result of the current control instruction is successful.
In a specific example, the instruction macro includes a control instruction a, a control instruction B, and a control instruction C that are sequentially arranged. When the cloud mobile phone is controlled by the instruction macro, the control instruction A is firstly used as a current control instruction. Further, after the control instruction A is executed, the control instruction B is used as a current control instruction according to the arrangement sequence of the control instructions. Further, after the control instruction B is executed, the control instruction C is used as the current control instruction according to the arrangement sequence of the control instructions.
S120, acquiring a front execution result of the front control instruction.
The pre-control instruction is a control instruction that is arranged in the instruction macro in a sequence earlier than the current control instruction, that is, the pre-control instruction is a control instruction that is executed before the current control instruction. For example, the instruction macro includes a control instruction a, a control instruction B, and a control instruction C arranged in sequence. The current control instruction is C, and the pre-control instruction may be control instruction a and/or control instruction B.
In the embodiment of the disclosure, after determining the current control instruction, a pre-execution result of the pre-control instruction needs to be acquired, so as to determine whether to continue to send the current control instruction to the cloud mobile phone according to the pre-execution result when the current control instruction includes the pre-constraint item. Specifically, after receiving a control instruction sent by the local device, the instruction executor running in the cloud mobile phone executes the control instruction, and feeds back an execution result of the control instruction to the local device. The local device stores the execution result fed back by the instruction executor for each control instruction, so as to determine whether to continue to send the next control instruction according to the pre-execution result of the stored pre-control instruction when the next control instruction contains the pre-constraint item.
The prepositive constraint item of the current control instruction is used for constraining the sending time of the control instruction, and the prepositive constraint item is a prepositive execution result of the prepositive control instruction. The current control instruction is a cloud application installation instruction, the front control instruction of the current control instruction is a cloud application downloading instruction, and the cloud application installation instruction is continuously sent to the cloud mobile phone only if the execution result of the cloud application downloading instruction is successful. That is, the pre-constraint item of the cloud application installation instruction is that the cloud application download instruction is executed successfully.
In a specific example, the instruction macro includes a cloud application download instruction, a cloud application installation instruction, and a cloud application start instruction. When the current control instruction is determined to be the cloud application installation instruction, a front execution result of a front control instruction of the cloud application installation instruction needs to be acquired, namely, an execution result of a cloud application downloading instruction is acquired. The execution result may include successful cloud application download or failure of cloud application download.
S130, determining the sending state of the current control instruction according to the pre-execution result.
After the pre-execution result of the pre-control instruction is obtained, the sending state of the current control instruction can be determined according to the pre-execution result. Specifically, when the current control instruction includes a pre-constraint item and the pre-execution result is successful, the current control instruction can be continuously sent to the cloud mobile phone, otherwise, the sending process of the control instruction in the instruction macro is terminated.
In a specific example, the order in the instruction macro includes a cloud mobile phone setting instruction and a cloud mobile phone restarting instruction, and the prepositive constraint item of the cloud mobile phone restarting instruction is that the cloud mobile phone setting instruction is successfully executed. And after the front execution result (the execution result of the cloud mobile phone setting instruction) is obtained as success, continuing to send a cloud mobile phone restarting instruction to the cloud mobile phone.
According to the technical scheme of the embodiment of the disclosure, firstly, a current control instruction is determined from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro, then a front execution result of the front control instruction is obtained, the sending state of the current control instruction is determined according to the front execution result, the cloud mobile phone is controlled to sequentially execute a plurality of control instructions through the instruction macro, the operation flow of the cloud mobile phone user is simplified, and the control efficiency of the cloud mobile phone is improved.
Fig. 2 is a schematic diagram of a control method of a cloud mobile phone in an embodiment of the present disclosure, which is further refined on the basis of the foregoing embodiment, and provides specific steps for determining a sending state of a current control instruction according to a pre-execution result. The following describes a cloud mobile phone control method provided by an embodiment of the present disclosure with reference to fig. 2, including the following steps:
S210, determining a current control instruction from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro.
Optionally, the control instruction includes at least one of an instruction identification, an instruction parameter, an instruction execution duration threshold, and a pre-constraint of the instruction.
In this optional embodiment, a control instruction included in the instruction macro is described, where the control instruction is a minimum transaction unit issued to the instruction executor in the cloud mobile phone for execution. The control instruction is displayed in the cloud mobile phone client page in a button or drop-down menu mode, and the user controls the cloud mobile phone by clicking the button or menu item in the cloud mobile phone client page. For example, the control instruction may be cloud mobile phone reset, restart, background cleaning, or downloading, installing, starting, closing, returning to the previous step, uninstalling, etc. of the cloud application.
The control instructions include at least one of an instruction identification, an instruction parameter, an instruction execution duration threshold, and a pre-constraint of the predicted instruction. The instruction identifier is used for identifying a unique control instruction; the instruction parameters are parameters required in the execution process of the control instruction, such as downloading websites contained in the control instruction, and installing, starting or uninstalling cloud application identifiers contained in the cloud application instruction; the instruction execution time length threshold is used for limiting the execution time length of the control instruction, and if the control instruction execution time length exceeds the instruction execution time length threshold, the control instruction execution failure is determined; the prepositive constraint item of the instruction is used for constraining the sending time of the control instruction, and the prepositive constraint item is the prepositive execution result of the prepositive control instruction of the current control instruction. For example, the current control instruction is a cloud application installation instruction, the front control instruction of the current control instruction is a cloud application downloading instruction, and the cloud application installation instruction is continuously sent to the cloud mobile phone only if the execution result of the cloud application downloading instruction is successful. That is, the prepositioned constraint item of the cloud application installation instruction is that the cloud application downloading instruction is successfully executed. By setting the preposed constraint item for the control instruction, the continuity of macro execution of the instruction can be ensured, when the preposed execution result is failure, the control instruction is not sent to the cloud application, and the control efficiency of the cloud mobile phone is improved, and meanwhile, the unnecessary calculation amount is reduced.
S220, acquiring a front execution result of the front control instruction.
And S230, determining that the sending state of the current control instruction is continuous sending when the current control instruction contains the preposed constraint item and the preposed execution result is successful.
In the embodiment of the disclosure, when the current control instruction includes a pre-constraint item and the pre-execution result is successful, determining that the sending state of the current control instruction is to continue sending. That is, the local device can continue to send the current control instruction to the cloud mobile phone at this time, and by setting the pre-constraint item, the current control instruction can be sent to the cloud mobile phone only when the pre-control instruction on which the current control instruction depends is successfully executed, so that the execution continuity of the control instruction in the instruction macro can be ensured.
In a specific example, the order in the instruction macro includes a cloud mobile phone setting instruction and a cloud mobile phone restarting instruction, where a pre-constraint item of the cloud mobile phone restarting instruction is that the cloud mobile phone setting instruction is successfully executed. After the current control instruction is a cloud mobile phone restarting instruction, determining an execution result of the cloud mobile phone setting instruction, and determining the sending state of the cloud mobile phone restarting instruction as continuous sending under the condition that the cloud mobile phone setting instruction is successfully executed.
S240, sending a current control instruction to the management background, wherein the current control instruction is used for indicating the management background to carry out safety verification on the current control instruction, and forwarding the current control instruction to the cloud mobile phone under the condition that verification is passed.
The management background is used for storing control instructions for the cloud mobile phone, and after the local equipment starts the cloud mobile phone client, the control instructions in the management background can be synchronized to the local for the user to use. In addition, the management background is also used for carrying out security check on the control instruction sent by the local equipment, and specifically, when the local equipment needs to control the cloud mobile phone, the control instruction is sent to the management background, and the management background carries out security check and then forwards the control instruction to the cloud mobile phone. For example, the management background may verify whether the control instruction sent by the local device is legal according to the predefined instruction verification information.
In the embodiment of the present disclosure, after determining that the sending state of the current control instruction is continuous sending, the local device continuously sends the current control instruction to the management background. The management background can carry out safety verification on the received control instruction according to preset verification information, and only when the verification is passed, the current control instruction can be forwarded to the cloud mobile phone, so that the loss of a user or a cloud mobile phone platform caused by the control of the cloud mobile phone by an illegal control instruction is avoided, and the safety of the control of the cloud mobile phone is improved.
According to the technical scheme of the embodiment of the disclosure, the current control instruction is determined from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro, and then the front execution result of the front control instruction is obtained. And when the current control instruction comprises a preposed constraint item and the preposed execution result is successful, determining that the sending state of the current control instruction is continuous sending, and sending the current control instruction to the management background for indicating the management background to carry out safety verification on the current control instruction, and forwarding the current control instruction to the cloud mobile phone under the condition that the verification is passed, so that the cloud mobile phone is controlled to sequentially execute a plurality of control instructions through an instruction macro, and the operation flow of a user is simplified.
Fig. 3 is a schematic diagram of a control method of a cloud mobile phone in an embodiment of the present disclosure, which is further refined on the basis of the foregoing embodiment, and provides specific steps for determining a sending state of a current control instruction according to a pre-execution result. The following describes a cloud mobile phone control method provided by an embodiment of the present disclosure with reference to fig. 3, including the following steps:
S310, acquiring an instruction macro function selected by a user.
In the embodiment of the disclosure, the local device may synchronize the instruction macro functions corresponding to each instruction macro in the management background to the local device, and display the instruction macro functions in the form of a drop-down menu. And acquiring the instruction macro function corresponding to the menu item selected by the user when detecting the operation of selecting the menu item in the drop-down menu by the user, so as to acquire the instruction macro from the management background according to the instruction macro function. The instruction macro function is used for identifying a cloud mobile phone control function corresponding to the instruction macro.
In a specific example, a plurality of instruction macros are stored in the management background, and different instruction macros correspond to different instruction macros, for example, the method comprises cloud application downloading starting, cloud mobile phone setting restarting and the like. The local device may present these instruction macros in the form of a drop-down menu, thereby obtaining the instruction macros selected by the user in the menu.
S320, synchronizing the instruction macros matched with the instruction macros in the management background to the local.
After the instruction macro function selected by the user is obtained, the instruction macro matched with the instruction macro function is searched in the management background, and the instruction macro is synchronized to the local for the user to use, so that the instruction macro in the management background can be reused, and the efficiency of controlling the cloud mobile phone by the user is improved.
For example, a user selects a cloud application downloading starting function, a local device synchronizes an instruction macro corresponding to the function to the local, the user can control the cloud mobile phone to complete cloud application downloading, installation and starting a series of operations only by executing one click operation on the instruction macro, the operation flow of the cloud mobile phone is simplified, when the user needs to control a plurality of cloud mobile phones to execute the same operation, the user only needs to select the instruction macro for each cloud mobile phone to control, the workload of user operation is greatly reduced, and the advantage of the instruction macro is more obvious.
Optionally, the local device may synchronize the instruction macros in the management background to the local device when the cloud mobile phone client is started, and display all instruction macros to the user in a form of a pull-down menu. The user can select the instruction macro to control the cloud mobile phone according to the use requirement in the menu, so that the flow of the user operating the cloud mobile phone is simplified.
Optionally, the local device may further construct an instruction macro according to at least two control instructions selected by the user and the sequence of the control instructions, so as to achieve the effect that the user flexibly constructs the instruction macro according to the requirement. After the user builds the instruction macro, the instruction macro can be uploaded to a management background for storage. When a user needs to execute the same control operation on a plurality of cloud mobile phones, the previously uploaded instruction macros can be obtained from the management background, so that one-time creation and multiple-time use are realized, and the workload of the user is greatly reduced.
S330, determining a current control instruction from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro.
S340, acquiring a front execution result of the front control instruction.
S350, when the current control instruction contains a prepositioned constraint item and the prepositioned execution result is failure, determining that the sending state of the current control instruction is ending sending.
In the embodiment of the disclosure, when the local device reads that the current control instruction includes the pre-constraint item and the pre-execution result is failure, the local device may determine that the sending state of the current control instruction is to terminate sending, and may reduce unnecessary calculation amount.
In one specific example, the instruction macrosequence includes a cloud application download instruction, a cloud application install instruction, and a cloud application open instruction. And when the current control instruction is determined to be a cloud application starting instruction and the cloud application starting instruction contains a preposed constraint item, the cloud application installation instruction is successfully executed. When the execution of the acquired cloud application installation instruction fails, determining that the sending state of the cloud application opening instruction is the sending termination, namely, not sending the cloud application opening instruction to the cloud mobile phone.
Optionally, when the control instruction execution result fed back by the cloud mobile phone is obtained, the control instruction execution result may be displayed, so that a user can fully know the execution stage and the execution state of the instruction macro. And, the user can select to continue or suspend the execution of the instruction macro according to the execution result of the control instruction.
According to the technical scheme, the instruction macro function selected by the user is obtained, the instruction macro matched with the instruction macro function in the management background is synchronized to the local, the current control instruction is determined from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro, the front execution result of the front control instruction is obtained, finally, when the current control instruction contains the front constraint item and the front execution result is failure, the sending state of the current control instruction is determined to be the sending termination, the repeated use of the instruction macro in the management background is realized, and particularly when a plurality of cloud mobile phones need to execute the same task, the control workload of the cloud mobile phone user is greatly reduced.
Fig. 4 is a signaling diagram of a cloud handset control according to an embodiment of the disclosure.
S410, the local equipment sends a first control instruction in the instruction macro to the management background;
S420, receiving a control instruction by a management background, and performing security check on the control instruction;
S430, the management background forwards the control instruction passing the security check to the cloud mobile phone;
S440, the cloud mobile phone executes a control instruction through an instruction executor;
s450, the cloud mobile phone feeds back a control instruction execution result to the management background;
s460, the management background forwards the execution result to the local equipment;
S470, the local equipment determines whether to continue to send the next control instruction in the instruction macro according to the execution result of the pre-control instruction;
And S480, the execution result of the preset control instruction is successful, and the next control instruction is continuously sent to the management background.
The operations of S410 to S480 are repeated until the transmission of all control instructions in the instruction macro is completed. It should be noted that if the execution result of the pre-control instruction is failure, the sending of the control instruction may be terminated, and the macro execution of the instruction fails; if a pause instruction initiated by the user is received, the control instruction can be paused to be sent to the cloud mobile phone until the user initiates a continuous sending instruction.
According to the technical scheme, the cloud mobile phone is controlled by the pre-constructed instruction macro, so that the operation flow of controlling the cloud mobile phone by a user is simplified.
Fig. 5 is a block diagram of a cloud mobile phone control device according to an embodiment of the present disclosure, where the embodiment of the present disclosure is applicable to a case of controlling a cloud mobile phone by an instruction macro. The device is realized by software and/or hardware, and is specifically configured in the electronic equipment with certain data operation capability.
A cloud mobile phone control device 500 as shown in fig. 5, comprising: the device comprises a current control instruction determining module 510, a pre-execution result acquiring module 520 and a sending state determining module 530; wherein,
The current control instruction determining module 510 is configured to determine a current control instruction from at least two control instructions according to an arrangement sequence of the at least two control instructions in the instruction macro;
A pre-execution result obtaining module 520, configured to obtain a pre-execution result of the pre-control instruction;
and a sending state determining module 530, configured to determine, according to the pre-execution result, a sending state of the current control instruction.
According to the technical scheme of the embodiment of the disclosure, firstly, a current control instruction is determined from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro, then a front execution result of the front control instruction is obtained, the sending state of the current control instruction is determined according to the front execution result, the cloud mobile phone is controlled to sequentially execute a plurality of control instructions through the instruction macro, the operation flow of the cloud mobile phone user is simplified, and the control efficiency of the cloud mobile phone is improved.
Further, the sending status determining module 530 includes:
And the first sending state determining unit is used for determining that the sending state of the current control instruction is ending sending when the current control instruction contains a preposed constraint item and the preposed execution result is failure.
Further, the sending status determining module 530 includes:
and the second sending state determining unit is used for determining that the sending state of the current control instruction is continuous sending when the current control instruction contains a preposed constraint item and the preposed execution result is successful.
Further, the cloud mobile phone control device 500 further includes:
The command sending module is used for sending the current control command to the management background after determining that the sending state of the current control command is continuous sending, and is used for indicating the management background to carry out safety check on the current control command and forwarding the current control command to the cloud mobile phone under the condition that the verification is passed.
Further, the cloud mobile phone control device 500 further includes:
The function acquisition module is used for acquiring the instruction macro function selected by a user before determining the current control instruction from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro;
and the instruction macro synchronization module is used for synchronizing the instruction macro matched with the instruction macro function in the management background to the local.
Further, the control instruction comprises at least one of an instruction identification, an instruction parameter, an instruction execution duration threshold and a pre-constraint item of the instruction.
The cloud mobile phone control device provided by the embodiment of the disclosure can execute the cloud mobile phone control method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as a cloud handset control method. For example, in some embodiments, the cloud handset control method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into RAM 603 and executed by computing unit 601, one or more steps of the cloud handset control method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the cloud handset control method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (6)

1. A cloud mobile phone control method comprises the following steps:
Acquiring an instruction macro function selected by a user;
Synchronizing the instruction macros matched with the instruction macros in the management background to the local;
Determining a current control instruction from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro; the instruction macros are assembled by at least two cloud mobile phone control instructions which are sequentially arranged; the control instruction comprises at least one of an instruction identification, an instruction parameter, an instruction execution time threshold and a prepositive constraint item of the instruction; the control instruction is displayed in a cloud mobile phone client page in a button or drop-down menu mode;
acquiring a pre-execution result of a pre-control instruction, and displaying the pre-execution result; wherein the pre-control instruction is a control instruction that is a last control instruction of the current control instruction;
According to the pre-execution result, determining the sending state of the current control instruction comprises the following steps: when the current control instruction contains a prepositioned constraint item and the prepositioned execution result is successful, determining that the sending state of the current control instruction is continuous sending; the pre-constraint item is used for constraining the sending time of the current control instruction, and is a pre-execution result of the pre-control instruction;
the current control instruction is sent to the management background and used for indicating the management background to carry out safety verification on the current control instruction, and the current control instruction is forwarded to a cloud mobile phone under the condition that verification is passed;
And if a pause instruction initiated by the user is received, pausing the sending of the control instruction to the cloud mobile phone until the user initiates a continuous sending instruction.
2. The method of claim 1, wherein the determining the transmission state of the current control instruction according to the pre-execution result further comprises:
And when the current control instruction contains the pre-constraint item and the pre-execution result is failure, determining that the sending state of the current control instruction is ending sending.
3. A cloud handset control device, comprising:
the function acquisition module is used for acquiring the instruction macro function selected by the user;
The command macro synchronization module is used for synchronizing the command macro matched with the command macro function in the management background to the local;
The current control instruction determining module is used for determining a current control instruction from at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro; the instruction macros are assembled by at least two cloud mobile phone control instructions which are sequentially arranged; the control instruction comprises at least one of an instruction identification, an instruction parameter, an instruction execution time threshold and a prepositive constraint item of the instruction; the control instruction is displayed in a cloud mobile phone client page in a button or drop-down menu mode;
The front execution result acquisition module is used for acquiring the front execution result of the front control instruction and displaying the front execution result; wherein the pre-control instruction is a control instruction that is a last control instruction of the current control instruction;
the sending state determining module is used for determining the sending state of the current control instruction according to the pre-execution result;
The transmission state determining module includes: a second sending state determining unit, configured to determine, when the current control instruction includes a pre-constraint item and the pre-execution result is successful, that the sending state of the current control instruction is to continue sending; the pre-constraint item is used for constraining the sending time of the current control instruction, and is a pre-execution result of the pre-control instruction;
The command sending module is used for sending the current control command to the management background after determining that the sending state of the current control command is continuous sending, and is used for indicating the management background to carry out safety verification on the current control command and forwarding the current control command to a cloud mobile phone under the condition that verification is passed;
And the instruction suspending module is used for suspending sending the control instruction to the cloud mobile phone until the user initiates the instruction for continuing to send if receiving the suspending instruction initiated by the user.
4. The apparatus of claim 3, wherein the transmission status determination module further comprises:
and the first sending state determining unit is used for determining that the sending state of the current control instruction is ending sending when the current control instruction contains the pre-constraint item and the pre-execution result is failure.
5. An electronic device, comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the cloud handset control method of any of claims 1-2.
6. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the cloud handset control method according to any one of claims 1-2.
CN202210038498.5A 2022-01-13 2022-01-13 Cloud mobile phone control method, device, equipment, medium and program product Active CN114422638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210038498.5A CN114422638B (en) 2022-01-13 2022-01-13 Cloud mobile phone control method, device, equipment, medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210038498.5A CN114422638B (en) 2022-01-13 2022-01-13 Cloud mobile phone control method, device, equipment, medium and program product

Publications (2)

Publication Number Publication Date
CN114422638A CN114422638A (en) 2022-04-29
CN114422638B true CN114422638B (en) 2024-06-11

Family

ID=81273879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210038498.5A Active CN114422638B (en) 2022-01-13 2022-01-13 Cloud mobile phone control method, device, equipment, medium and program product

Country Status (1)

Country Link
CN (1) CN114422638B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267517A (en) * 2007-03-12 2008-09-17 三星电子株式会社 Apparatus and method for operating macro command and inputting macro command
CN107229450A (en) * 2017-06-19 2017-10-03 深圳天珑无线科技有限公司 The method and terminal of a kind of terminal operation
CN112468555A (en) * 2020-11-16 2021-03-09 福建多多云科技有限公司 Macro command group control scheme based on cloud mobile phone
CN112579461A (en) * 2020-12-24 2021-03-30 成都新希望金融信息有限公司 Assertion processing method, system and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11079909B2 (en) * 2016-12-23 2021-08-03 Salesforce.Com, Inc. Macro building tool with an information pane and a macro building pane for compiling an ordered macro and determining data dependency

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267517A (en) * 2007-03-12 2008-09-17 三星电子株式会社 Apparatus and method for operating macro command and inputting macro command
CN107229450A (en) * 2017-06-19 2017-10-03 深圳天珑无线科技有限公司 The method and terminal of a kind of terminal operation
CN112468555A (en) * 2020-11-16 2021-03-09 福建多多云科技有限公司 Macro command group control scheme based on cloud mobile phone
CN112579461A (en) * 2020-12-24 2021-03-30 成都新希望金融信息有限公司 Assertion processing method, system and storage medium

Also Published As

Publication number Publication date
CN114422638A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN114025037B (en) Cloud mobile phone overhaul method and device, electronic equipment and storage medium
CN113067769B (en) Router restarting method, device, equipment and storage medium
CN113691628B (en) Task switching method, device, system, electronic equipment and computer medium
CN112965799B (en) Task state prompting method and device, electronic equipment and medium
CN114422638B (en) Cloud mobile phone control method, device, equipment, medium and program product
CN116627432A (en) Front-end application automatic deployment method, device, equipment and medium
CN113326192B (en) Application testing method, device, equipment and storage medium for mobile terminal
CN113747423B (en) Cloud mobile phone state synchronization method, device, equipment, storage medium and program product
CN116243949A (en) Software upgrading method and device, embedded equipment and storage medium
CN115766697A (en) File downloading method, device, equipment and storage medium
CN115421859A (en) Dynamic loading method and device of configuration file, computer equipment and storage medium
CN114071192A (en) Information acquisition method, terminal, server, electronic device, and storage medium
CN114237752B (en) Push page display method and device, electronic equipment and storage medium
CN114265535B (en) Floor page display method, device, equipment and medium for push message
CN116440504B (en) Game resource processing method, device and storage medium
CN116719552A (en) Game heat updating method and device, electronic equipment and storage medium
CN113765985B (en) Method and apparatus for synchronizing messages
CN117370209A (en) Application program performance test method, device, medium and electronic equipment
CN113407329B (en) Task execution method, device, equipment and storage medium
CN117407216A (en) Method, device, equipment and storage medium for forced restarting of equipment
CN117193825A (en) Method and device for calling update function, electronic equipment and storage medium
CN116095196A (en) Data transparent transmission method, device, equipment and medium
CN116341663A (en) Extension method, device, equipment and medium of deep learning reasoning framework
CN117407111A (en) Method and device for starting graphic display service, electronic equipment and storage medium
CN115857828A (en) Customized system implementation method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant