CN114422638A - 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
CN114422638A
CN114422638A CN202210038498.5A CN202210038498A CN114422638A CN 114422638 A CN114422638 A CN 114422638A CN 202210038498 A CN202210038498 A CN 202210038498A CN 114422638 A CN114422638 A CN 114422638A
Authority
CN
China
Prior art keywords
instruction
control instruction
current control
preposed
mobile phone
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
CN202210038498.5A
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.)
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/CN114422638A/en
Publication of CN114422638A publication Critical patent/CN114422638A/en
Pending legal-status Critical Current

Links

Images

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 cloud mobile phone control device, cloud mobile phone control equipment, a cloud mobile phone control medium and a program product, and relates to the field of computers, in particular to the field of cloud computing. 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 preposed execution result of the preposed control instruction; and determining the sending state of the current control instruction according to the preposed execution result. According to the technical scheme of the embodiment of the disclosure, 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 present disclosure relates to the field of computer technologies, and in particular, to a cloud mobile phone control method, apparatus, device, medium, and 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 puts tasks such as data calculation, image rendering and coding and the like on the cloud end for processing, the local mobile phone is only used as a display terminal, the content in the cloud mobile phone is displayed for a user, and the cloud mobile phone can be remotely controlled by initiating control operation on the local mobile phone.
Controlling a cloud phone by a predefined management action is a common cloud phone control manner. The user may effect control of the cloud phone by clicking on a predefined management action (e.g., restarting the cloud phone, resetting the cloud phone, or downloading a cloud application, etc.) at the local device. However, in many cases, the same management action needs to be performed on a batch of cloud handsets, so it is important to simplify the cloud handset control operation.
Disclosure of Invention
The disclosure provides a cloud mobile phone control method, device, equipment, medium and 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 in an instruction macro according to the arrangement sequence of the at least two control instructions;
acquiring a preposed execution result of the preposed control instruction;
and determining the sending state of the current control instruction according to the preposed 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 preposed execution result acquisition module is used for acquiring a preposed execution result of the preposed control instruction; and the sending state determining module is used for determining the sending state of the current control instruction according to the preposed 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 content of the first and second substances,
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 embodiment 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 handset control method of any one 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 one 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 statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide 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 provided according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of another cloud handset control method provided in accordance with an embodiment of the present disclosure;
fig. 3 is a schematic diagram of another cloud handset control method provided in accordance with an embodiment of the present disclosure;
fig. 4 is a signaling diagram of cloud handset control provided in accordance with an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a cloud mobile phone control apparatus provided according to an embodiment of the present disclosure;
fig. 6 is a block diagram of an electronic device for implementing a cloud handset control method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those 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 disclosed in an embodiment of the present disclosure, and this embodiment may be applied to a case where a cloud mobile phone is controlled by an instruction macro. The method of the embodiment may be executed by a cloud mobile phone control device, which may be implemented in a software and/or hardware manner and is specifically configured in an electronic device with a certain data operation capability, where the electronic device may be a client device or a server device, and the client device may be a mobile phone, a tablet computer, a vehicle-mounted terminal, a desktop computer, and the like.
S110, determining the current control instruction from the 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 performing batch control on the cloud mobile phone. The instruction macro is obtained by assembling at least two cloud mobile phone control instructions which are sequentially arranged. Illustratively, the instruction macro is obtained by downloading a cloud application, installing the cloud application and assembling 3 sequentially arranged cloud mobile phone control instructions started by the cloud application. The control instruction for the cloud mobile phone may include downloading, installing, and running of a 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 obtains the current control instructions in 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, the control instruction arranged at the first position is used as the current control instruction according to the arrangement sequence of the control instructions in the instruction macro. And when the execution of the current control instruction is finished and the condition that the instruction macro continues to execute is met, continuing to take the next control instruction as a new current control instruction according to the control instruction arrangement sequence, and so on until the execution of all the control instructions in the instruction macro is finished. For example, the instruction macro resume condition may be that the execution of the current control instruction results in success.
In a specific example, the instruction macro includes a control instruction a, a control instruction B, and a control instruction C, which are arranged in order. When the cloud mobile phone is controlled through the instruction macro, the control instruction A is used as a current control instruction. Further, after the control instruction A is executed, the control instruction B is used as the 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.
And S120, acquiring a preposed execution result of the preposed control instruction.
The prefix control instruction is a control instruction arranged in the instruction macro in a sequence more advanced than the current control instruction, that is, the prefix control instruction is a control instruction 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 order. If the current control command is C, the preceding control command may be control command a and/or control command B.
In the embodiment of the disclosure, after the current control instruction is determined, a pre-execution result of the pre-control instruction needs to be obtained, so that when the current control instruction contains a pre-constraint item, whether to continue sending the current control instruction to the cloud mobile phone is determined according to the pre-execution result. Specifically, after receiving a control instruction sent by the local device, an 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 aiming at each control instruction, so as to determine whether to continue sending the next control instruction according to the stored pre-execution result of the pre-control instruction when the next control instruction contains the pre-constraint item.
The preposed constraint item of the current control instruction is used for constraining the sending opportunity of the control instruction, and the preposed constraint item is a preposed execution result of the preposed control instruction. Illustratively, the current control instruction is a cloud application installation instruction, the preposed 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 cloud application downloading instruction is successfully executed. That is, the pre-constraint item of the cloud application installation instruction is that the cloud application download instruction is successfully executed.
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, the pre-execution result of the pre-control instruction of the cloud application installation instruction needs to be obtained, that is, the execution result of the cloud application download instruction is obtained. The execution result may include successful downloading of the cloud application or failed downloading of the cloud application.
And S130, determining the sending state of the current control command according to the preposed 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 contains the 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 instruction macro sequentially comprises a cloud mobile phone setting instruction and a cloud mobile phone restarting instruction, and the pre-constraint item of the cloud mobile phone restarting instruction is that the cloud mobile phone setting instruction is successfully executed. And after the pre-execution result (the execution result of the cloud mobile phone setting instruction) is successfully obtained, continuing to send a cloud mobile phone restarting instruction to the cloud mobile phone.
According to the technical scheme of the embodiment, the current control instruction is determined from the at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro, the pre-execution result of the pre-control instruction is further obtained, the sending state of the current control instruction is determined according to the pre-execution result, the cloud mobile phone is controlled by the instruction macro to sequentially execute the plurality of control instructions, the operation process of a 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 cloud mobile phone control method in the embodiment of the present disclosure, which is further detailed based on the above embodiment and provides a specific step of determining a sending state of a current control instruction according to a pre-execution result. A cloud mobile phone control method provided by the embodiment of the present disclosure is described below with reference to fig. 2, which includes the following steps:
s210, determining the current control instruction from the 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 identifier, 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 issued to a minimum transaction unit executed by an instruction executor in the cloud mobile phone. The control instruction is displayed in a cloud mobile phone client page in a button or pull-down menu mode, and a user clicks a button or a menu item in the cloud mobile phone client page to control the cloud mobile phone. For example, the control instruction may be cloud mobile phone reset, restart, background cleaning, or download, installation, start, close, return to previous step, uninstall, and the like of the cloud application.
The control instruction comprises at least one item of instruction identification, instruction parameters and a pre-constraint item of an instruction execution duration threshold prediction instruction. The instruction identification is used for identifying a unique control instruction; the instruction parameters are parameters required in the execution process of the control instruction, for example, a download website contained in the download control instruction, and a cloud application identifier contained in the installation, start, or uninstall cloud application instruction; the instruction execution duration threshold is used for limiting the execution duration of the control instruction, and if the execution duration of the control instruction exceeds the instruction execution duration threshold, the control instruction is determined to be failed to execute; the pre-constraint item of the instruction is used for constraining the sending time of the control instruction, and the pre-constraint item is the pre-execution result of the pre-control instruction of the current control instruction. For example, the current control instruction is a cloud application installation instruction, the preposed 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 cloud application downloading instruction is successfully executed. Namely, the pre-constraint item of the cloud application installation instruction is the successful execution of the cloud application download instruction. The continuity of instruction macro execution can be ensured by setting the preposed constraint item for the control instruction, and when the preposed execution result is failure, the control instruction is not continuously sent to the cloud application, so that the control efficiency of the cloud mobile phone is improved, and meanwhile, the unnecessary calculation amount is reduced.
And S220, acquiring a preposed execution result of the preposed control instruction.
And S230, under the condition that the current control instruction contains the preposed constraint item and the preposed execution result is successful, determining that the sending state of the current control instruction is continuous sending.
In the embodiment of the disclosure, when the current control instruction contains the pre-constraint item and the pre-execution result is successful, the sending state of the current control instruction is determined to be the continued sending. That is to say, at this time, the local device may continue to send the current control instruction to the cloud mobile phone, and by setting the pre-constraint item, when the execution of the pre-control instruction supported by the current control instruction is successful, the current control instruction is sent to the cloud mobile phone, so that the continuity of the execution of the control instruction in the instruction macro can be ensured.
In a specific example, the instruction macro sequentially comprises a cloud mobile phone setting instruction and a cloud mobile phone restarting instruction, wherein the 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 restart instruction, the execution result of the cloud mobile phone setting instruction needs to be determined, and under the condition that the cloud mobile phone setting instruction is successfully executed, the sending state of the cloud mobile phone restart instruction is determined to be continuously sent.
And S240, sending the current control instruction to the management background, wherein the current control instruction is used for instructing the management background to perform security verification on the current control instruction, and forwarding the current control instruction to the cloud mobile phone when the verification is passed.
The management background is used for storing the control instructions for the cloud mobile phone, and after the cloud mobile phone client is started by the local device, the control instructions in the management background can be synchronized to the local device for the user to use. In addition, the management background is also used for performing security check on the control instruction sent by the local device, specifically, when the local device needs to control the cloud mobile phone, the control instruction is sent to the management background, and the management background performs security check and then forwards the control instruction to the cloud mobile phone. For example, the management background may check whether the control instruction sent by the local device is legal according to predefined instruction check information.
In the embodiment of the disclosure, after determining that the sending state of the current control instruction is the continuous sending state, the local device continuously sends the current control instruction to the management background. The management background can perform 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 illegal control instruction control of the cloud mobile phone is avoided, and the safety of cloud mobile phone control is improved.
According to the technical scheme of the embodiment of the disclosure, the current control instruction is determined from the at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro, and then the pre-execution result of the pre-control instruction is obtained. When the current control instruction contains the preposed constraint item and the preposed execution result is successful, determining that the sending state of the current control instruction is continuous sending, 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 when the verification is passed, so that the cloud mobile phone is controlled to sequentially execute a plurality of control instructions through the instruction macro, and the operation flow of a user is simplified.
Fig. 3 is a schematic diagram of a cloud mobile phone control method in the embodiment of the present disclosure, which is further detailed based on the above embodiment and provides a specific step of determining a sending state of a current control instruction according to a pre-execution result. A cloud mobile phone control method provided by the embodiment of the present disclosure is described below with reference to fig. 3, which includes the following steps:
and S310, acquiring the instruction macro function selected by the user.
In the embodiment of the disclosure, the local device may synchronize the instruction macro functions corresponding to the instruction macros in the management background to the local, and display the instruction macros in a pull-down menu form. And when the operation that the user selects a menu item in the pull-down menu is detected, acquiring an instruction macro function corresponding to the menu item selected by the user, and acquiring the instruction macro from the management background according to the instruction macro function. The instruction macro function is used for identifying the 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 macro functions, for example, the instruction macros include downloading and starting of cloud applications, setting and restarting of cloud mobile phones, and the like. The local device can display the instruction macro functions in a pull-down menu mode, so that the instruction macro functions selected by the user in the menu are obtained.
And S320, synchronizing the instruction macro matched with the instruction macro function 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 repeatedly used, and the efficiency of the user in controlling the cloud mobile phone is improved.
For example, a user selects a cloud application download starting function, the local device synchronizes an instruction macro corresponding to the function to the local, the user only needs to execute one click operation for the instruction macro, and the cloud mobile phone can be controlled to complete a series of operations of cloud application download, installation and starting, so that the operation flow of the cloud mobile phone is simplified, and 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 control, so that the workload of user operation is greatly reduced, and the advantages of the instruction macro are more obvious.
Optionally, the local device may also synchronize the instruction macros in the management background to the local when the cloud mobile phone client is started, and display all the instruction macros to the user in a pull-down menu manner. The user can select the instruction macro in the menu according to the use requirement to control the cloud mobile phone, and the process of operating the cloud mobile phone by the user 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 that the user flexibly constructs the instruction macro according to the requirement. After the user constructs and finishes the instruction macro, the instruction macro can be uploaded to a management background to be stored. When a user needs to execute the same control operation on a plurality of cloud mobile phones, the instruction macros uploaded before can be acquired from the management background, so that one-time creation and multiple use are realized, and the workload of the user is greatly reduced.
S330, determining the current control instruction from the at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro.
And S340, acquiring a preposed execution result of the preposed control instruction.
And S350, determining the sending state of the current control instruction as the sending termination under the condition that the current control instruction contains the preposed constraint item and the preposed execution result is failure.
In the embodiment of the disclosure, when the local device reads that the current control instruction contains 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 the sending termination, and may reduce unnecessary computation.
In a specific example, the instruction macro sequence includes a cloud application download instruction, a cloud application installation instruction, and a cloud application open instruction. And when the current control instruction is determined to be the cloud application starting instruction and the pre-constraint item contained in the cloud application starting instruction is determined, the cloud application installation instruction is successfully executed. When the acquired cloud application installation instruction fails to be executed, the sending state of the cloud application starting instruction is determined to be the sending termination state, namely the cloud application starting instruction is not sent to the cloud mobile phone any more.
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 sufficiently know the execution stage and the execution state of the instruction macro. And, the user can choose 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 the at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro, the preposed execution result of the preposed control instruction is obtained, and finally the sending state of the current control instruction is determined to be the sending termination under the condition that the current control instruction contains a preposed constraint item and the preposed execution result is failure, so that 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 cloud mobile phone users 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, the management background receives the control instruction and carries out safety verification on the control instruction;
s430, the management background forwards the control command passing the security verification to the cloud mobile phone;
s440, the cloud mobile phone executes the control command through the command executor;
s450, the cloud mobile phone feeds back a control instruction execution result to a management background;
s460, the management background forwards the execution result to the local equipment;
s470, the local device determines whether to continue to send the next control instruction in the instruction macro according to the execution result of the preposed control instruction;
and S480, if the execution result of the current control instruction is successful, continuously sending a next control instruction to the management background.
And repeating the operations of S410 to S480 until all control commands in the command macro are sent. It should be noted that if the execution result of the pre-control instruction is failed, the sending of the control instruction may be terminated, and the instruction macro is failed to execute; 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 an instruction to continue sending.
According to the technical scheme of the embodiment of the disclosure, the cloud mobile phone is controlled through the pre-constructed instruction macro, so that the operation process of controlling the cloud mobile phone by a user is simplified.
According to an embodiment of the present disclosure, fig. 5 is a structural diagram of a cloud mobile phone control apparatus in an embodiment of the present disclosure, and the embodiment of the present disclosure is applicable to a case where a cloud mobile phone is controlled by an instruction macro. The device is realized by software and/or hardware and is specifically configured in electronic equipment with certain data operation capacity.
As shown in fig. 5, a cloud handset control apparatus 500 includes: a current control instruction determination module 510, a pre-execution result acquisition module 520, and a transmission state determination module 530; wherein the content of the first and second substances,
a current control instruction determining module 510, configured to determine, according to an arrangement order of at least two control instructions in the instruction macro, a current control instruction from the at least two control instructions;
a pre-execution result obtaining module 520, configured to obtain a pre-execution result of the pre-control instruction;
a sending status determining module 530, configured to determine a sending status of the current control instruction according to the pre-execution result.
According to the technical scheme of the embodiment, the current control instruction is determined from the at least two control instructions according to the arrangement sequence of the at least two control instructions in the instruction macro, the pre-execution result of the pre-control instruction is further obtained, the sending state of the current control instruction is determined according to the pre-execution result, the cloud mobile phone is controlled by the instruction macro to sequentially execute the plurality of control instructions, the operation process of a 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:
the device comprises a first sending state determining unit, a second sending state determining unit and a sending control unit, wherein the first sending state determining unit is used for determining that the sending state of the current control instruction is the ending sending state 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 under the condition that the current control instruction contains a preposed constraint item and the preposed execution result is successful.
Further, the cloud mobile phone control apparatus 500 further includes:
and the instruction sending module is used for sending the current control instruction to a management background after the sending state of the current control instruction is determined to be continuously sent, instructing the management background to perform security verification on the current control instruction, and forwarding the current control instruction to the cloud mobile phone when the verification is passed.
Further, the cloud mobile phone control apparatus 500 further includes:
the function acquisition module is used for acquiring an instruction macro function selected by a user before 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;
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 item of instruction identification, instruction parameters, 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 collection, storage, use, processing, transmission, provision, disclosure and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can 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 phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples 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, which 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 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; 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 the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 601 executes the respective methods and processes described above, such as the cloud handset control method. For example, in some embodiments, the cloud handset control method may be implemented as a computer software program tangibly embodied in 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 the 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 may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a 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 that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes 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 codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. 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. A 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 a pointing device (e.g., a mouse or a 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 can 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, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end 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 back-end, 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 clients and servers. A client and server are generally 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 with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (15)

1. A cloud mobile phone control method comprises the following steps:
determining a current control instruction from at least two control instructions in an instruction macro according to the arrangement sequence of the at least two control instructions;
acquiring a preposed execution result of the preposed control instruction;
and determining the sending state of the current control instruction according to the preposed execution result.
2. The method of claim 1, wherein determining the transmission status of the current control instruction according to the pre-execution result comprises:
and determining the sending state of the current control instruction as the termination of sending when the current control instruction contains a preposed constraint item and the preposed execution result is failure.
3. The method of claim 1, wherein determining the transmission status of the current control instruction according to the pre-execution result further comprises:
and determining the sending state of the current control instruction as continuous sending under the condition that the current control instruction contains a preposed constraint item and the preposed execution result is successful.
4. The method of claim 3, after determining that the transmission status of the current control instruction is to continue transmitting, further comprising:
and sending the current control instruction to a 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 when the verification is passed.
5. The method of claim 1, further comprising, prior to determining a current control instruction from the at least two control instructions in accordance with an order of arrangement of the at least two control instructions in the instruction macro:
acquiring an instruction macro function selected by a user;
and synchronizing the instruction macro matched with the instruction macro function in the management background to the local.
6. The method of any of claims 1-5, wherein the control instruction comprises at least one of an instruction identification, an instruction parameter, an instruction execution duration threshold, and a pre-constraint of an instruction.
7. A cloud cell phone control apparatus, comprising:
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 preposed execution result acquisition module is used for acquiring a preposed execution result of the preposed control instruction;
and the sending state determining module is used for determining the sending state of the current control instruction according to the preposed execution result.
8. The apparatus of claim 7, wherein the transmission status determination module comprises:
the device comprises a first sending state determining unit, a second sending state determining unit and a sending control unit, wherein the first sending state determining unit is used for determining that the sending state of the current control instruction is the ending sending state when the current control instruction contains a preposed constraint item and the preposed execution result is failure.
9. The apparatus of claim 7, wherein the transmission status determination module further comprises:
and the second sending state determining unit is used for determining that the sending state of the current control instruction is continuous sending under the condition that the current control instruction contains a preposed constraint item and the preposed execution result is successful.
10. The apparatus of claim 9, further comprising:
and the instruction sending module is used for sending the current control instruction to a management background after the sending state of the current control instruction is determined to be continuously sent, instructing the management background to perform security verification on the current control instruction, and forwarding the current control instruction to the cloud mobile phone when the verification is passed.
11. The apparatus of claim 7, further comprising:
the function acquisition module is used for acquiring an instruction macro function selected by a user before 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;
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.
12. The apparatus according to any of claims 7-11, wherein the control instruction comprises at least one of an instruction identification, an instruction parameter, an instruction execution duration threshold, and a pre-constraint of an instruction.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
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-6.
14. 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-6.
15. A computer program product comprising computer programs/instructions which, when executed by a processor, implement the cloud handset control method of any of claims 1-6.
CN202210038498.5A 2022-01-13 2022-01-13 Cloud mobile phone control method, device, equipment, medium and program product Pending CN114422638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210038498.5A CN114422638A (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 CN114422638A (en) 2022-01-13 2022-01-13 Cloud mobile phone control method, device, equipment, medium and program product

Publications (1)

Publication Number Publication Date
CN114422638A true CN114422638A (en) 2022-04-29

Family

ID=81273879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210038498.5A Pending CN114422638A (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) CN114422638A (en)

Citations (5)

* 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
US20180181270A1 (en) * 2016-12-23 2018-06-28 Salesforce.Com, Inc. Ordered Macro Building Tool
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

Patent Citations (5)

* 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
US20180181270A1 (en) * 2016-12-23 2018-06-28 Salesforce.Com, Inc. Ordered Macro Building Tool
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

Similar Documents

Publication Publication Date Title
CN109862101B (en) Cross-platform application starting method and device, computer equipment and storage medium
CN111913884A (en) Distributed test method, device, equipment, system and readable storage medium
CN109634659A (en) Method, apparatus, equipment and the storage medium that a kind of couple of BMC is controlled
CN113742174B (en) Cloud mobile phone application monitoring method and device, electronic equipment and storage medium
CN114025037B (en) Cloud mobile phone overhaul method and device, electronic equipment and storage medium
CN113067769B (en) Router restarting method, device, equipment and storage medium
CN112965799B (en) Task state prompting method and device, electronic equipment and medium
CN116627432A (en) Front-end application automatic deployment method, device, equipment and medium
CN113747423B (en) Cloud mobile phone state synchronization method, device, equipment, storage medium and program product
CN114422638A (en) Cloud mobile phone control method, device, equipment, medium and program product
CN115421859A (en) Dynamic loading method and device of configuration file, computer equipment and storage medium
CN113691628A (en) Task switching method and device, system, electronic equipment and computer medium
CN107729136B (en) Processing priority configuration method and device based on FPGA
CN114172998A (en) File transmission method, file transmission device, electronic equipment, medium and product
CN113326192A (en) Application testing method, device, equipment and storage medium for mobile terminal
CN112925623A (en) Task processing method and device, electronic equipment and medium
CN114401300B (en) Cloud application control method, device, equipment, medium and program product
CN114006902B (en) Cloud mobile phone restarting method, device, equipment and storage medium
CN116440504B (en) Game resource processing method, device and storage medium
CN114265535B (en) Floor page display method, device, equipment and medium for push message
CN114237444A (en) Application program starting method and device, electronic equipment and storage medium
CN114416477A (en) Information acquisition method, apparatus, device, medium, and program product
CN108595281B (en) Moving object processing method, moving object processing device, storage medium and terminal
CN116719552A (en) Game heat updating method and device, electronic equipment and storage medium
CN117370209A (en) Application program performance test method, device, medium and electronic equipment

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