CN112817610A - Cota package installation method and related device - Google Patents

Cota package installation method and related device Download PDF

Info

Publication number
CN112817610A
CN112817610A CN202110116552.9A CN202110116552A CN112817610A CN 112817610 A CN112817610 A CN 112817610A CN 202110116552 A CN202110116552 A CN 202110116552A CN 112817610 A CN112817610 A CN 112817610A
Authority
CN
China
Prior art keywords
cota
packet
equipment
parameter set
cloud
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
CN202110116552.9A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110116552.9A priority Critical patent/CN112817610A/en
Publication of CN112817610A publication Critical patent/CN112817610A/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/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a cota package installation method and a related device, wherein the method comprises the following steps: the cloud device can determine customized resource data (namely a cota package) of the electronic device according to information such as operator types and device parameter sets, and sends the cota package to the electronic device, so that the electronic device can install the cota package without offline manual operation, customization of application functions in the electronic device can be achieved, manpower or financial cost saving is facilitated, and user experience improvement is facilitated.

Description

Cota package installation method and related device
Technical Field
The application relates to the technical field of electronics, in particular to a cota package installation method and a related device.
Background
With the widespread use of electronic devices (mobile phones, tablet computers, etc.), the electronic devices are developed toward diversification and personalization, and the electronic devices have more and more applications, and have more and more powerful functions, so that the electronic devices become indispensable electronic products in the life of users.
Most companies or individuals can customize the application programs in the mobile phone according to the requirements of different operators, and further, after the machines are sold in the open market channel or the operator channel, when a user inserts an operator SIM card into the mobile phone, the customization function is effective. However, in general, the mobile phone customizing process is generally realized by means of production line flashing, and if an operator needs to customize tens of thousands of mobile phones, a large amount of manpower and material resources are needed to be consumed to perform off-line flashing, so that the problems of high cost and long consumed time are caused.
Disclosure of Invention
The embodiment of the application provides a cota package installation method and a related device, which can be used for customizing application functions in electronic equipment and are beneficial to improving user experience.
In a first aspect, an embodiment of the present application provides a method for installing a cota package, which is applied to an electronic device, and the method includes:
sending an information acquisition request to cloud equipment, wherein the information acquisition request is used for acquiring a cota packet of the cloud equipment, and the information acquisition request carries an equipment parameter set corresponding to an SIM card;
and receiving the cota packet sent by the cloud equipment, and installing the cota packet.
In a second aspect, an embodiment of the present application provides a method for installing a cota package, which is applied to a cloud device, and the method includes:
receiving an information acquisition request sent by electronic equipment, wherein the information acquisition request carries an equipment parameter set corresponding to an SIM card in the electronic equipment;
acquiring an operator type corresponding to the SIM card;
determining a cota packet corresponding to the equipment parameter set according to the equipment parameter set and the operator type;
and sending the cota packet to the electronic equipment, wherein the cota packet is used for installing the electronic equipment.
In a third aspect, an embodiment of the present application provides a cota package installation apparatus, which is applied to an electronic device, and the apparatus includes: a transmitting unit and a mounting unit, wherein,
the sending unit is used for sending an information acquisition request to cloud equipment, wherein the information acquisition request is used for acquiring a cota packet of the cloud equipment, and the information acquisition request carries an equipment parameter set corresponding to an SIM card;
the installation unit is used for receiving the cota packet sent by the cloud equipment and installing the cota packet.
In a fourth aspect, an embodiment of the present application provides a cota package installation device, which is applied to a cloud device, the device includes: a receiving unit, an obtaining unit, a determining unit and a sending unit, wherein,
the receiving unit is used for receiving an information acquisition request sent by electronic equipment, wherein the information acquisition request carries an equipment parameter set corresponding to an SIM card in the electronic equipment;
the obtaining unit is used for obtaining the operator type corresponding to the SIM card;
the determining unit is configured to determine a cota packet corresponding to the device parameter set according to the device parameter set and the operator type;
the sending unit is used for sending the cota packet to the electronic equipment, and the cota packet is used for installing the electronic equipment.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in any of the methods of the first aspect of the embodiment of the present application.
In a sixth aspect, an embodiment of the present application provides a cloud device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any of the methods in the first aspect of the embodiment of the present application.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the method according to any one of the first aspect or the second aspect of the embodiments of the present application.
In an eighth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in any of the methods of the first or second aspects of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the application, the cloud device can determine customized resource data (namely, a cota package) of the electronic device according to the operator type, the device model with the device parameter set and other information, and send the cota package to the electronic device, so that the electronic device can install the cota package, offline manual operation is not needed, customization of application functions in the electronic device can be automatically achieved, manpower or financial cost is saved, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 3A is a schematic diagram of a system architecture of a method for installing a cota packet according to an embodiment of the present application;
FIG. 3B is an interactive schematic diagram of a method for installing a cota package according to an embodiment of the present disclosure;
FIG. 3C is an interactive schematic diagram of a method for installing a cota package according to an embodiment of the present disclosure;
FIG. 4 is a schematic flowchart of a method for installing a cota package according to an embodiment of the present disclosure;
FIG. 5 is a schematic flowchart of a method for installing a cota package according to an embodiment of the present disclosure;
FIG. 6 is a schematic flowchart of a method for installing a cota package according to an embodiment of the present disclosure;
fig. 7 is a block diagram illustrating functional units of an electronic device according to an embodiment of the present disclosure;
fig. 8 is a block diagram illustrating functional units of a cloud device according to an embodiment of the present disclosure;
fig. 9 is a block diagram illustrating functional units of a cota package installation apparatus according to an embodiment of the present disclosure;
fig. 10 is a block diagram illustrating functional units of a cota package installation apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
1) The electronic device or cloud-based device may be a portable electronic device, such as a cell phone, a tablet computer, a wearable electronic device with wireless communication capabilities (e.g., a smart watch), etc., that also includes other functionality, such as personal digital assistant and/or music player functionality. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices that carry an IOS system, an Android system, a Microsoft system, or other operating system. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be understood that in other embodiments, the electronic device may not be a portable electronic device, but may be a desktop computer.
2) COTA refers to cloud customization. After the machine is sold in the open market channel or carrier channel, the customization function will take effect when the user inserts the carrier SIM card in the handset. The handset will take effect corresponding functions according to the needs of the operator.
3) Orange is an operator in france.
In a first section, the software and hardware operating environment of the technical solution disclosed in the present application is described as follows.
Fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, a pointer 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby increasing the efficiency with which the electronic device 100 processes data or executes instructions.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a SIM card interface, a USB interface, and/or the like. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (blue tooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), UWB, and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a cota package mounted microprocessor that connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (mini-light-emitting diode, mini), a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, so as to enable the electronic device 100 to execute the method for displaying page elements provided in some embodiments of the present application, and various applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (e.g., photos, contacts, etc.) created during use of the electronic device 100, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, Universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 100 to execute the method for displaying page elements provided in the embodiments of the present application and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., X, Y and the Z axis) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
Fig. 2 shows a block diagram of a software structure of the electronic device 100. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In a second section, example application scenarios disclosed in embodiments of the present application are described below.
Fig. 3A shows a system architecture diagram of a method for installing a cota package, to which the present application is applied, and as shown in fig. 3A, the architecture diagram includes a data layer, a service layer, an interface layer, and an access layer.
Among other things, the data layer may support a Redis database, a MySql database, and a MongoDB database, among others.
Wherein the service layer can support at least one of the following service types: interface services, operation background services, storage services, construction services, and the like, which are not limited herein; the interface service can support an API (application programming interface) interface service and the like, the operation background service can support a resource uploading/downloading service, an MO (machine object) approval service, a data statistics service and the like, the storage service can support storage of a cloud device or a cloud server, and the construction service can support construction of a cota package and the like.
The interface layer can support cloud end equipment of different manufacturer types or interface gateways of the cloud end servers.
The access layer is used for supporting the electronic equipment to access the cloud equipment or the cloud server.
For example, fig. 3B shows an interaction diagram of a method for installing a cota package, which may include, as shown in the figure: the system comprises electronic equipment, cloud equipment, an operation background and a construction system.
Before the electronic device is subjected to the customizing service of the cota package, an operator or a user can upload a plurality of customizing resource data corresponding to a plurality of operators through an operation background, each operator can correspond to one customizing resource data, each customizing resource data can correspond to the device model or the device type of the electronic device, and each operator can correspond to one standard of one country.
Further, the operation background may upload the customized resource data to the building system, so as to generate a cota package corresponding to each customized resource data through the building system, where the cota package includes a plurality of resource files (e.g., an application program, desktop wallpaper, lock screen wallpaper, telephone ring, alarm ring, notification ring, built-in picture, boot animation, restart animation, LOGO, etc.), and when new data is updated, the operator may directly repeat the above steps to update the resource files in the cota package,
in this way, the electronic device may send an information acquisition request to the cloud device, where the information acquisition request is used to acquire a cota packet of the cloud device, and the information acquisition request carries a device parameter set corresponding to the SIM card; furthermore, the cloud device may complete determination of customized resource data (i.e., a cota packet) of the electronic device based on information such as an operator type corresponding to the electronic device and a device model in the device parameter set, and send the cota packet to the electronic device for the electronic device to install the cota packet; furthermore, an operator can test whether the electronic equipment can normally receive the cota packet and whether the configuration of the cota packet is normally effective, offline manual operation is not needed, customization of application functions in the electronic equipment can be automatically realized, labor or financial cost is saved, and user experience is improved.
For example, fig. 3C shows an interaction diagram of a method for installing a cota package, which may include, as shown in the figure: the system comprises a cota service device or server, a cota data service device or data server and a cloud device.
The cota data service device or the data server can be used for storing customized resource data (application programs, desktop wallpapers, screen locking wallpapers, telephone ringtones, alarm ringtones, notification ringtones, built-in pictures, startup animations, restart animations, LOGO and the like) corresponding to various countries or operators, can provide services for users (such as the cota service, uploading of the customized resource data and the like), for example, if the cota service is required to be provided for EU users, namely the customized service is provided for the application functions in the electronic equipment used by the EU users, the cota data service device or the server can be respectively built in China and EU countries, and the domestic cota data service device or the server can complete the synchronization or the update of the customized resource data of the cota packet of the EU countries and store the mirror image files of the customized resource data in the cloud equipment, when the European Union user needs to complete the cota customized service of the electronic equipment, the pre-stored customized resource data can be acquired from the cloud equipment according to the equipment model or the operator type, so that the accurate pushing of the cota package is realized, and the improvement of user experience is facilitated.
In the third section, the scope of protection of the claims disclosed in the embodiments of the present application is described below.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a flowchart of a method for installing a cota package, which is applied to an electronic device according to an embodiment of the present application.
S401, an information acquisition request is sent to cloud equipment, the information acquisition request is used for acquiring a cota packet of the cloud equipment, and the information acquisition request carries an equipment parameter set corresponding to an SIM card.
The SIM card (Subscriber Identity Module) may refer to an IC card installed in an electronic device.
The device parameter set may include a plurality of device parameters, and the device parameter set includes at least two of the following: the device model, The device brand, The Mobile Country Code (MCC), The Mobile Network Code (MNC), The encrypted virtual Network (SPN), The Group Identity (GID), The International Mobile Subscriber Identity (IMSI), The short message mechanism (Over-The-Air, OTA), and The Global Unique Identifier (GUID), etc., which are not limited herein.
The foregoing cota may refer to cloud customization, the cota package may be encapsulated with customized resource data, and the customization of the application function in the electronic device may be implemented through the cota package, for example, the customized resource data may include at least one of the following: application packages, desktop wallpapers, lock screen wallpapers, phone ringtones, alarm ringtones, notification ringtones, built-in pictures, boot animations, restart animations, etc., without limitation.
In concrete implementation, the electronic device can monitor the state of the card slot, and if the SIM card in the card slot changes, for example, when the SIM card is inserted, the information acquisition request can be sent to the cloud to acquire the cota packet regardless of whether the SIM card is the same as the previous SIM card.
Optionally, when the cloud device needs to be updated with a new cota package, the new cota package may also be directly issued to the device to help the electronic device complete the update or upgrade of the customized application function.
S402, receiving the cota packet sent by the cloud equipment, and installing the cota packet.
The cota packages corresponding to each device model or operator type may be different, the customized resource data therein are different, and the resource data may be customized for each device model or operator individually to implement different customization functions, such as interface UI customization, phone ring customization, and the like.
After the success or failure of the installation of the above-mentioned cota packet, the electronic device may send the information of the failure or success of the installation to the cloud device.
In one possible example, after the installing the cota packet, the method may further include: sending an information updating request to the cloud device every other preset period, wherein the information updating request is used for acquiring a target cota packet from the cloud device; comparing the target version number corresponding to the target with the version number corresponding to the cota packet; if the target version number corresponding to the target cota packet is consistent with the version number corresponding to the cota packet, not updating the cota packet; and if the target version number corresponding to the target cota packet is not consistent with the version number corresponding to the cota packet, or if the target version number corresponding to the target cota packet is greater than the version number corresponding to the cota packet, updating the cota packet into the target cota packet.
The preset period can be set by a user or defaulted by a system, and is not limited herein; for example, it may be 10min, 8h, 1 day, 30 days, half year, etc., and is not limited herein.
The electronic device can send an information updating request to the cloud device every other preset period, the information updating request is used for acquiring a target cota packet, and the target cota packet can be the latest resource data packet corresponding to the electronic device and the SIM card stored in the cloud device.
The method includes the steps of comparing the version number of the cota packet with the target version number of the target cota packet to determine whether the currently corresponding cota packet in the electronic device is the latest version.
In a specific implementation, if the target version number corresponding to the target cota packet is consistent with the version number corresponding to the cota packet, it is indicated that the cota packet in the electronic device is the latest version, and the cota packet may not be updated; if the target version number corresponding to the target cota packet is not consistent with the version number corresponding to the cota packet, it may be indicated that the cota packet is not the latest, and further, if the target version number corresponding to the target cota packet is greater than the version number corresponding to the cota packet, it may be determined that the target cota packet is the latest version, and the cota packet may be updated to the target cota packet.
Further, if the target cota package does not exist in the electronic device, it indicates that the cota package may be a newly updated application function (e.g., a switching function for adding desktop wallpaper, etc.), and the target cota package may be directly installed.
As can be seen, in the embodiment of the application, when it is detected that an SIM card is inserted into a card slot, an electronic device sends an information acquisition request to a cloud device, where the information acquisition request is used to acquire a cota packet of the cloud device, and the information acquisition request carries a device parameter set corresponding to the SIM card; receiving the cota packet sent by the cloud equipment, and installing the cota packet; therefore, the customized installation package (cota package) can be automatically downloaded and installed, and the user experience is improved.
Referring to fig. 5 in a manner consistent with the embodiment shown in fig. 4, fig. 5 is a schematic flowchart of a method for installing a cota package in an embodiment of the present application, and is applied to a cloud device.
S501, receiving an information acquisition request sent by electronic equipment, wherein the information acquisition request carries an equipment parameter set corresponding to an SIM card in the electronic equipment.
S502, obtaining the operator type corresponding to the SIM card.
Different operators may correspond to different types, for example, british operator EE/CPW, french operator orange, etc., which is not limited herein.
S503, determining a cota packet corresponding to the equipment parameter set according to the equipment parameter set and the operator type.
The device parameter set may include a plurality of device parameters, and may include at least two of the following: the device model, The device brand, The Mobile Country Code (MCC), The Mobile Network Code (MNC), The encrypted virtual Network (SPN), The Group Identity (GID), The International Mobile Subscriber Identity (IMSI), The short message mechanism (Over-The-Air, OTA), and The Global Unique Identifier (GUID), etc., which are not limited herein.
In specific implementation, the detection type may be determined based on the device model or the device brand and the operator type in the device parameter set, and other device parameters except the device model or the device brand in the device parameter set are matched to determine the cota packet corresponding to the device parameter set.
In a possible example, in terms of determining the cota packet corresponding to the device parameter set according to the device parameter set and the operator type, the method may include the following steps: determining a detection strategy corresponding to the equipment parameter set according to the operator type; detecting each equipment parameter in the equipment parameter set according to the detection strategy; and when the equipment parameter set is successfully detected, acquiring the customized resource data matched with the operator type, and generating the cota packet according to the customized resource data.
Different customized resource data can be constructed in advance in the cloud device according to different operators or device models and the like, and the customized resource data can comprise at least one of the following: application packages, desktop wallpapers, lock screen wallpapers, phone ringtones, alarm ringtones, notification ringtones, built-in pictures, boot animations, restart animations, etc., without limitation.
The method includes the steps that an operator or a user can upload customized resource data to a building system through an operation background in advance, then the customized resource data can be compressed into a resource package (namely a cota package) through the building system, each file in the package can be compressed into a corresponding directory, unique identification information (for example, package names or hash values and the like) can be generated, then the building system can compile the resource package and generate an image file, and then the image file is uploaded to cloud equipment.
In the specific implementation, a jenkins construction tool can be used to generate a package in img format from the customized resource data in the resource package according to the configuration requirement of the electronic device, and then, the package includes various resource files, such as application programs, desktop wallpaper, lock screen wallpaper, telephone ring tone, alarm clock ring tone, notification ring tone, built-in pictures, boot animation, restart animation, LOGO and other resources, so as to update or replace the former resources in the electronic device, thereby achieving the effect of updating.
Since parameters (such as a Mobile Country Code (MCC), a Mobile Network Code (MNC), a Private virtual Network (SPN), a Group Identity (GID), an International Mobile Subscriber Identity (IMSI), an Over-The-Air (OTA), and a Globally Unique Identifier (GUID) corresponding to SIM cards of different operators may be different, a detection manner or a detection sequence of a device parameter for each SIM card may be different, and thus, device parameter sets corresponding to SIM cards of different operators may have different detection policies.
Therefore, in the embodiment of the application, the detection strategies corresponding to the device parameter sets can be selected in consideration of the fact that the device parameters corresponding to different operators are different, and the detection accuracy is improved; based on the detection strategy, after each equipment parameter in the equipment parameter set is successfully detected, acquiring customized resource data matched with the type of the operator or the equipment model and the like, and packaging the customized resource data into a cota packet; thus, customization of application functions in different operators or equipment models can be realized.
In a possible example, if the operator type is an orange type, in the aspect of detecting each device parameter in the device parameter set according to the detection policy, the method may include the following steps: acquiring a pre-stored preset equipment parameter set corresponding to the operator type; matching each preset device parameter in the preset device parameter set with each device parameter in the device parameter set; if any one of the device parameters in the device parameter set fails to be matched with the corresponding preset device parameter, determining that the detection of the device parameter set fails or restarting to match the device parameter set; and if each equipment parameter in the equipment parameter set is successfully matched with the corresponding preset equipment parameter, determining that the equipment parameter set is successfully detected.
The preset device parameter set may be set by a user or default, and is not limited herein. The preset device parameter set may include a plurality of preset device parameters, and the preset device parameters may include at least one of the following: mobile Country Code (MCC), Mobile Network Code (MNC), encrypted virtual Network (SPN), Group Identity (GID), International Mobile Subscriber Identity (IMSI), short message mechanism (Over-The-Air, OTA), and Globally Unique Identifier (GUID), among others. The system can be preset and uploaded to an operator or a user.
Wherein, above-mentioned preset device parameter set can compress the form of package and save in the high in the clouds equipment, before carrying out the parameter matching, can decompress this compression package to obtain a plurality of preset device parameters, so, can save high in the clouds equipment storage space.
For an orange operator, matching each device parameter in a device parameter set corresponding to the SIM card with each preset device parameter in a preset device parameter set stored in advance, and if all the matching is successful, determining that the device parameter set is successfully detected; if any one of the device parameters fails to be matched, it is determined that the device parameter set fails to be detected, the subsequent steps may be stopped, or if a stuck condition may occur, each device parameter in the preset device parameter set may be automatically re-detected, or a prompt message may be sent to a background operator to prompt the background operator of the detection failure, or a reason for the detection failure may be pushed to the electronic device to prompt a user of the detection failure or the customized cota service failure and other information.
For example, for an orange operator, if the device parameter set includes: the MCC, MNC, SPN, GID, IMSI, OTA, GUID, and other device parameters may be detected step by step (i.e., matched with the corresponding preset device parameters) according to the arrangement sequence in the device parameter set, and after all the device parameters are successfully matched, it may be determined that the device parameter set is successfully detected.
S504, the cota packet is sent to the electronic equipment, and the cota packet is used for installation of the electronic equipment.
It can be seen that, in this embodiment of the application, the cloud device can complete the determination of the customized resource data (namely, the cota package) of the electronic device according to the operator type and the information such as the device model with the device parameter set, and send the cota package to the electronic device, so as to be used for the electronic device to install the cota package, and the online manual operation is not needed, so that the customization of the application function in the electronic device can be automatically realized, thereby being beneficial to saving the labor or financial cost and improving the user experience.
Referring to fig. 6, fig. 6 is a schematic flowchart of a method for installing a cota package according to an embodiment of the present application, consistent with the embodiments shown in fig. 4 and fig. 5.
S601, the electronic equipment sends an information acquisition request to the cloud equipment, wherein the information acquisition request is used for acquiring a cota packet of the cloud equipment, and the information acquisition request carries an equipment parameter set corresponding to the SIM card.
S602, receiving an information acquisition request sent by electronic equipment by cloud equipment, wherein the information acquisition request carries an equipment parameter set corresponding to an SIM card in the electronic equipment.
S603, the cloud device obtains the operator type corresponding to the SIM card.
S604, the cloud device determines a cota packet corresponding to the device parameter set according to the device parameter set and the operator type.
S605, the cloud device sends the cota packet to the electronic device, and the cota packet is used for installation of the electronic device.
S606, the electronic equipment receives the cota packet sent by the cloud equipment and installs the cota packet.
The detailed description of step S601 and step S606 may refer to corresponding steps from step S401 to step S402 of the information sending method described in fig. 4, and is not repeated herein.
The above steps S602 to S605 specifically describe the corresponding steps of step S501 to step S504 of the information sending method described with reference to fig. 5, and are not described again here.
It can be seen that, in this embodiment of the application, the cloud device can complete the determination of the customized resource data (namely, the cota package) of the electronic device based on the operator type and the device model and other information in the device parameter set, and send the cota package to the electronic device, so as to be used for the electronic device to install the cota package, and the online manual operation is not needed, so that the customization of the application function in the electronic device can be automatically realized, thereby being beneficial to saving the manpower or financial cost, and being beneficial to improving the user experience.
Referring to fig. 7 in accordance with the embodiment shown in fig. 4, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps:
sending an information acquisition request to cloud equipment, wherein the information acquisition request is used for acquiring a cota packet of the cloud equipment, and the information acquisition request carries an equipment parameter set corresponding to an SIM card;
and receiving the cota packet sent by the cloud equipment, and installing the cota packet.
It can be seen that, in the electronic device described in the embodiment of the present application, an information acquisition request is sent to a cloud device, where the information acquisition request is used to acquire a cota packet of the cloud device, and the information acquisition request carries a device parameter set corresponding to an SIM card; and receiving the cota packet sent by the cloud equipment, and installing the cota packet. Therefore, the customized installation package (cota package) can be automatically downloaded and installed, and the user experience is improved.
In one possible example, after said installing said cota package, the program further comprises instructions for:
sending an information updating request to the cloud device every other preset period, wherein the information updating request is used for acquiring a target cota packet from the cloud device;
comparing the target version number corresponding to the target with the version number corresponding to the cota packet;
if the target version number corresponding to the target cota packet is consistent with the version number corresponding to the cota packet, not updating the cota packet;
and if the target version number corresponding to the target cota packet is not consistent with the version number corresponding to the cota packet, or if the target version number corresponding to the target cota packet is greater than the version number corresponding to the cota packet, updating the cota packet into the target cota packet.
Referring to fig. 8, in accordance with the embodiment shown in fig. 5, fig. 8 is a schematic structural diagram of a cloud device provided in an embodiment of the present application, and as shown, the cloud device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for:
receiving an information acquisition request sent by electronic equipment, wherein the information acquisition request carries an equipment parameter set corresponding to an SIM card in the electronic equipment;
acquiring an operator type corresponding to the SIM card;
determining a cota packet corresponding to the equipment parameter set according to the equipment parameter set and the operator type;
and sending the cota packet to the electronic equipment, wherein the cota packet is used for installing the electronic equipment.
It can be seen that the electronic device described in the embodiment of the present application may receive an information acquisition request sent by the electronic device, where the information acquisition request carries a device parameter set corresponding to a SIM card in the electronic device; acquiring an operator type corresponding to the SIM card; determining a cota packet corresponding to the equipment parameter set according to the equipment parameter set and the operator type; and sending the cota packet to the electronic equipment, wherein the cota packet is used for installing the electronic equipment. So, the high in the clouds equipment can be based on information such as the equipment model that operator type and equipment parameter are concentrated, accomplish the affirmation to this electronic equipment's customization resource data (the cota package promptly), and send this cota package in electronic equipment, in order to be used for this cota package of electronic equipment installation, need not off-line manual operation, can realize the customization to application function in the electronic equipment automatically, be favorable to using manpower sparingly or financial cost, be favorable to improving user experience.
In one possible example, in the determining the cota packet corresponding to the device parameter set according to the device parameter set and the operator type, the program further includes instructions for performing the following steps:
determining a detection strategy corresponding to the equipment parameter set according to the operator type;
detecting each equipment parameter in the equipment parameter set according to the detection strategy;
and when the equipment parameter set is successfully detected, acquiring the customized resource data matched with the operator type, and generating the cota packet according to the customized resource data.
In a possible example, if the operator type is an orange type, in the aspect of detecting each device parameter in the device parameter set according to the detection policy, the program further includes instructions for performing the following steps:
acquiring a pre-stored preset equipment parameter set corresponding to the operator type;
matching each preset device parameter in the preset device parameter set with each device parameter in the device parameter set;
if any one of the device parameters in the device parameter set fails to be matched with the corresponding preset device parameter, determining that the detection of the device parameter set fails or restarting to match the device parameter set;
and if each equipment parameter in the equipment parameter set is successfully matched with the corresponding preset equipment parameter, determining that the equipment parameter set is successfully detected.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each function module by corresponding functions, fig. 9 shows a schematic diagram of a theta packet installation apparatus, and as shown in fig. 9, the theta packet installation apparatus 900 is applied to an electronic device, and the theta packet installation apparatus 900 may include: a transmitting unit 901 and a mounting unit 902, wherein,
among other things, the sending unit 901 may be used to support the electronic device to perform step S401 described above, and/or other processes for the techniques described herein.
The mounting unit 902 may be used to support the electronic device in performing step S402 described above, and/or other processes for the techniques described herein.
As can be seen, the cota packet installation apparatus provided in the embodiment of the present application sends an information acquisition request to a cloud device, where the information acquisition request is used to acquire a cota packet of the cloud device, and the information acquisition request carries a device parameter set corresponding to an SIM card; and receiving the cota packet sent by the cloud equipment, and installing the cota packet. Therefore, the customized installation package (cota package) can be automatically downloaded and installed, and the user experience is improved.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The electronic device provided by the embodiment is used for executing the above-mentioned cota package installation method, so that the same effect as that of the above-mentioned implementation method can be achieved.
In case an integrated unit is employed, the electronic device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage actions of the electronic device, and for example, may be configured to support the electronic device to execute the steps executed by the sending unit 901 and the installing unit 902. The memory module may be used to support the electronic device in executing stored program codes and data, etc. The communication module can be used for supporting the communication between the electronic equipment and other equipment.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 1.
In the case of adopting corresponding functions to divide the function modules, fig. 10 shows a schematic diagram of a cota package installation apparatus, as shown in fig. 10, the cota package installation apparatus 1000 is applied to a cloud device, and the cota package installation apparatus 1000 may include: a receiving unit 1001, an obtaining unit 1002, a determining unit 1003, and a transmitting unit 1004, wherein,
among other things, the receiving unit 1001 may be used to support the electronic device to perform the above-described step S501, and/or other processes for the techniques described herein.
The acquisition unit 1002 may be used to support the electronic device to perform step S502 described above, and/or other processes for the techniques described herein.
The determination unit 1003 may be used to support the electronic device to perform step S503 described above, and/or other processes for the techniques described herein.
The transmitting unit 1004 may be used to support the electronic device in performing step S504 described above, and/or other processes for the techniques described herein.
Therefore, the cota package installation device provided in the embodiment of the present application may receive an information acquisition request sent by an electronic device, where the information acquisition request carries a device parameter set corresponding to an SIM card in the electronic device; acquiring an operator type corresponding to the SIM card; determining a cota packet corresponding to the equipment parameter set according to the equipment parameter set and the operator type; and sending the cota packet to the electronic equipment, wherein the cota packet is used for installing the electronic equipment. So, the high in the clouds equipment can be based on information such as the equipment model that operator type and equipment parameter are concentrated, accomplish the affirmation to this electronic equipment's customization resource data (the cota package promptly), and send this cota package in electronic equipment, in order to be used for this cota package of electronic equipment installation, need not off-line manual operation, can realize the customization to application function in the electronic equipment automatically, be favorable to using manpower sparingly or financial cost, be favorable to improving user experience.
In a possible example, in the aspect of determining the cota packet corresponding to the device parameter set according to the device parameter set and the operator type, the determining unit 1003 is specifically configured to:
determining a detection strategy corresponding to the equipment parameter set according to the operator type;
detecting each equipment parameter in the equipment parameter set according to the detection strategy;
and when the equipment parameter set is successfully detected, acquiring the customized resource data matched with the operator type, and generating the cota packet according to the customized resource data.
In a possible example, if the operator type is an orange type, in terms of detecting each device parameter in the device parameter set according to the detection policy, the determining unit 1003 is further configured to:
acquiring a pre-stored preset equipment parameter set corresponding to the operator type;
matching each preset device parameter in the preset device parameter set with each device parameter in the device parameter set;
if any one of the device parameters in the device parameter set fails to be matched with the corresponding preset device parameter, determining that the detection of the device parameter set fails or restarting to match the device parameter set;
and if each equipment parameter in the equipment parameter set is successfully matched with the corresponding preset equipment parameter, determining that the equipment parameter set is successfully detected.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The cloud device provided by the embodiment is used for executing the above-mentioned cota package installation method, so that the same effect as that of the above-mentioned implementation method can be achieved.
In the case of an integrated unit, the cloud device may include a processing module, a storage module, and a communication module. The processing module may be configured to control and manage actions of the cloud device, and for example, may be configured to support the cloud device to perform steps executed by the receiving unit 1001, the obtaining unit 1002, the determining unit 1003, and the sending unit 1004. The storage module may be configured to support the cloud device to execute the stored program codes and data. The communication module can be used for supporting communication between the cloud device and other devices.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module can be specifically a radio frequency circuit, a bluetooth chip, a Wi-Fi chip and other devices interacting with the cloud end device.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device or a cloud device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A cota package installation method is applied to electronic equipment and is characterized by comprising the following steps:
sending an information acquisition request to cloud equipment, wherein the information acquisition request is used for acquiring a cota packet of the cloud equipment, and the information acquisition request carries an equipment parameter set corresponding to an SIM card;
and receiving the cota packet sent by the cloud equipment, and installing the cota packet.
2. The method of claim 1, wherein after said installing said cota package, said method further comprises:
sending an information updating request to the cloud device every other preset period, wherein the information updating request is used for acquiring a target cota packet from the cloud device;
comparing the target version number corresponding to the target with the version number corresponding to the cota packet;
if the target version number corresponding to the target cota packet is consistent with the version number corresponding to the cota packet, not updating the cota packet;
and if the target version number corresponding to the target cota packet is not consistent with the version number corresponding to the cota packet, or if the target version number corresponding to the target cota packet is greater than the version number corresponding to the cota packet, updating the cota packet into the target cota packet.
3. The method of claim 1, wherein the set of device parameters includes at least two of: MCC, MNC, SPN, GID, IMSI, OTA, and GUID.
4. A cota package installation method is applied to cloud equipment and is characterized by comprising the following steps:
receiving an information acquisition request sent by electronic equipment, wherein the information acquisition request carries an equipment parameter set corresponding to an SIM card in the electronic equipment;
acquiring an operator type corresponding to the SIM card;
determining a cota packet corresponding to the equipment parameter set according to the equipment parameter set and the operator type;
and sending the cota packet to the electronic equipment, wherein the cota packet is used for installing the electronic equipment.
5. The method of claim 4, wherein determining the cota packet corresponding to the device parameter set according to the device parameter set and the operator type comprises:
determining a detection strategy corresponding to the equipment parameter set according to the operator type;
detecting each equipment parameter in the equipment parameter set according to the detection strategy;
and when the equipment parameter set is successfully detected, acquiring the customized resource data matched with the operator type, and generating the cota packet according to the customized resource data.
6. The method of claim 5, wherein if the operator type is an orange type, the detecting each device parameter in the device parameter set according to the detection policy comprises:
acquiring a pre-stored preset equipment parameter set corresponding to the operator type;
matching each preset device parameter in the preset device parameter set with each device parameter in the device parameter set;
if any one of the device parameters in the device parameter set fails to be matched with the corresponding preset device parameter, determining that the detection of the device parameter set fails or restarting to match the device parameter set;
and if each equipment parameter in the equipment parameter set is successfully matched with the corresponding preset equipment parameter, determining that the equipment parameter set is successfully detected.
7. A cota package installation device applied to an electronic device, the device comprising: a transmitting unit and a mounting unit, wherein,
the sending unit is used for sending an information acquisition request to cloud equipment, wherein the information acquisition request is used for acquiring a cota packet of the cloud equipment, and the information acquisition request carries an equipment parameter set corresponding to an SIM card;
the installation unit is used for receiving the cota packet sent by the cloud equipment and installing the cota packet.
8. The utility model provides a cota package installation device, is applied to high in the clouds equipment, a serial communication port, the device includes: a receiving unit, an obtaining unit, a determining unit and a sending unit, wherein,
the receiving unit is used for receiving an information acquisition request sent by electronic equipment, wherein the information acquisition request carries an equipment parameter set corresponding to an SIM card in the electronic equipment;
the obtaining unit is used for obtaining the operator type corresponding to the SIM card;
the determining unit is configured to determine a cota packet corresponding to the device parameter set according to the device parameter set and the operator type;
the sending unit is used for sending the cota packet to the electronic equipment, and the cota packet is used for installing the electronic equipment.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-3 or 4-6.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of claims 1-3 or claims 4-6.
CN202110116552.9A 2021-01-27 2021-01-27 Cota package installation method and related device Pending CN112817610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110116552.9A CN112817610A (en) 2021-01-27 2021-01-27 Cota package installation method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110116552.9A CN112817610A (en) 2021-01-27 2021-01-27 Cota package installation method and related device

Publications (1)

Publication Number Publication Date
CN112817610A true CN112817610A (en) 2021-05-18

Family

ID=75859778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110116552.9A Pending CN112817610A (en) 2021-01-27 2021-01-27 Cota package installation method and related device

Country Status (1)

Country Link
CN (1) CN112817610A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986412A (en) * 2021-09-18 2022-01-28 江西小辣椒通讯技术有限责任公司 Method, system and storage medium for dynamically configuring desktop layout
CN114996162A (en) * 2022-07-15 2022-09-02 荣耀终端有限公司 Test method and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070294385A1 (en) * 2006-06-08 2007-12-20 Vivek Kapadekar Device management in a network
US20090300596A1 (en) * 2008-05-29 2009-12-03 Research In Motion Limited Method and system for performing a software upgrade on an electronic device connected to a computer
CN105898772A (en) * 2015-12-14 2016-08-24 乐视移动智能信息技术(北京)有限公司 Air-upgrade method for communication configuration of mobile terminal and mobile terminal
CN107168731A (en) * 2017-04-20 2017-09-15 北京小米移动软件有限公司 system update control method and device
CN107277271A (en) * 2017-07-20 2017-10-20 青岛海信移动通信技术股份有限公司 Upgrade method and device based on customization software version in mobile terminal
CN112000346A (en) * 2020-07-22 2020-11-27 西安广和通无线软件有限公司 File upgrading method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070294385A1 (en) * 2006-06-08 2007-12-20 Vivek Kapadekar Device management in a network
US20090300596A1 (en) * 2008-05-29 2009-12-03 Research In Motion Limited Method and system for performing a software upgrade on an electronic device connected to a computer
CN105898772A (en) * 2015-12-14 2016-08-24 乐视移动智能信息技术(北京)有限公司 Air-upgrade method for communication configuration of mobile terminal and mobile terminal
CN107168731A (en) * 2017-04-20 2017-09-15 北京小米移动软件有限公司 system update control method and device
CN107277271A (en) * 2017-07-20 2017-10-20 青岛海信移动通信技术股份有限公司 Upgrade method and device based on customization software version in mobile terminal
CN112000346A (en) * 2020-07-22 2020-11-27 西安广和通无线软件有限公司 File upgrading method and device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986412A (en) * 2021-09-18 2022-01-28 江西小辣椒通讯技术有限责任公司 Method, system and storage medium for dynamically configuring desktop layout
CN113986412B (en) * 2021-09-18 2023-09-26 江西小辣椒通讯技术有限责任公司 Method, system and storage medium for dynamically configuring desktop layout
CN114996162A (en) * 2022-07-15 2022-09-02 荣耀终端有限公司 Test method and related device

Similar Documents

Publication Publication Date Title
EP3872609B1 (en) Application display method and electronic device
CN112269527B (en) Application interface generation method and related device
CN114556294A (en) Theme switching method and theme switching device
CN113961157B (en) Display interaction system, display method and equipment
CN110780929B (en) Method for calling hardware interface and electronic equipment
CN113254409A (en) File sharing method, system and related equipment
US20240095000A1 (en) Plug-In Installation Method, Apparatus, and Storage Medium
CN112817610A (en) Cota package installation method and related device
CN112817634B (en) COTA package downloading method and device
CN115333941A (en) Method for acquiring application running condition and related equipment
EP4163782A1 (en) Cross-device desktop management method, first electronic device, and second electronic device
CN113784331B (en) Method and device for updating system data of user identity module card
CN113467821A (en) Application program repairing method, device, equipment and readable storage medium
CN113590346A (en) Method and electronic equipment for processing service request
CN114816463A (en) Upgrade prompting method, terminal device and computer readable storage medium
CN113495733A (en) Theme pack installation method and device, electronic equipment and computer readable storage medium
CN117009023B (en) Method for displaying notification information and related device
CN116931802A (en) Control method and central control equipment
CN116560769A (en) Application component sharing method and related equipment
CN117348894A (en) Software upgrading method, terminal equipment and system
CN117170535A (en) Card management method, electronic device, and computer-readable storage medium
CN115857964A (en) Application program installation method and related equipment
CN116560535A (en) Application component management method and related equipment
CN117917632A (en) Display method, electronic equipment and system

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