CN114217837A - Software updating method, device, equipment and medium for cloud mobile phone - Google Patents

Software updating method, device, equipment and medium for cloud mobile phone Download PDF

Info

Publication number
CN114217837A
CN114217837A CN202210050211.0A CN202210050211A CN114217837A CN 114217837 A CN114217837 A CN 114217837A CN 202210050211 A CN202210050211 A CN 202210050211A CN 114217837 A CN114217837 A CN 114217837A
Authority
CN
China
Prior art keywords
software
updating
update
proxy server
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
CN202210050211.0A
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 CN202210050211.0A priority Critical patent/CN114217837A/en
Publication of CN114217837A publication Critical patent/CN114217837A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure provides a software updating method, a software updating device, equipment, a medium and a program product for a cloud mobile phone, relates to the technical field of computers, and particularly relates to a cloud computing technology. The specific implementation scheme is as follows: responding to a trigger operation of a user for updating software installed on a cloud mobile phone, and sending a software updating request to a proxy server according to an updating interface address of the software, wherein the updating interface address is remapped to the proxy server in advance; and receiving a software update package cached by the proxy server, and updating the software according to the software update package. According to the technical scheme, the interface address for software updating is remapped to the proxy server, so that when any user updates software on the cloud mobile phone, the cloud mobile phone can directly obtain the cached software updating package through the proxy server, the problem of high bandwidth pressure of a cloud mobile phone machine room caused by too many concurrent users during software updating is avoided, and the software updating efficiency of the cloud mobile phone is improved.

Description

Software updating method, device, equipment and medium for cloud mobile phone
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, a medium, and a program product for updating software for a cloud mobile phone.
Background
A cloud mobile phone (Cloudphone) is a mobile phone which applies a cloud computing technology to a network terminal service and realizes a cloud service through a cloud server. The mobile phone can realize a plurality of functions through a network by virtue of a self-contained system and a network terminal erected by a manufacturer. For example, a cloud desktop on a cloud mobile phone provides a function of installing an application, and a user can install various software such as a game and the like through the cloud mobile phone to realize various functions.
More and more users install game software on the cloud mobile phone, when the game software is updated in a large version, the number of concurrent updating users is large, and great pressure is generated on the outlet bandwidth of a machine room of the cloud mobile phone, so that the software updating efficiency is influenced.
Disclosure of Invention
The present disclosure provides a software update method, apparatus, device, medium, and program product for a cloud handset.
According to an aspect of the present disclosure, there is provided a software update method for a cloud handset, including:
responding to a trigger operation of a user for updating software installed on a cloud mobile phone, and sending a software updating request to a proxy server according to an updating interface address of the software, wherein the updating interface address is remapped to the proxy server in advance;
and receiving a software update package cached by the proxy server, and updating the software according to the software update package.
According to another aspect of the present disclosure, there is provided a software updating apparatus for a cloud handset, including:
the update request sending module is used for responding to triggering operation of a user for updating software installed on the cloud mobile phone, and sending a software update request to the proxy server according to an update interface address of the software, wherein the update interface address is remapped to the proxy server in advance;
and the update package receiving module is used for receiving the software update package cached by the proxy server and updating the software according to the software update package.
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 a software update method for a cloud handset according to any embodiment of the present 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 a software update method for a cloud handset according to 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 software update method for a cloud handset according to any embodiment of the present disclosure.
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 software update method for a cloud handset according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a software update method for a cloud handset according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a software updating apparatus for a cloud handset according to an embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device for implementing a software update method for a cloud handset 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 schematic flow diagram of a software updating method for a cloud mobile phone according to an embodiment of the present disclosure, which is applicable to a situation of updating any software installed on the cloud mobile phone, and relates to the technical field of computers, in particular to a cloud computing technology. The method can be executed by a software updating device for the cloud mobile phone, which is implemented in software and/or hardware, and is preferably configured in an electronic device, such as a cloud mobile phone device. As shown in fig. 1, the method specifically includes the following steps:
s101, responding to a trigger operation of a user for updating software installed on the cloud mobile phone, and sending a software updating request to a proxy server according to an updating interface address of the software, wherein the updating interface address is remapped to the proxy server in advance.
For example, a user installs game software on a cloud phone and plays a game through the cloud phone. In the process, if the game needs to be updated, the server of the game sends an update notification to the user through the client of the game, and the user can trigger the update of the game when triggering the notification, and in addition, the user can also actively trigger the update of the game at the game client.
When the version of the game is updated, a large number of users trigger the update of the game, and at the moment, great pressure is brought to the bandwidth of a cloud mobile phone room. In order to solve the problem, in the embodiment of the disclosure, a packet capturing tool is installed in the cloud mobile phone in advance, when a game is updated for the first time, a network data packet in the game updating process is captured by using the packet capturing tool, the network data packet carries an interface address of the game update, and the update interface address can be obtained by analyzing the network data packet. The updated interface address is then remapped to a pre-prepared proxy server using a remapping technique.
And S102, receiving the software updating package cached by the proxy server, and updating the software according to the software updating package.
After the game is updated for the first time, because the update interface address of the game is remapped to the proxy server, when any user triggers game update through the cloud mobile phone, the update request is sent to the proxy server according to the current update interface address, and the proxy server is used for acquiring a game update package from a service party of the game according to the update request and caching the game update package. Therefore, when a game updating request of any cloud mobile phone is received again, the proxy server can directly send the cached software updating package to the cloud mobile phone, and therefore the updating of the game software is completed.
It should be noted that other types of software updates on the cloud mobile phone can also be implemented according to the method in the embodiment of the present disclosure, and details are not described here.
According to the technical scheme, the interface address for software updating is remapped to the proxy server, so that when any user updates software on the cloud mobile phone, the cloud mobile phone can directly obtain the cached software updating package through the proxy server, the problem of high bandwidth pressure of a cloud mobile phone machine room caused by too many concurrent users during software updating is avoided, and the software updating efficiency of the cloud mobile phone is improved.
Fig. 2 is a schematic flow chart of a software updating method for a cloud mobile phone according to an embodiment of the present disclosure, and the embodiment is further optimized based on the foregoing embodiment.
As shown in fig. 2, when the cloud handset a, the cloud handset b, and the cloud handset c send update requests of games separately or simultaneously, similarly, since the update interface addresses of the games are remapped to the proxy server 202 in advance, the update requests are sent to the proxy server 202 directly, and the process is not known to the cloud handset. The proxy server 202 is configured to return a game update package downloaded from the game server 201 to a corresponding cloud mobile phone, and the cloud mobile phone may complete game update according to the game update package after receiving the game update package.
According to the technical scheme of the embodiment of the disclosure, the update interface address of the game software is remapped to the proxy server, so that even if a plurality of cloud mobile phones update games at the same time, great bandwidth pressure of a cloud mobile phone machine room is not caused, the update requests of the games can be directly sent to the proxy server, and the proxy server is responsible for sending the game update packages to the cloud mobile phones, so that the game software update efficiency of the cloud mobile phones is improved.
Fig. 3 is a schematic structural diagram of a software updating apparatus for a cloud mobile phone according to an embodiment of the present disclosure, which is applicable to a situation of updating any software installed on the cloud mobile phone, and relates to the field of computer technologies, in particular to a cloud computing technology. The device can realize the software updating method for the cloud mobile phone according to any embodiment of the disclosure. As shown in fig. 3, the apparatus 300 specifically includes:
the update request sending module 301 is configured to, in response to a trigger operation of a user for updating software installed on a cloud mobile phone, send a software update request to a proxy server according to an update interface address of the software, where the update interface address is remapped to the proxy server in advance;
an update package receiving module 302, configured to receive the software update package cached by the proxy server, and update the software according to the software update package.
Optionally, the update interface address is obtained by capturing a network data packet by using a packet capture tool and analyzing the network data packet in a previous update process of the software.
Optionally, the software update package is obtained by the proxy server from a service side of the software in advance.
Optionally, the software is game software.
The product can execute the method provided by any embodiment of the disclosure, and has 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. 4 shows a schematic block diagram of an example electronic device 400 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 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. 4, the apparatus 400 includes a computing unit 401 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
A number of components in device 400 are connected to I/O interface 405, including: an input unit 406 such as a keyboard, a mouse, or the like; an output unit 407 such as various types of displays, speakers, and the like; a storage unit 408 such as a magnetic disk, optical disk, or the like; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 401 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 401 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 401 executes the respective methods and processes described above, such as a software update method for a cloud handset. For example, in some embodiments, the software update method for a cloud handset may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 400 via the ROM 402 and/or the communication unit 409. When the computer program is loaded into RAM 403 and executed by computing unit 401, one or more steps of the software update method for cloud handsets described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured by any other suitable means (e.g., by means of firmware) to perform a software update method for a cloud handset.
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), blockchain networks, 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 can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome. The server may also be a server of a distributed system, or a server incorporating a blockchain.
Artificial intelligence is the subject of research that makes computers simulate some human mental processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), both at the hardware level and at the software level. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, and the like; the artificial intelligence software technology mainly comprises a computer vision technology, a voice recognition technology, a natural language processing technology, a machine learning/deep learning technology, a big data processing technology, a knowledge map technology and the like.
Cloud computing (cloud computing) refers to a technology system that accesses a flexibly extensible shared physical or virtual resource pool through a network, where resources may include servers, operating systems, networks, software, applications, storage devices, and the like, and may be deployed and managed in a self-service manner as needed. Through the cloud computing technology, high-efficiency and strong data processing capacity can be provided for technical application and model training of artificial intelligence, block chains and the like.
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 this disclosure may be performed in parallel or sequentially or in a different order, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and are 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 (10)

1. A software updating method for a cloud mobile phone comprises the following steps:
responding to a trigger operation of a user for updating software installed on a cloud mobile phone, and sending a software updating request to a proxy server according to an updating interface address of the software, wherein the updating interface address is remapped to the proxy server in advance;
and receiving a software update package cached by the proxy server, and updating the software according to the software update package.
2. The method of claim 1, wherein the update interface address is obtained by capturing a network packet with a packet capture tool and analyzing the network packet during a previous update of the software.
3. The method of claim 1, wherein the software update package is obtained by the proxy server from a service of the software in advance.
4. The method of claim 1, wherein the software is game software.
5. A software updating apparatus for a cloud handset, comprising:
the update request sending module is used for responding to triggering operation of a user for updating software installed on the cloud mobile phone, and sending a software update request to the proxy server according to an update interface address of the software, wherein the update interface address is remapped to the proxy server in advance;
and the update package receiving module is used for receiving the software update package cached by the proxy server and updating the software according to the software update package.
6. The apparatus of claim 5, wherein the update interface address is obtained by capturing a network packet with a packet capture tool and analyzing the network packet during a previous update process of the software.
7. The apparatus of claim 5, wherein the software update package is obtained by the proxy server from a service of the software in advance.
8. 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 software update method for a cloud handset of any one of claims 1-4.
9. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the software update method for a cloud handset according to any one of claims 1 to 4.
10. A computer program product comprising a computer program which, when executed by a processor, implements a software update method for a cloud handset as claimed in any one of claims 1 to 4.
CN202210050211.0A 2022-01-17 2022-01-17 Software updating method, device, equipment and medium for cloud mobile phone Pending CN114217837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210050211.0A CN114217837A (en) 2022-01-17 2022-01-17 Software updating method, device, equipment and medium for cloud mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210050211.0A CN114217837A (en) 2022-01-17 2022-01-17 Software updating method, device, equipment and medium for cloud mobile phone

Publications (1)

Publication Number Publication Date
CN114217837A true CN114217837A (en) 2022-03-22

Family

ID=80708338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210050211.0A Pending CN114217837A (en) 2022-01-17 2022-01-17 Software updating method, device, equipment and medium for cloud mobile phone

Country Status (1)

Country Link
CN (1) CN114217837A (en)

Similar Documents

Publication Publication Date Title
CN113766487B (en) Cloud mobile phone information acquisition method, device, equipment and medium
EP4060496A2 (en) Method, apparatus, device and storage medium for running inference service platform
CN114025037B (en) Cloud mobile phone overhaul method and device, electronic equipment and storage medium
CN113961289A (en) Data processing method, device, equipment and storage medium
CN113724398A (en) Augmented reality method, apparatus, device and storage medium
CN113572833A (en) Cloud mobile phone maintenance method and device, electronic equipment and storage medium
CN114374703B (en) Cloud mobile phone information acquisition method, device, equipment and storage medium
CN114217837A (en) Software updating method, device, equipment and medium for cloud mobile phone
CN114095564A (en) Data processing method and device, equipment and medium
CN114386577A (en) Method, apparatus, and storage medium for executing deep learning model
CN114389969A (en) Client test method and device, electronic equipment and storage medium
CN113950034A (en) Bluetooth behavior simulation method, device and equipment
CN113609027A (en) ARM cloud server testing method and device, electronic equipment and storage medium
CN113220367A (en) Applet running method and device, electronic equipment and storage medium
CN112540804A (en) Applet running method and device, electronic equipment and medium
CN112882711A (en) Rendering method, device, equipment and storage medium
CN112817463A (en) Method, equipment and storage medium for acquiring audio data by input method
CN114006902B (en) Cloud mobile phone restarting method, device, equipment and storage medium
CN113961207A (en) Application control method, device, electronic equipment and medium
CN115865974A (en) Edge device, cloud device, edge computing system and method, and storage medium
US20230206756A1 (en) Method and system of controlling traffic lighting apparatus, electronic device and storage medium
CN113726872B (en) Method, device, equipment and medium for filtering promotion information
CN114428646B (en) Data processing method and device, electronic equipment and storage medium
CN113741937A (en) Application updating method and device for cloud terminal and computer program product
CN114895898A (en) Instruction processing method, device, equipment and storage medium

Legal Events

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