CN113572833B - Cloud mobile phone maintenance method and device, electronic equipment and storage medium - Google Patents

Cloud mobile phone maintenance method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113572833B
CN113572833B CN202110826762.7A CN202110826762A CN113572833B CN 113572833 B CN113572833 B CN 113572833B CN 202110826762 A CN202110826762 A CN 202110826762A CN 113572833 B CN113572833 B CN 113572833B
Authority
CN
China
Prior art keywords
script
mobile phone
cloud mobile
maintenance
instruction
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
CN202110826762.7A
Other languages
Chinese (zh)
Other versions
CN113572833A (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 CN202110826762.7A priority Critical patent/CN113572833B/en
Publication of CN113572833A publication Critical patent/CN113572833A/en
Application granted granted Critical
Publication of CN113572833B publication Critical patent/CN113572833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45508Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
    • G06F9/45512Command shells

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure provides a maintenance method and device of a cloud mobile phone, electronic equipment and a storage medium, and relates to the field of Internet, in particular to a cloud computing technology. The specific implementation scheme comprises the following steps: generating a maintenance script according to the acquired script template and script parameters input by a user; and generating a script instruction according to the maintenance script, and sending the script instruction to a cloud mobile phone to be maintained or to physical equipment where the cloud mobile phone is located, so that the cloud mobile phone or the physical equipment executes the maintenance script. In the embodiment of the disclosure, the cloud mobile phone is automatically maintained, so that the efficiency of cloud mobile phone maintenance work is improved compared with a mode of manually maintaining the cloud mobile phone.

Description

Cloud mobile phone maintenance method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of internet, in particular to cloud computing technology, and specifically relates to a maintenance method, a device, electronic equipment, a storage medium and a computer program product of a cloud mobile phone.
Background
As smartphones continue to spread, people demand for smartphones is increasing. Thus, virtual devices have grown so that people can accomplish the same user experience (entertainment, listening to music, shopping, reading books, social etc.) while conserving native hardware and software resources.
The cloud mobile phone is a smart mobile phone application cloud platform based on cloud computing powerful virtual application and mobile internet. Based on the outstanding advantages of cloud computing in large-scale computing, strong storage capacity, virtualization application and the like, the cloud platform provides diversified and omnibearing virtual mobile phone applications and services for smart mobile phone users, comprehensively supports display, downloading, application and management services of various mobile phone application programs, and excellently realizes all-weather cloud intelligent hosting application, so that the users can host various application programs to the cloud under the state that the users are separated from the mobile terminal, the all-weather online state is maintained, and the application virtualization of the smart mobile phone is comprehensively realized.
Disclosure of Invention
The disclosure provides a cloud mobile phone maintenance method, a cloud mobile phone maintenance device, an electronic device, a storage medium and a computer program product.
According to an aspect of the present disclosure, there is provided a maintenance method of a cloud mobile phone, including:
Generating a maintenance script according to the acquired script template and script parameters input by a user;
Generating a script instruction according to the maintenance script, and sending the script instruction to a cloud mobile phone to be maintained or to physical equipment where the cloud mobile phone is located, so that the cloud mobile phone or the physical equipment executes the maintenance script.
According to another aspect of the present disclosure, there is provided a maintenance apparatus of a cloud mobile phone, including:
the script generation module is used for generating a maintenance script according to the acquired script template and script parameters input by a user;
The script issuing and executing module is used for generating script instructions according to the maintenance scripts, and sending the script instructions to a cloud mobile phone to be maintained or to physical equipment where the cloud mobile phone is located, so that the cloud mobile phone or the physical equipment executes the maintenance scripts.
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 method of maintaining a cloud handset 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 perform the method of maintaining a cloud handset of any embodiment 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 method of maintaining a cloud handset of any embodiment of the present disclosure.
According to the technology disclosed by the invention, the cloud mobile phone is automatically maintained, so that the efficiency of cloud mobile phone maintenance work is improved.
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 maintenance method flow of a cloud mobile phone according to an embodiment of the disclosure;
Fig. 2 is a schematic diagram of a flow of a maintenance method of a cloud mobile phone according to an embodiment of the disclosure;
Fig. 3 is a schematic diagram of a flow of a maintenance method of a cloud mobile phone according to an embodiment of the disclosure;
Fig. 4 is a schematic diagram of a flow of a maintenance method of a cloud mobile phone according to an embodiment of the disclosure;
fig. 5 is a logic flow diagram of a method for maintaining a cloud mobile phone according to an embodiment of the present disclosure;
Fig. 6 is a schematic structural diagram of a maintenance device of a cloud mobile phone according to an embodiment of the disclosure;
fig. 7 is a block diagram of an electronic device used to implement a method of maintaining a cloud handset according to 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.
In the cloud mobile phone service, for the maintenance of the cloud mobile phone, for example, downloading mobile phone application packages, detecting whether the cloud mobile phone installs a specific application, and the like, the maintenance of the cloud mobile phone is to be realized, mainly, a maintenance script is written manually according to priori knowledge, and the written maintenance script is issued to the cloud mobile phone manually to be executed. However, the cloud mobile phone is maintained manually, so that the maintenance work efficiency is low, and manual operation is easy to make mistakes. Based on this, a maintenance method of a cloud mobile phone is provided, which is performed in an automated manner, and the following embodiments refer to specific processes.
Fig. 1 is a flow chart of a method for maintaining a cloud mobile phone according to an embodiment of the present disclosure, where the embodiment may be applicable to a case of generating and issuing an executable maintenance script for the cloud mobile phone by an automation method to implement cloud mobile phone maintenance. The method can be executed by a maintenance device of the cloud mobile phone, and the device is realized in a software and/or hardware mode and is integrated on the electronic equipment.
Specifically, referring to fig. 1, the maintenance method of the cloud mobile phone is as follows:
S101, generating a maintenance script according to the acquired script template and script parameters input by a user.
In the embodiment of the disclosure, each maintenance function corresponds to a script template for implementing the function, and when the cloud mobile phone is maintained, the script template corresponding to the maintenance function can be obtained from the database according to the maintenance function selected by the user, where the maintenance function refers to a function that needs to be executed on the cloud mobile phone, and exemplary, the maintenance function may be a function of downloading a software application for the cloud mobile phone, a function of arranging a desktop of the cloud mobile phone, or a function of detecting whether the cloud mobile phone installs a specific application, which is not listed herein.
In the embodiment of the disclosure, the script parameters are exemplified by an IP address, rom version number, execution method, execution parameters, and the like of the cloud mobile phone. It should be noted that, the script parameters need to be actively input by the user. After the script parameters input by the user are obtained, the script parameters can be filled in the corresponding positions of the script templates, and then the maintenance script for realizing a certain maintenance function can be obtained.
S102, generating a script instruction according to the maintenance script, and sending the script instruction to the cloud mobile phone to be maintained or to the physical equipment where the cloud mobile phone is located, so that the cloud mobile phone or the physical equipment executes the maintenance script.
In the embodiment of the disclosure, when generating the script instruction according to the maintenance script, optionally, the corresponding script instruction is directly generated according to the complete content of the maintenance script. After the script instruction is obtained, the script instruction can be sent to the cloud mobile phone to be maintained or to the physical device where the cloud mobile phone is located according to the script parameter (such as the IP address of the cloud mobile phone) included in the script instruction, so that the cloud mobile phone or the physical device executes the maintenance script.
It should be noted that whether the script command corresponding to the maintenance script is sent to the cloud mobile phone or the physical device is determined by the maintenance function implemented by the maintenance script. For example, some maintenance functions can only be performed on physical devices to achieve a desired effect, and thus maintenance scripts implementing such maintenance functions can only be performed on physical devices. In addition, if the shared parameters/attributes of a plurality of cloud mobile phones on the same physical device are to be adjusted, executing the maintenance script on the physical device is more efficient. And executing in the virtual device, the script can be executed for each cloud mobile phone according to the unique parameters of the cloud mobile phone, and only the current cloud mobile phone is effective.
In the embodiment of the disclosure, the maintenance script is generated by an automatic means and is sent to the cloud mobile phone or is sent to the physical equipment where the cloud mobile phone is located for execution, so that the cloud mobile phone is maintained, and compared with the mode of manually maintaining the cloud mobile phone, the efficiency of cloud mobile phone maintenance work is improved.
Fig. 2 is a flow chart of a maintenance method of a cloud mobile phone according to an embodiment of the present disclosure, where the process of generating a maintenance script is optimized based on the above embodiment, and in the embodiment of the present disclosure, the number of cloud mobile phones to be maintained is huge, and the maintenance script is generated for the cloud mobile phone in batches to improve the efficiency of maintaining the cloud mobile phone, and referring to fig. 2, the maintenance method of the cloud mobile phone specifically includes:
S201, acquiring a script template corresponding to the maintenance function according to the maintenance function selected by the user.
In the embodiment of the present disclosure, the maintenance function may be exemplified by a function of downloading a software application for a cloud mobile phone, a function of organizing a desktop of the cloud mobile phone, or a function of detecting whether a specific application is installed on the cloud mobile phone, or may be other functions, which are not limited in detail herein. Each maintenance function corresponds to a script template, when the cloud mobile phone is maintained, a user can select a required maintenance function, and further business service of the cloud mobile phone can acquire the script template corresponding to the maintenance function from the database according to the maintenance function selected by the user.
S202, according to the IP address field selected by the user, determining at least one cloud mobile phone belonging to the IP address field.
In the embodiment of the disclosure, in order to generate the maintenance script for the cloud mobile phone in batches, the cloud mobile phone to be maintained needs to be screened out first. Because each cloud mobile phone uniquely corresponds to one IP address, at least one cloud mobile phone belonging to the IP address field can be screened out according to the IP address field selected by the user to serve as the cloud mobile phone to be maintained.
Here, the execution order of S201 and S202 is not particularly limited. S201 can be executed first, and S202 can be executed later; s202 may be executed first, and S201 may be executed next.
S203, generating a maintenance script for each cloud mobile phone according to the respective IP address of each cloud mobile phone, the script template and script parameters input by a user.
For any selected cloud mobile phone to be maintained, a maintenance script can be generated for the cloud mobile phone according to the IP address of the cloud mobile phone, script parameters (such as rom version number, execution method and execution parameters and the like) input by a user and a script template. Therefore, the corresponding maintenance scripts are generated for all the selected cloud mobile phones to be maintained.
S204, generating a script instruction according to the maintenance script, and sending the script instruction to the cloud mobile phone to be maintained or to the physical equipment where the cloud mobile phone is located, so that the cloud mobile phone or the physical equipment executes the maintenance script.
Because a maintenance script is generated for each cloud mobile phone to be maintained, a script instruction can be generated according to each maintenance script, and then each script instruction can be sent to the corresponding cloud mobile phone or to the physical equipment where the cloud mobile phone is located for execution.
In the embodiment of the disclosure, a plurality of cloud mobile phones to be maintained are selected according to the IP address field selected by the user, and the corresponding maintenance scripts are generated for the plurality of cloud mobile phones at the same time, so that the purpose of generating the maintenance scripts for the cloud mobile phones in batches is realized, and the plurality of cloud mobile phones can be maintained at the same time.
Fig. 3 is a flow chart of a maintenance method of a cloud mobile phone according to an embodiment of the present disclosure, where the method of maintaining a cloud mobile phone according to the embodiment of the present disclosure includes:
S301, generating a maintenance script according to the acquired script template and script parameters input by a user.
S302, generating a script instruction according to a maintenance script, monitoring the script instruction through a management service, and sending the script instruction to a management agency service of a machine room where the cloud mobile phone is located according to an IP address of the cloud mobile phone included in the script instruction, so that the management agency service sends the script instruction to a device operation service of the cloud mobile phone according to the IP address.
In the embodiment of the disclosure, in order to ensure that the script instruction can be automatically sent to the corresponding cloud mobile phone to be maintained or the physical device where the cloud mobile phone to be maintained is located, the script instruction can be realized by means of a management service, a management proxy service and a device operation service in the cloud mobile phone system.
It should be noted that, the machine room in which the server running the cloud mobile phone is placed is disposed in a plurality of places nationwide, which is called an equipment machine room; the room that manages all data and processing business logic is called a central room. In the embodiment of the disclosure, a device running service (manage-agent) is deployed in a cloud mobile phone running environment, a management proxy service (manage-proxy) is deployed on a certain server in a device room, and the management proxy service aggregates a plurality of device running services in the device room. The management service is deployed in the central machine room, the management service communicates with the management proxy service, and specifically, the management service is mainly responsible for monitoring the script instruction and sending the script instruction to the management proxy service, for example, according to an IP address included in the script instruction, the script instruction is sent to the management proxy service of the machine room where the cloud mobile phone is located, so that the management proxy service sends the script instruction to the equipment operation service of the cloud mobile phone according to the IP address.
S303, transmitting the script instruction to the corresponding cloud mobile phone or to the physical equipment where the cloud mobile phone is located through the equipment operation service.
And the equipment operation service determines to send the script instruction to the corresponding cloud mobile phone or to the physical equipment where the cloud mobile phone is located according to the maintenance function corresponding to the script instruction so as to execute the corresponding script instruction by the cloud mobile phone or the physical equipment.
In the embodiment of the disclosure, after the script instruction is generated, the script instruction is automatically sent to the corresponding cloud mobile phone or physical equipment for execution through the management service, the management proxy service and the equipment operation service, so that the automatic execution of the cloud mobile phone maintenance is sometimes ensured, and compared with the manual maintenance, the cloud mobile phone maintenance efficiency is improved.
Fig. 4 is a flowchart of a maintenance method of a cloud mobile phone according to an embodiment of the present disclosure, where the maintenance method of the cloud mobile phone is optimized based on the above embodiment, referring to fig. 4, and includes:
S401, generating a maintenance script according to the acquired script template and script parameters input by a user.
S402, generating a script instruction according to a maintenance script, monitoring the script instruction through a management service, and sending the script instruction to a management agency service of a machine room where the cloud mobile phone is located according to an IP address of the cloud mobile phone included in the script instruction, so that the management agency service sends the script instruction to a device operation service of the cloud mobile phone according to the IP address.
In the embodiment of the disclosure, when the root maintenance script generates the script instruction, the script instruction may be the complete content of the maintenance script, or may be the download address of the maintenance script, and specifically what is generated is determined by the content length of the maintenance script and the maintenance function implemented by the maintenance script. For example, if the length of the complete content of the maintenance script is greater than or equal to a preset threshold, the generated script instruction is a download address of the maintenance script; if the length of the content of the maintenance script is smaller than the preset threshold value, directly taking the complete content of the maintenance script as the content of the script instruction. In addition, if the maintenance function corresponding to the maintenance script is a conventional function (which means a fixed and frequently used function), the complete content of the maintenance script is taken as the content of the script instruction; and aiming at the sporadic maintenance script for realizing the special function, the download address of the script is used as the content of the script instruction.
After the script instruction is obtained, the script instruction is sent to a management agency service of a machine room where the cloud mobile phone is located through the management service, so that the management agency service sends the script instruction to equipment operation service of the cloud mobile phone according to the IP address. In the embodiment of the present disclosure, S403 or S404 is executed according to the difference in content included in the script instruction, respectively.
S403, sending the complete script content included in the script instruction to a corresponding cloud mobile phone or to physical equipment where the cloud mobile phone is located through equipment operation service.
S404, based on the equipment operation service, downloading a corresponding script file according to a script downloading address included in the script instruction, and sending the script file to a corresponding cloud mobile phone or to a physical equipment where the cloud mobile phone is located.
In the embodiment of the disclosure, script instructions comprising different contents are generated according to the content length and the corresponding functions of the maintenance script, so that the influence on the instruction transmission speed caused by overlarge transmitted script instructions is avoided.
Further, after the cloud mobile phone or the physical device executes the script instruction, the execution result of the maintenance script is obtained through the management service, and the execution result is sent to the user. In specific implementation, the device running service of the cloud mobile phone gathers the execution result of the cloud mobile phone into the management proxy service, the management proxy service feeds back the execution result to the management service, and finally the management service sends the execution result to the user. Therefore, the script execution result can be automatically fed back and displayed to the user.
Fig. 5 is a logic flow diagram of a method of maintaining a cloud handset according to an embodiment of the disclosure, referring to fig. 5, the method of maintaining a cloud handset logic includes:
Firstly, when an administrator desires to create a maintenance script, sending maintenance functions and script parameters (such as an IP address of a cloud mobile phone) which are desired to be realized to service services of the cloud mobile phone, and obtaining a corresponding script template from a database by the cloud mobile phone service according to the maintenance functions, generating the maintenance script according to the script template and the script parameters, and further generating a script instruction according to the maintenance script, wherein the script instruction can be the complete content of the maintenance script or the download address of the maintenance script.
Further, the script instructions are sent to a message subscription and publication service (rocketmq) for broadcasting by the message subscription and publication service. The management service monitors the message subscription and release service in real time, so that the management service reads the script instruction after monitoring the script instruction, and sends the script instruction to a management proxy service (manage-proxy) of a machine room where the cloud mobile phone is located according to an IP address of the cloud mobile phone included in the script instruction, so that the management proxy service sends the script instruction to a device running service (manage-agent) of the machine room where the cloud mobile phone is located according to the IP address, the device running service judges whether the script instruction includes the complete content of a maintenance script or the download address of the maintenance script, if the script instruction includes the download address, the corresponding script file is downloaded from a file server according to the download address, and then the downloaded script file is sent to the cloud mobile phone or physical device for execution; and if the complete content of the script is maintained, issuing the complete content of the script to the cloud mobile phone or the physical equipment for execution. It should be noted that, the management proxy service and the device running service both transmit the script command or the script file in a transparent manner.
Further, the device running service obtains an execution result of the maintenance script from the cloud mobile phone or the physical device, and feeds the execution result back to the management proxy service, so that the management proxy service uploads the execution result to the management service. After the management service obtains the execution result, the execution result is sent to the message subscription and release service so that the execution result of the message subscription and release service team can be broadcasted. The cloud mobile phone service monitors the message subscription and release service in real time, feeds back and displays the execution result to the administrator after monitoring the execution result, and simultaneously stores the execution result in the database.
In the embodiment of the disclosure, when the cloud mobile phone is maintained, the maintenance script is generated and issued by an automatic means, and the script execution result is automatically acquired, so that the maintenance efficiency of the cloud mobile phone is ensured compared with the manual maintenance mode of the cloud mobile phone.
Fig. 6 is a schematic structural diagram of a maintenance device of a cloud mobile phone according to an embodiment of the present disclosure, where the embodiment may be applicable to a case of generating and issuing an executable maintenance script for the cloud mobile phone by an automation means to implement cloud mobile phone maintenance. As shown in fig. 6, the apparatus specifically includes:
the script generation module 601 is configured to generate a maintenance script according to the acquired script template and script parameters input by a user;
The script issuing and executing module 602 is configured to generate a script instruction according to the maintenance script, and send the script instruction to a cloud mobile phone to be maintained or to a physical device where the cloud mobile phone is located, so that the cloud mobile phone or the physical device executes the maintenance script.
On the basis of the above embodiment, optionally, the script generating module includes:
The template acquisition unit is used for acquiring script templates corresponding to the maintenance functions according to the maintenance functions selected by the user;
The cloud mobile phone screening unit is used for determining at least one cloud mobile phone belonging to the IP address field according to the IP address field selected by the user; each cloud mobile phone uniquely corresponds to one IP address;
the script generation unit is used for generating a maintenance script for each cloud mobile phone according to the IP address of each cloud mobile phone, the script template and script parameters input by a user.
On the basis of the above embodiment, optionally, the script issuing and executing module includes:
the first transmission unit is used for monitoring the script instruction through the management service, and sending the script instruction to a management agency service of a machine room where the cloud mobile phone is located according to an IP address of the cloud mobile phone included in the script instruction, so that the management agency service sends the script instruction to equipment operation service of the cloud mobile phone according to the IP address;
And the second transmission unit is used for sending the script instruction to the corresponding cloud mobile phone or to the physical equipment where the cloud mobile phone is located through the equipment operation service.
On the basis of the above embodiment, optionally, the second transmission unit is specifically configured to:
transmitting complete script content included in the script instruction to a corresponding cloud mobile phone or to physical equipment where the cloud mobile phone is located through the equipment operation service; or alternatively
Based on the equipment operation service, downloading a corresponding script file according to a script downloading address included in the script instruction, and sending the script file to a corresponding cloud mobile phone or to physical equipment where the cloud mobile phone is located.
On the basis of the above embodiment, optionally, the method further includes:
And the execution result display module is used for acquiring the execution result of the maintenance script through the management service and sending the execution result to a user.
The maintenance device of the cloud mobile phone provided by the embodiment of the disclosure can execute the maintenance method of the cloud mobile phone provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method. Reference is made to the description of any method embodiment of the disclosure for details not explicitly described in this embodiment.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related user personal information all conform to the regulations of related laws and regulations, and the public sequence 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. 7 illustrates a schematic block diagram of an example electronic device 700 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. 7, the apparatus 700 includes a computing unit 701 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 may also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in device 700 are connected to I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, etc.; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, an optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 701 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 701 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 701 performs the respective methods and processes described above, for example, a maintenance method of a cloud cellular phone. For example, in some embodiments, the method of maintenance of a cloud handset may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 700 via ROM 702 and/or communication unit 709. When the computer program is loaded into RAM 703 and executed by computing unit 701, one or more steps of the cloud handset maintenance method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the maintenance method of the cloud handset 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 circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load 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 (10)

1. A cloud mobile phone maintenance method comprises the following steps:
Generating a maintenance script according to the acquired script template and script parameters input by a user;
Generating a script instruction according to the maintenance script, and sending the script instruction to a cloud mobile phone to be maintained or to physical equipment where the cloud mobile phone is located, so that the cloud mobile phone or the physical equipment executes the maintenance script;
the script instruction comprises a script downloading address;
the script instruction is sent to a cloud mobile phone to be maintained or to physical equipment where the cloud mobile phone is located, and the script instruction comprises:
Monitoring the script instruction through a management service, and sending the script instruction to a management proxy service of a machine room where the cloud mobile phone is located according to an IP address of the cloud mobile phone included in the script instruction, so that the management proxy service sends the script instruction to a device operation service of the cloud mobile phone according to the IP address; the management service, the management proxy service and the equipment operation service are services forming a cloud mobile phone system;
Based on the equipment operation service, downloading a corresponding script file according to a script downloading address included in the script instruction, and sending the script file to a corresponding cloud mobile phone or to physical equipment where the cloud mobile phone is located.
2. The method of claim 1, wherein generating a maintenance script from the acquired script template and the script parameters entered by the user comprises:
Acquiring a script template corresponding to a maintenance function according to the maintenance function selected by a user;
Determining at least one cloud mobile phone belonging to the IP address field according to the IP address field selected by the user; each cloud mobile phone uniquely corresponds to one IP address;
And generating a maintenance script for each cloud mobile phone according to the respective IP address of each cloud mobile phone, the script template and script parameters input by a user.
3. The method of claim 1, wherein the script instructions are maintaining complete content of a script, the method further comprising:
And sending the complete script content included in the script instruction to a corresponding cloud mobile phone or to physical equipment where the cloud mobile phone is located through the equipment operation service.
4. The method of claim 1, further comprising:
and acquiring an execution result of the maintenance script through the management service, and sending the execution result to a user.
5. A cloud handset maintenance device, comprising:
the script generation module is used for generating a maintenance script according to the acquired script template and script parameters input by a user;
the script issuing and executing module is used for generating script instructions according to the maintenance scripts, and sending the script instructions to a cloud mobile phone to be maintained or to physical equipment where the cloud mobile phone is located, so that the cloud mobile phone or the physical equipment executes the maintenance scripts;
the script instruction comprises a script downloading address;
The script issuing and executing module comprises:
The first transmission unit is used for monitoring the script instruction through the management service, and sending the script instruction to a management agency service of a machine room where the cloud mobile phone is located according to an IP address of the cloud mobile phone included in the script instruction, so that the management agency service sends the script instruction to equipment operation service of the cloud mobile phone according to the IP address; the management service, the management proxy service and the equipment operation service are services forming a cloud mobile phone system;
The second transmission unit is used for downloading a corresponding script file according to a script downloading address included by the script instruction based on the equipment operation service, and sending the script file to a corresponding cloud mobile phone or to physical equipment where the cloud mobile phone is located.
6. The apparatus of claim 5, wherein the script generation module comprises:
The template acquisition unit is used for acquiring script templates corresponding to the maintenance functions according to the maintenance functions selected by the user;
The cloud mobile phone screening unit is used for determining at least one cloud mobile phone belonging to the IP address field according to the IP address field selected by the user; each cloud mobile phone uniquely corresponds to one IP address;
the script generation unit is used for generating a maintenance script for each cloud mobile phone according to the IP address of each cloud mobile phone, the script template and script parameters input by a user.
7. The apparatus of claim 5, wherein the script instructions are to maintain complete content of a script, the second transmission unit being specifically configured to:
And sending the complete script content included in the script instruction to a corresponding cloud mobile phone or to physical equipment where the cloud mobile phone is located through the equipment operation service.
8. The apparatus of claim 5, further comprising:
And the execution result display module is used for acquiring the execution result of the maintenance script through the management service and sending the execution result to a user.
9. 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 method of any one of claims 1-4.
10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-4.
CN202110826762.7A 2021-07-21 2021-07-21 Cloud mobile phone maintenance method and device, electronic equipment and storage medium Active CN113572833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110826762.7A CN113572833B (en) 2021-07-21 2021-07-21 Cloud mobile phone maintenance method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110826762.7A CN113572833B (en) 2021-07-21 2021-07-21 Cloud mobile phone maintenance method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113572833A CN113572833A (en) 2021-10-29
CN113572833B true CN113572833B (en) 2024-05-14

Family

ID=78166018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110826762.7A Active CN113572833B (en) 2021-07-21 2021-07-21 Cloud mobile phone maintenance method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113572833B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090247A (en) * 2021-11-22 2022-02-25 北京百度网讯科技有限公司 Method, device, equipment and storage medium for processing data
CN117251196A (en) * 2023-11-20 2023-12-19 太平金融科技服务(上海)有限公司深圳分公司 Data maintenance method, device, equipment and storage medium

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014061A (en) * 2007-01-26 2007-08-08 华为技术有限公司 Method and apparatus for generating testing script and testing method and apparatus and system
CN101667121A (en) * 2009-09-28 2010-03-10 中兴通讯股份有限公司 Feature phone secondary development method and device
CN102495799A (en) * 2011-12-02 2012-06-13 刘伟 Automatic test system and method of movable terminal
CN102833092A (en) * 2012-06-21 2012-12-19 江西省电力公司信息通信中心 Method and system for managing cloud nodes and central server
CN103186460A (en) * 2011-12-30 2013-07-03 金蝶软件(中国)有限公司 Method, device and system for generating script of test case
WO2016040753A1 (en) * 2014-09-12 2016-03-17 Adallom Technologies Inc. A cloud suffix proxy and methods thereof
CN107291608A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 The generation method of test script, subscription/register method of interface and device
CN108369532A (en) * 2015-12-14 2018-08-03 微软技术许可有限责任公司 For first and the encapsulation tool of third party's arrangements of components
CN109743233A (en) * 2019-02-19 2019-05-10 南威软件股份有限公司 A kind of pair of strong identity authentication system carries out the method and computer equipment of data acquisition
CN109800145A (en) * 2018-12-13 2019-05-24 深圳壹账通智能科技有限公司 Script execution, device, computer equipment and storage medium
CN109871314A (en) * 2019-01-02 2019-06-11 石化盈科信息技术有限责任公司 The automatic generation method of test script
CN110162250A (en) * 2019-04-30 2019-08-23 广州微算互联信息技术有限公司 A kind of screenshot method, system and storage medium
CN110196722A (en) * 2019-05-07 2019-09-03 平安科技(深圳)有限公司 Cloud host batch management method, system, equipment and storage medium
CN110430206A (en) * 2019-08-13 2019-11-08 上海新炬网络技术有限公司 Based on script template metaplasia at the method for configuration firewall security policy
CN110505283A (en) * 2019-07-31 2019-11-26 湖南微算互联信息技术有限公司 A kind of automatic maintenance system and method based on cloud mobile phone
CN110601871A (en) * 2019-07-31 2019-12-20 华为技术有限公司 Virtual equipment testing method and device
CN110806922A (en) * 2019-10-14 2020-02-18 广州微算互联信息技术有限公司 Script execution method, device, equipment and storage medium
CN111586121A (en) * 2020-04-27 2020-08-25 安超云软件有限公司 Distributed cloud mobile phone application installation method, cloud platform, system and storage medium
CN111580833A (en) * 2019-02-18 2020-08-25 北京京东尚科信息技术有限公司 Application updating method and system, local management agent device and cloud server
CN111740859A (en) * 2020-06-12 2020-10-02 百度在线网络技术(北京)有限公司 Test environment deployment method and device, electronic equipment and storage medium
CN111913886A (en) * 2020-08-07 2020-11-10 平安科技(深圳)有限公司 Mobile phone APP automatic test method, device, equipment and storage medium
CN111949518A (en) * 2020-07-29 2020-11-17 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for generating fault detection script
CN112433705A (en) * 2020-11-25 2021-03-02 平安普惠企业管理有限公司 Script generation method and device, electronic equipment and storage medium
CN112688800A (en) * 2020-12-14 2021-04-20 北京四方继保工程技术有限公司 Remote maintenance method and system for intelligent equipment of intelligent power grid based on script technology

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10931558B2 (en) * 2017-11-27 2021-02-23 Jpmorgan Chase Bank, N.A. Script accelerate

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014061A (en) * 2007-01-26 2007-08-08 华为技术有限公司 Method and apparatus for generating testing script and testing method and apparatus and system
CN101667121A (en) * 2009-09-28 2010-03-10 中兴通讯股份有限公司 Feature phone secondary development method and device
CN102495799A (en) * 2011-12-02 2012-06-13 刘伟 Automatic test system and method of movable terminal
CN103186460A (en) * 2011-12-30 2013-07-03 金蝶软件(中国)有限公司 Method, device and system for generating script of test case
CN102833092A (en) * 2012-06-21 2012-12-19 江西省电力公司信息通信中心 Method and system for managing cloud nodes and central server
WO2016040753A1 (en) * 2014-09-12 2016-03-17 Adallom Technologies Inc. A cloud suffix proxy and methods thereof
CN108369532A (en) * 2015-12-14 2018-08-03 微软技术许可有限责任公司 For first and the encapsulation tool of third party's arrangements of components
CN107291608A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 The generation method of test script, subscription/register method of interface and device
CN109800145A (en) * 2018-12-13 2019-05-24 深圳壹账通智能科技有限公司 Script execution, device, computer equipment and storage medium
CN109871314A (en) * 2019-01-02 2019-06-11 石化盈科信息技术有限责任公司 The automatic generation method of test script
CN111580833A (en) * 2019-02-18 2020-08-25 北京京东尚科信息技术有限公司 Application updating method and system, local management agent device and cloud server
CN109743233A (en) * 2019-02-19 2019-05-10 南威软件股份有限公司 A kind of pair of strong identity authentication system carries out the method and computer equipment of data acquisition
CN110162250A (en) * 2019-04-30 2019-08-23 广州微算互联信息技术有限公司 A kind of screenshot method, system and storage medium
CN110196722A (en) * 2019-05-07 2019-09-03 平安科技(深圳)有限公司 Cloud host batch management method, system, equipment and storage medium
CN110505283A (en) * 2019-07-31 2019-11-26 湖南微算互联信息技术有限公司 A kind of automatic maintenance system and method based on cloud mobile phone
CN110601871A (en) * 2019-07-31 2019-12-20 华为技术有限公司 Virtual equipment testing method and device
CN110430206A (en) * 2019-08-13 2019-11-08 上海新炬网络技术有限公司 Based on script template metaplasia at the method for configuration firewall security policy
CN110806922A (en) * 2019-10-14 2020-02-18 广州微算互联信息技术有限公司 Script execution method, device, equipment and storage medium
CN111586121A (en) * 2020-04-27 2020-08-25 安超云软件有限公司 Distributed cloud mobile phone application installation method, cloud platform, system and storage medium
CN111740859A (en) * 2020-06-12 2020-10-02 百度在线网络技术(北京)有限公司 Test environment deployment method and device, electronic equipment and storage medium
CN111949518A (en) * 2020-07-29 2020-11-17 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for generating fault detection script
CN111913886A (en) * 2020-08-07 2020-11-10 平安科技(深圳)有限公司 Mobile phone APP automatic test method, device, equipment and storage medium
CN112433705A (en) * 2020-11-25 2021-03-02 平安普惠企业管理有限公司 Script generation method and device, electronic equipment and storage medium
CN112688800A (en) * 2020-12-14 2021-04-20 北京四方继保工程技术有限公司 Remote maintenance method and system for intelligent equipment of intelligent power grid based on script technology

Also Published As

Publication number Publication date
CN113572833A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
CN113572833B (en) Cloud mobile phone maintenance method and device, electronic equipment and storage medium
CN113808231B (en) Information processing method and device, image rendering method and device, and electronic device
CN114025037B (en) Cloud mobile phone overhaul method and device, electronic equipment and storage medium
CN113419865A (en) Cloud resource processing method, related device and computer program product
CN110795328A (en) Interface testing method and device
CN115514718B (en) Data interaction method, control layer and equipment based on data transmission system
CN112667368A (en) Task data processing method and device
CN112925623B (en) Task processing method, device, electronic equipment and medium
CN115016955A (en) Method and device for sharing information among multiple applications
CN112966201B (en) Object processing method, device, electronic equipment and storage medium
CN115567602A (en) CDN node back-to-source method, device and computer readable storage medium
CN110768855B (en) Method and device for testing linkmzation performance
CN114139605A (en) Distributed model training method, system, device and storage medium
CN113691937A (en) Method for determining position information, cloud mobile phone and terminal equipment
CN109213815B (en) Method, device, server terminal and readable medium for controlling execution times
CN114157917B (en) Video editing method and device and terminal equipment
CN112099841A (en) Method and system for generating configuration file
CN113805919B (en) Rendering special effect updating method and device, electronic equipment and storage medium
CN113741937B (en) Application updating method and device for cloud terminal and computer program product
CN114095758B (en) Cloud image intercepting method and related device
CN116112880B (en) MQ-based high concurrency short message sending method and device
CN113032040B (en) Method, apparatus, device, medium, and article for processing tasks
CN115865974A (en) Edge device, cloud device, edge computing system and method, and storage medium
CN115146202A (en) Page form generation method and device
CN116233051A (en) Page sharing method, device and equipment for applet 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