CN108494866A - Information processing method and server, terminal device - Google Patents
Information processing method and server, terminal device Download PDFInfo
- Publication number
- CN108494866A CN108494866A CN201810276693.5A CN201810276693A CN108494866A CN 108494866 A CN108494866 A CN 108494866A CN 201810276693 A CN201810276693 A CN 201810276693A CN 108494866 A CN108494866 A CN 108494866A
- Authority
- CN
- China
- Prior art keywords
- rom
- terminal device
- identification information
- server
- data packet
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本公开涉及信息技术领域,尤其涉及信息处理方法及服务器、终端设备。The present disclosure relates to the field of information technology, and in particular to an information processing method, a server, and a terminal device.
背景技术Background technique
手机生产商接收到的手机订单中,有的要求手机安装定制的只读内存镜像(英文全称:Read Only Memory image,英文简称:ROM image),通常将ROM image简称为ROM。Among the mobile phone orders received by mobile phone manufacturers, some require that the mobile phone be installed with a customized read-only memory image (English full name: Read Only Memory image, English abbreviation: ROM image), and the ROM image is usually referred to as ROM for short.
例如,来自运营商的手机订单,要求手机安装运营商定制的ROM。为此,手机生厂商需根据运营商的要求推出一个定制ROM,后续还要长期维护这个定制ROM,十分耗费人力。For example, an order for a mobile phone from an operator requires that the mobile phone be installed with a ROM customized by the operator. For this reason, mobile phone manufacturers need to launch a custom ROM according to the requirements of operators, and then maintain this custom ROM for a long time, which is very labor-intensive.
发明内容Contents of the invention
本公开的实施例提供信息处理方法及服务器、终端设备,技术方案如下:Embodiments of the present disclosure provide information processing methods, servers, and terminal devices, and the technical solutions are as follows:
根据本公开实施例的第一方面,提供一种信息处理方法,应用于服务器,所述信息处理方法包括:According to the first aspect of the embodiments of the present disclosure, there is provided an information processing method applied to a server, and the information processing method includes:
与已安装了第一ROM的终端设备建立连接;Establish a connection with the terminal device that has installed the first ROM;
确定所述终端设备所需安装的第二ROM的标识信息,所述第二ROM为根据所述第一ROM所定制的ROM;determining identification information of a second ROM to be installed on the terminal device, where the second ROM is a ROM customized according to the first ROM;
根据所述第二ROM的标识信息,向所述终端设备发送升级数据包,以便于所述终端设备根据所述升级数据包将所述第一ROM升级为所述第二ROM。sending an upgrade data packet to the terminal device according to the identification information of the second ROM, so that the terminal device upgrades the first ROM to the second ROM according to the upgrade data packet.
本公开提供的技术方案,终端设备首先安装第一ROM,第一ROM通常为量产产品所安装的非定制ROM。服务器确定要将终端设备当前所安装ROM升级为哪种定制ROM,然后向终端设备发送从当前所安装ROM升级为定制ROM的升级数据包,终端设备根据升级数据升级为定制ROM。服务器,只需为终端设备提供升级数据,服务器只需为终端设备提供升级数据,而无需单独推出和维护定制ROM,从而大大节约了维护定制产品的人力投入。In the technical solution provided by the present disclosure, the terminal device first installs a first ROM, and the first ROM is usually a non-customized ROM installed in a mass-produced product. The server determines which custom ROM to upgrade the currently installed ROM of the terminal device to, and then sends an upgrade data package from the currently installed ROM to the custom ROM to the terminal device, and the terminal device is upgraded to the custom ROM according to the upgrade data. The server only needs to provide upgrade data for terminal devices, and the server only needs to provide upgrade data for terminal devices, without the need to launch and maintain custom ROMs separately, thus greatly saving the manpower input for maintaining customized products.
在一个实施例中,所述确定所述终端设备所需安装的第二ROM的标识信息,包括:In one embodiment, the determining the identification information of the second ROM to be installed on the terminal device includes:
接收所述终端设备的标识信息;receiving identification information of the terminal device;
根据所述终端设备的标识信息确定所述第二ROM的标识信息。Determine the identification information of the second ROM according to the identification information of the terminal device.
在一个实施例中,所述服务器预存储终端设备的标识信息、第二ROM的标识信息以及升级数据包之间的对应关系;其中,一个终端设备的标识信息对应一个第二ROM的标识信息,一个第二ROM的标识信息对应一个升级数据包;In one embodiment, the server pre-stores the correspondence between the identification information of the terminal device, the identification information of the second ROM, and the upgrade data package; wherein, the identification information of a terminal device corresponds to the identification information of a second ROM, The identification information of a second ROM corresponds to an upgrade data package;
查询所述对应关系,根据所述终端设备的标识信息确定所述终端设备所需安装的第二ROM的标识信息,根据所需安装的第二ROM的标识信息确定需向所述终端设备发送的升级数据包。Querying the corresponding relationship, determining the identification information of the second ROM that needs to be installed on the terminal device according to the identification information of the terminal device, and determining the information that needs to be sent to the terminal device according to the identification information of the second ROM that needs to be installed. Upgrade data pack.
在一个实施例中,所述确定所述终端设备所需安装的第二ROM的标识信息,包括:In one embodiment, the determining the identification information of the second ROM to be installed on the terminal device includes:
接收二维码扫描器发送的所述第二ROM的标识信息,所述第二ROM的标识信息由所述二维码扫描器读取所述终端设备预存储的二维码获得。The identification information of the second ROM sent by the two-dimensional code scanner is received, and the identification information of the second ROM is obtained by the two-dimensional code scanner reading the two-dimensional code pre-stored in the terminal device.
根据本公开实施例的第二方面,提供一种信息处理方法,应用于终端设备,所述终端设备安装了第一ROM,所述信息处理方法包括:According to the second aspect of the embodiments of the present disclosure, an information processing method is provided, which is applied to a terminal device, and the terminal device is installed with a first ROM, and the information processing method includes:
与服务器建立连接;Establish a connection with the server;
接收所述服务器发送的升级数据包,所述升级数据包由所述服务器根据所述终端设备所需安装的第二ROM的标识信息确定,所述第二ROM为根据所述第一ROM所定制的ROM;receiving an upgrade data package sent by the server, the upgrade data package is determined by the server according to the identification information of a second ROM to be installed on the terminal device, and the second ROM is customized according to the first ROM ROM;
根据所述升级数据包将所述第一ROM升级为所述第二ROM。The first ROM is upgraded to the second ROM according to the upgrade data package.
在一个实施例中,所述接收所述服务器发送的升级数据包之前,还包括:In one embodiment, before receiving the upgrade data packet sent by the server, it also includes:
向所述服务器发送所述终端设备的标识信息,以便于所述服务器根据所述终端设备的标识信息确定所述第二ROM的标识信息,并根据所述第二ROM的标识信息向所述终端设备发送升级数据包。sending the identification information of the terminal device to the server, so that the server determines the identification information of the second ROM according to the identification information of the terminal device, and sends the terminal information to the terminal according to the identification information of the second ROM The device sends an upgrade packet.
在一个实施例中,所述接收所述服务器发送的升级数据包之前,还包括:In one embodiment, before receiving the upgrade data packet sent by the server, it also includes:
显示预存储的二维码,以便于二维码扫描器读取所述二维码获得所述第二ROM的标识信息并将所述第二ROM的标识信息发送至所述服务器。displaying the pre-stored two-dimensional code, so that the two-dimensional code scanner reads the two-dimensional code to obtain the identification information of the second ROM and sends the identification information of the second ROM to the server.
根据本公开实施例的第三方面,提供一种服务器,包括:According to a third aspect of an embodiment of the present disclosure, a server is provided, including:
接入模块,用于与已安装了第一ROM的终端设备建立连接;an access module, configured to establish a connection with a terminal device on which the first ROM has been installed;
处理模块,用于确定所述终端设备所需安装的第二ROM的标识信息,所述第二ROM为根据所述第一ROM所定制的ROM;A processing module, configured to determine identification information of a second ROM to be installed on the terminal device, where the second ROM is a ROM customized according to the first ROM;
发送模块,用于根据所述第二ROM的标识信息,向所述终端设备发送升级数据包,以便于所述终端设备根据所述升级数据包将所述第一ROM升级为所述第二ROM。A sending module, configured to send an upgrade data packet to the terminal device according to the identification information of the second ROM, so that the terminal device can upgrade the first ROM to the second ROM according to the upgrade data packet .
在一个实施例中,所述处理模块包括:In one embodiment, the processing module includes:
设备标识子模块,用于接收所述终端设备的标识信息;a device identification submodule, configured to receive identification information of the terminal device;
检索子模块,用于根据所述终端设备的标识信息确定所述第二ROM的标识信息。The retrieval submodule is configured to determine the identification information of the second ROM according to the identification information of the terminal device.
在一个实施例中,所述服务器还包括存储模块,用于预存储终端设备的标识信息、第二ROM的标识信息以及升级数据包之间的对应关系;其中,一个终端设备的标识信息对应一个第二ROM的标识信息,一个第二ROM的标识信息对应一个升级数据包;In one embodiment, the server further includes a storage module for pre-storing the correspondence between the identification information of the terminal device, the identification information of the second ROM, and the upgrade data package; wherein, the identification information of one terminal device corresponds to one The identification information of the second ROM, the identification information of a second ROM corresponds to an upgrade data package;
处理模块包括查询子模块,用于查询所述对应关系,根据所述终端设备的标识信息确定所述终端设备所需安装的第二ROM的标识信息,根据所需安装的第二ROM的标识信息确定需向所述终端设备发送的升级数据包。The processing module includes a query sub-module, configured to query the corresponding relationship, determine the identification information of the second ROM to be installed on the terminal device according to the identification information of the terminal device, and determine the identification information of the second ROM to be installed on the terminal device according to the identification information of the second ROM to be installed. Determine the upgrade data package to be sent to the terminal device.
在一个实施例中,所述处理模块包括:In one embodiment, the processing module includes:
定制标识子模块,用于接收二维码扫描器发送的所述第二ROM的标识信息,所述第二ROM的标识信息由所述二维码扫描器读取所述终端设备预存储的二维码获得。The customized identification sub-module is configured to receive the identification information of the second ROM sent by the two-dimensional code scanner, and the identification information of the second ROM is read by the two-dimensional code scanner from the two-dimensional code pre-stored in the terminal device. Dimensional code is obtained.
根据本公开实施例的第四方面,提供一种终端设备,所述终端设备安装了第一ROM,所述终端设备包括:According to a fourth aspect of the embodiments of the present disclosure, a terminal device is provided, the terminal device is installed with a first ROM, and the terminal device includes:
接入模块,用于与服务器建立连接;an access module, configured to establish a connection with the server;
接收模块,用于接收所述服务器发送的升级数据包,所述升级数据包由所述服务器根据所述终端设备所需安装的第二ROM的标识信息确定,所述第二ROM为根据所述第一ROM所定制的ROM;The receiving module is configured to receive the upgrade data package sent by the server, the upgrade data package is determined by the server according to the identification information of the second ROM that needs to be installed on the terminal device, and the second ROM is based on the ROM customized by the first ROM;
升级模块,用于根据所述升级数据包将所述第一ROM升级为所述第二ROM。An upgrade module, configured to upgrade the first ROM to the second ROM according to the upgrade data package.
在一个实施例中,还包括:In one embodiment, also includes:
发送模块,用于向所述服务器发送所述终端设备的标识信息,以便于所述服务器根据所述终端设备的标识信息确定所述第二ROM的标识信息,并根据所述第二ROM的标识信息向所述终端设备发送升级数据包。A sending module, configured to send the identification information of the terminal device to the server, so that the server determines the identification information of the second ROM according to the identification information of the terminal device, and determines the identification information of the second ROM according to the identification information of the second ROM. The information sends an upgrade data packet to the terminal device.
在一个实施例中,还包括:In one embodiment, also includes:
标识信息模块,用于显示预存储的二维码,以便于二维码扫描器读取所述二维码获得所述第二ROM的标识信息并将所述第二ROM的标识信息发送至所述服务器。An identification information module, configured to display a pre-stored two-dimensional code, so that the two-dimensional code scanner reads the two-dimensional code to obtain the identification information of the second ROM and sends the identification information of the second ROM to the said server.
根据本公开实施例的第五方面,提供一种服务器,包括:According to a fifth aspect of an embodiment of the present disclosure, a server is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
与已安装了第一ROM的终端设备建立连接;Establish a connection with the terminal device that has installed the first ROM;
确定所述终端设备所需安装的第二ROM的标识信息,所述第二ROM为根据所述第一ROM所定制的ROM;determining identification information of a second ROM to be installed on the terminal device, where the second ROM is a ROM customized according to the first ROM;
根据所述第二ROM的标识信息,向所述终端设备发送升级数据包,以便于所述终端设备根据所述升级数据包将所述第一ROM升级为所述第二ROM。sending an upgrade data packet to the terminal device according to the identification information of the second ROM, so that the terminal device upgrades the first ROM to the second ROM according to the upgrade data packet.
根据本公开实施例的第六方面,提供一种终端设备,包括:According to a sixth aspect of the embodiments of the present disclosure, there is provided a terminal device, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
与服务器建立连接;Establish a connection with the server;
接收所述服务器发送的升级数据包,所述升级数据包由所述服务器根据所述终端设备所需安装的第二ROM的标识信息确定,所述第二ROM为根据所述第一ROM所定制的ROM;receiving an upgrade data package sent by the server, the upgrade data package is determined by the server according to the identification information of a second ROM to be installed on the terminal device, and the second ROM is customized according to the first ROM ROM;
根据所述升级数据包将所述第一ROM升级为所述第二ROM。The first ROM is upgraded to the second ROM according to the upgrade data package.
根据本公开实施例的第七方面,提供一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现第一方面所提供信息处理方法的步骤。According to a seventh aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the information processing method provided in the first aspect are implemented.
根据本公开实施例的第八方面,提供一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现第二方面所提供信息处理方法的步骤。According to an eighth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the information processing method provided in the second aspect are implemented.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的信息处理方法的流程图。Fig. 1 is a flowchart of an information processing method according to an exemplary embodiment.
图2是根据一示例性实施例示出的信息处理方法的流程图。Fig. 2 is a flowchart of an information processing method according to an exemplary embodiment.
图3是根据一示例性实施例示出的信息处理方法的流程图。Fig. 3 is a flowchart of an information processing method according to an exemplary embodiment.
图4是根据一示例性实施例示出的电子设备的框图。Fig. 4 is a block diagram of an electronic device according to an exemplary embodiment.
图5是根据一示例性实施例示出的电子设备的框图。Fig. 5 is a block diagram of an electronic device according to an exemplary embodiment.
图6是根据一示例性实施例示出的电子设备的框图。Fig. 6 is a block diagram of an electronic device according to an exemplary embodiment.
图7是根据一示例性实施例示出的电子设备的框图。Fig. 7 is a block diagram of an electronic device according to an exemplary embodiment.
图8是根据一示例性实施例示出的电子设备的框图。Fig. 8 is a block diagram of an electronic device according to an exemplary embodiment.
图9是根据一示例性实施例示出的电子设备的框图。Fig. 9 is a block diagram of an electronic device according to an exemplary embodiment.
图10是根据一示例性实施例示出的电子设备的框图。Fig. 10 is a block diagram of an electronic device according to an exemplary embodiment.
图11是根据一示例性实施例示出的电子设备的框图。Fig. 11 is a block diagram of an electronic device according to an exemplary embodiment.
图12是根据一示例性实施例示出的电子设备的框图。Fig. 12 is a block diagram of an electronic device according to an exemplary embodiment.
图13是根据一示例性实施例示出的终端设备的框图。Fig. 13 is a block diagram of a terminal device according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的设备和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of devices and methods consistent with aspects of the present disclosure as recited in the appended claims.
手机生产商可能接到要求安装定制ROM的订单,例如来自运营商的手机订单。为每家运营商单独推出和维护定制ROM,十分耗费人力。Mobile phone manufacturers may receive orders to install custom ROMs, such as orders from carriers for mobile phones. Rolling out and maintaining custom ROMs for each carrier individually is labor-intensive.
本公开提供的方案,终端设备首先安装量产ROM,然后服务器向终端设备发送升级数据包,最后终端设备根据升级数据将量产ROM升级为定制ROM,因此服务器侧无需单独推出和维护定制ROM。In the solution provided by this disclosure, the terminal device first installs the mass-produced ROM, then the server sends an upgrade data package to the terminal device, and finally the terminal device upgrades the mass-produced ROM to a custom ROM according to the upgrade data, so the server side does not need to launch and maintain the custom ROM separately.
图1是根据一示例性实施例示出的一种信息处理方法的流程图,包括步骤101-104:Fig. 1 is a flowchart of an information processing method according to an exemplary embodiment, including steps 101-104:
在步骤101中,安装了第一ROM的终端设备与服务器建立连接。In step 101, a terminal device installed with a first ROM establishes a connection with a server.
终端设备可以为手机、平板电脑等需安装ROM的产品。第一ROM可以为量产产品所安装的ROM。The terminal device may be a product such as a mobile phone or a tablet computer that needs to be installed with a ROM. The first ROM may be a ROM installed in a mass-produced product.
终端设备与服务器可通过线缆本地连接,或者可通过互联网远程连接。例如,在产线上,终端设备与服务器可直接通过数据线连接。用户在拿到终端设备后,终端设备可通过互联网与服务器建立连接。Terminal devices and servers can be connected locally through cables, or remotely through the Internet. For example, on the production line, terminal equipment and servers can be directly connected through data lines. After the user gets the terminal device, the terminal device can establish a connection with the server through the Internet.
在步骤102中,服务器确定终端设备所需安装的第二ROM的标识信息。In step 102, the server determines identification information of the second ROM to be installed on the terminal device.
第二ROM为根据第一ROM所定制的ROM。第二ROM的数量可以有一个或以上,通过各自的标识信息区分。The second ROM is a ROM customized according to the first ROM. There may be one or more second ROMs, which are distinguished by their respective identification information.
例如,第二ROM的数量为两个,各自对应的标识信息记作ROM_A和ROM_B。其中,ROM_A为运营商A的定制ROM,ROM_B为运营商B的定制ROM。For example, there are two second ROMs, and the corresponding identification information is denoted as ROM_A and ROM_B. Wherein, ROM_A is a customized ROM of operator A, and ROM_B is a customized ROM of operator B.
以终端设备为运营商A的定制机的情形为例,该终端设备所需安装的第二ROM的标识信息为ROM_A。Taking the case where the terminal device is a customized machine of operator A as an example, the identification information of the second ROM to be installed on the terminal device is ROM_A.
在步骤103中,服务器根据第二ROM的标识信息,向终端设备发送升级数据包。In step 103, the server sends an upgrade data package to the terminal device according to the identification information of the second ROM.
服务器保存升级数据包,升级数据包包括将第一ROM升级为第二ROM所需的数据,包括运营商A定制的应用程序、主题、壁纸、开机动画等。The server saves the upgrade data package, and the upgrade data package includes data required for upgrading the first ROM to the second ROM, including application programs, themes, wallpapers, boot animations, etc. customized by operator A.
在步骤104中,终端设备根据升级数据包将第一ROM升级为第二ROM。In step 104, the terminal device upgrades the first ROM to the second ROM according to the upgrade data package.
在一个实施例中,终端设备通过空中下载(英文全称:Over-The-Air,OTA)从服务器接收升级数据包并完成ROM升级。In one embodiment, the terminal device receives the upgrade data package from the server through Over-The-Air (English full name: Over-The-Air, OTA) and completes the ROM upgrade.
本公开实施例提供的信息处理方法,终端设备首先安装第一ROM,服务器确定要将终端设备当前所安装ROM升级为哪种定制ROM,然后向终端设备发送从当前所安装ROM升级为定制ROM的升级数据包,终端设备根据升级数据升级为定制ROM。服务器只需为终端设备提供升级数据,而无需单独推出和维护定制ROM,从而大大节约了维护定制产品的人力投入。In the information processing method provided by the embodiments of the present disclosure, the terminal device first installs the first ROM, and the server determines which custom ROM to upgrade the currently installed ROM of the terminal device to, and then sends the terminal device an upgrade from the currently installed ROM to the custom ROM. The upgrade data package, the terminal device is upgraded to a customized ROM according to the upgrade data. The server only needs to provide the upgrade data for the terminal equipment, without launching and maintaining the customized ROM separately, thus greatly saving the manpower input for maintaining the customized products.
基于上述图1对应的实施例提供的信息处理方法,图2是根据一示例性实施例示出的一种信息处理方法的流程图,图2对应的实施例中,结合产线上升级定制ROM的应用场景,对本公开提供的信息处理方法进行说明。其中部分步骤中的内容与图1对应的实施例中的步骤相同或类似,以下只对步骤中不同之处做详细说明。参照图2所示,本实施例提供的信息处理方法包括步骤201-206:Based on the information processing method provided by the embodiment corresponding to FIG. 1 above, FIG. 2 is a flowchart of an information processing method according to an exemplary embodiment. In the embodiment corresponding to FIG. The application scenario describes the information processing method provided by the present disclosure. The contents of some of the steps are the same or similar to those in the embodiment corresponding to FIG. 1 , and only the differences among the steps will be described in detail below. Referring to Figure 2, the information processing method provided in this embodiment includes steps 201-206:
在步骤201中,终端设备与服务器建立连接。In step 201, a terminal device establishes a connection with a server.
在产线生产过程中,终端设备与服务器可通过线缆本地连接。通常,服务器本地存储第一ROM以及升级数据包,第一ROM的安装过程,升级为第二ROM的过程均可在产线完成。During the production process of the production line, terminal devices and servers can be connected locally through cables. Usually, the server locally stores the first ROM and the upgrade data package, and the process of installing the first ROM and upgrading to the second ROM can be completed on the production line.
在步骤202中,终端设备安装第一ROM。In step 202, the terminal device installs the first ROM.
在步骤203中,终端设备显示第二ROM的标识信息。In step 203, the terminal device displays the identification information of the second ROM.
在一个实施例中,终端设备启动,开机引导界面显示完成后显示预存储的二维码。或者,终端设备启动后,当向终端设备输入预设的暗码时终端设备显示该二维码。In one embodiment, the terminal device is started, and the pre-stored two-dimensional code is displayed after the boot guide interface is displayed. Alternatively, after the terminal device is started, the terminal device displays the two-dimensional code when a preset password is input into the terminal device.
二维码信息包括第二ROM的标识信息。例如,第二ROM的数量为2,分别为运营商A的定制ROM和运营商B的定制ROM。The two-dimensional code information includes identification information of the second ROM. For example, the number of second ROMs is 2, which are the customized ROM of operator A and the customized ROM of operator B respectively.
将运营商A的定制ROM的标识信息记作ROM_A,运营商B的定制ROM的标识信息记作ROM_B。二维码包括的标识信息可以为ROM_A和ROM_B其中任一。The identification information of the customized ROM of operator A is denoted as ROM_A, and the identification information of the customized ROM of operator B is denoted as ROM_B. The identification information included in the two-dimensional code can be either ROM_A or ROM_B.
在步骤204中,服务器接收二维码扫描器发送的第二ROM的标识信息。In step 204, the server receives the identification information of the second ROM sent by the two-dimensional code scanner.
终端设备输出二维码后,二维码扫描器读取二维码获得第二ROM的标识信息,并将第二ROM的标识信息发送至服务器。After the terminal device outputs the two-dimensional code, the two-dimensional code scanner reads the two-dimensional code to obtain the identification information of the second ROM, and sends the identification information of the second ROM to the server.
在步骤205中,服务器根据第二ROM的标识信息,向终端设备发送升级数据包。In step 205, the server sends an upgrade data package to the terminal device according to the identification information of the second ROM.
服务器预存储一个或以上升级数据包。例如,升级数据包的数量为2,一个用于将第一ROM升级为运营商A的定制ROM,记作数据包A,另一个用于将第一ROM升级为运营商B的定制ROM,记作数据包B。The server pre-stores one or more upgrade data packages. For example, the number of upgrade data packages is 2, one is used to upgrade the first ROM to the customized ROM of operator A, denoted as data package A, and the other is used to upgrade the first ROM to the customized ROM of operator B, denoted as Make packet B.
当服务器接收到第二ROM的标识信息为ROM_A时,向终端设备发送数据包A。When the server receives that the identification information of the second ROM is ROM_A, it sends the data packet A to the terminal device.
在步骤206中,终端设备根据升级数据包将第一ROM升级为第二ROM。In step 206, the terminal device upgrades the first ROM to the second ROM according to the upgrade data package.
终端设备接收到数据包A,将第一ROM升级为运营商A的定制ROM。The terminal device receives the data packet A, and upgrades the first ROM to the customized ROM of operator A.
本公开实施例提供的信息处理方法,终端设备首先安装第一ROM,服务器确定要将终端设备当前所安装ROM升级为哪种定制ROM,然后向终端设备发送从当前所安装ROM升级为定制ROM的升级数据包,终端设备根据升级数据升级为定制ROM。服务器只需为终端设备提供升级数据,而无需单独推出和维护定制ROM,从而大大节约了维护定制产品的人力投入。In the information processing method provided by the embodiments of the present disclosure, the terminal device first installs the first ROM, and the server determines which custom ROM to upgrade the currently installed ROM of the terminal device to, and then sends the terminal device an upgrade from the currently installed ROM to the custom ROM. The upgrade data package, the terminal device is upgraded to a customized ROM according to the upgrade data. The server only needs to provide the upgrade data for the terminal equipment, without launching and maintaining the customized ROM separately, thus greatly saving the manpower input for maintaining the customized products.
基于上述图1对应的实施例提供的信息处理方法,图3是根据一示例性实施例示出的一种信息处理方法的流程图,图3对应的实施例中,结合终端用户升级定制ROM的应用场景,对本公开提供的信息处理方法进行说明。其中部分步骤中的内容与图1对应的实施例中的步骤相同或类似,以下只对步骤中不同之处做详细说明。参照图3所示,本实施例提供的信息处理方法包括步骤301-305:Based on the information processing method provided by the embodiment corresponding to FIG. 1 above, FIG. 3 is a flow chart of an information processing method according to an exemplary embodiment. In the embodiment corresponding to FIG. The scene describes the information processing method provided by the present disclosure. The contents of some of the steps are the same or similar to those in the embodiment corresponding to FIG. 1 , and only the differences among the steps will be described in detail below. Referring to Figure 3, the information processing method provided by this embodiment includes steps 301-305:
在步骤301中,出厂后的终端设备与服务器建立连接。In step 301, a terminal device after leaving the factory establishes a connection with a server.
终端设备出厂时安装了第一ROM。当终端设备与服务器建立连接时,可将第一ROM升级为第二ROM。The first ROM is installed on the terminal device when it leaves the factory. When the terminal device establishes a connection with the server, the first ROM can be upgraded to the second ROM.
在步骤302中,终端设备向服务器发送终端设备的标识信息。In step 302, the terminal device sends identification information of the terminal device to the server.
在一个实施例中,终端设备的标识信息为终端设备的国际移动设备身份码(英文全称:International Mobile Equipment Identity,英文简称:IMEI)。In one embodiment, the identification information of the terminal device is an International Mobile Equipment Identity (English full name: International Mobile Equipment Identity, English abbreviation: IMEI) of the terminal device.
在步骤303中,服务器根据终端设备的标识信息确定第二ROM的标识信息。In step 303, the server determines the identification information of the second ROM according to the identification information of the terminal device.
在一个实施例中,服务器预存储终端设备的标识信息、第二ROM的标识信息以及升级数据包之间的对应关系。其中,一个终端设备的标识信息对应一个第二ROM的标识信息,一个第二ROM的标识信息对应一个升级数据包。服务器接收到终端设备的标识信息后,查询对应关系,根据终端设备的标识信息确定终端设备所需安装的第二ROM的标识信息,根据所需安装的第二ROM的标识信息确定需向终端设备发送的升级数据包。In an embodiment, the server pre-stores the correspondence between the identification information of the terminal device, the identification information of the second ROM, and the upgrade data package. Wherein, the identification information of a terminal device corresponds to the identification information of a second ROM, and the identification information of a second ROM corresponds to an upgrade data package. After receiving the identification information of the terminal device, the server queries the corresponding relationship, determines the identification information of the second ROM to be installed on the terminal device according to the identification information of the terminal device, and determines the identification information of the second ROM to be installed on the terminal device according to the identification information of the second ROM to be installed. The upgrade packet sent.
例如,服务器预存储一个定制机列表,定制机列表如表1所示。IMEI栏包括若干终端设备的IMEI,每个IMEI均对应一个ROM的标识信息,一个ROM的信息标识对应一个升级数据包。其中,一个ROM的标识信息可对应多个终端设备的IMEI,ROM的标识信息与升级数据包一一对应。For example, the server pre-stores a customized machine list, and the customized machine list is shown in Table 1. The IMEI column includes IMEIs of several terminal devices, each IMEI corresponds to identification information of a ROM, and an information identification of a ROM corresponds to an upgrade data package. Wherein, the identification information of a ROM may correspond to the IMEIs of multiple terminal devices, and the identification information of the ROM corresponds to the upgrade data package one by one.
表1Table 1
当终端设备的标识信息为IMEI_1时,确定IMEI_1对应的第二ROM的标识信息为ROM_A。When the identification information of the terminal device is IMEI_1, it is determined that the identification information of the second ROM corresponding to IMEI_1 is ROM_A.
在步骤304中,服务器根据第二ROM的标识信息向终端设备发送升级数据包。In step 304, the server sends an upgrade data packet to the terminal device according to the identification information of the second ROM.
参照表1,服务器确定第二ROM的标识信息为ROM_A时,向终端设备发送数据包A。Referring to Table 1, when the server determines that the identification information of the second ROM is ROM_A, it sends data packet A to the terminal device.
在步骤305中,终端设备根据升级数据包将第一ROM升级为第二ROM。In step 305, the terminal device upgrades the first ROM to the second ROM according to the upgrade data package.
终端设备接收到数据包A,将第一ROM升级为运营商A的定制ROM。The terminal device receives the data packet A, and upgrades the first ROM to the customized ROM of operator A.
本公开实施例提供的信息处理方法,终端设备首先安装第一ROM,服务器确定要将终端设备当前所安装ROM升级为哪种定制ROM,然后向终端设备发送从当前所安装ROM升级为定制ROM的升级数据包,终端设备根据升级数据升级为定制ROM。服务器只需为终端设备提供升级数据,而无需单独推出和维护定制ROM,从而大大节约了维护定制产品的人力投入。In the information processing method provided by the embodiments of the present disclosure, the terminal device first installs the first ROM, and the server determines which custom ROM to upgrade the currently installed ROM of the terminal device to, and then sends the terminal device an upgrade from the currently installed ROM to the custom ROM. The upgrade data package, the terminal device is upgraded to a customized ROM according to the upgrade data. The server only needs to provide the upgrade data for the terminal equipment, without launching and maintaining the customized ROM separately, thus greatly saving the manpower input for maintaining the customized products.
下述为本公开设备实施例,可以用于执行本公开方法实施例。The following are device embodiments of the present disclosure, which can be used to implement the method embodiments of the present disclosure.
图4是根据一示例性实施例示出的一种电子设备的框图,该设备可以通过软件、硬件或者两者的结合实现其部分或者全部功能,用于执行图1-图3对应的实施例中服务器所执行的步骤。电子设备包括:Fig. 4 is a block diagram of an electronic device according to an exemplary embodiment. The device can implement part or all of its functions through software, hardware or a combination of the two, and is used to implement the embodiments corresponding to Fig. 1-Fig. 3 The steps performed by the server. Electronic equipment includes:
接入模块401,用于与已安装了第一ROM的终端设备建立连接。The access module 401 is configured to establish a connection with a terminal device installed with the first ROM.
处理模块402,用于确定终端设备所需安装的第二ROM的标识信息,第二ROM为根据第一ROM所定制的ROM。The processing module 402 is configured to determine identification information of a second ROM to be installed on the terminal device, where the second ROM is a ROM customized according to the first ROM.
发送模块403,用于根据第二ROM的标识信息,向终端设备发送升级数据包,以便于终端设备根据升级数据包将第一ROM升级为第二ROM。The sending module 403 is configured to send an upgrade data package to the terminal device according to the identification information of the second ROM, so that the terminal device can upgrade the first ROM to the second ROM according to the upgrade data package.
如图5所示,在一个实施例中,处理模块402包括:As shown in Figure 5, in one embodiment, the processing module 402 includes:
设备标识子模块4021,用于接收终端设备的标识信息。The device identification submodule 4021 is configured to receive identification information of the terminal device.
检索子模块4022,用于根据终端设备的标识信息确定第二ROM的标识信息。The retrieval submodule 4022 is configured to determine the identification information of the second ROM according to the identification information of the terminal device.
如图6所示,在一个实施例中,服务器还包括:As shown in Figure 6, in one embodiment, the server also includes:
存储模块404,用于预存储终端设备的标识信息、第二ROM的标识信息以及升级数据包之间的对应关系。其中,一个终端设备的标识信息对应一个第二ROM的标识信息,一个第二ROM的标识信息对应一个升级数据包。The storage module 404 is configured to pre-store the correspondence between the identification information of the terminal device, the identification information of the second ROM, and the upgrade data package. Wherein, the identification information of a terminal device corresponds to the identification information of a second ROM, and the identification information of a second ROM corresponds to an upgrade data package.
处理模块402包括查询子模块4023,用于查询对应关系,根据终端设备的标识信息确定终端设备所需安装的第二ROM的标识信息,根据所需安装的第二ROM的标识信息确定需向终端设备发送的升级数据包。The processing module 402 includes a query sub-module 4023, which is used to query the corresponding relationship, determine the identification information of the second ROM that needs to be installed on the terminal device according to the identification information of the terminal device, and determine the terminal that needs to be installed according to the identification information of the second ROM that needs to be installed. The upgrade data package sent by the device.
如图7所示,在一个实施例中,处理模块402包括:As shown in Figure 7, in one embodiment, the processing module 402 includes:
定制标识子模块4024,用于接收二维码扫描器发送的第二ROM的标识信息,第二ROM的标识信息由二维码扫描器读取终端设备预存储的二维码获得。The customized identification sub-module 4024 is configured to receive the identification information of the second ROM sent by the two-dimensional code scanner, and the identification information of the second ROM is obtained by reading the two-dimensional code pre-stored in the terminal device by the two-dimensional code scanner.
图8是根据一示例性实施例示出的一种电子设备的框图,该设备可以通过软件、硬件或者两者的结合实现其部分或者全部功能,用于执行图1-图3对应的实施例中终端设备所执行的步骤。终端设备安装了第一ROM,电子设备包括:Fig. 8 is a block diagram of an electronic device according to an exemplary embodiment. The device can implement part or all of its functions through software, hardware or a combination of the two, and is used to implement the embodiments corresponding to Fig. 1-Fig. 3 The steps performed by the end device. The first ROM is installed on the terminal equipment, and the electronic equipment includes:
接入模块801,用于与服务器建立连接。The access module 801 is configured to establish a connection with the server.
接收模块802,用于接收服务器发送的升级数据包,升级数据包由服务器根据终端设备所需安装的第二ROM的标识信息确定,第二ROM为根据第一ROM所定制的ROM。The receiving module 802 is configured to receive the upgrade data package sent by the server. The upgrade data package is determined by the server according to the identification information of the second ROM required to be installed in the terminal device. The second ROM is a ROM customized according to the first ROM.
升级模块803,用于根据升级数据包将第一ROM升级为第二ROM。An upgrade module 803, configured to upgrade the first ROM to the second ROM according to the upgrade data package.
如图9所示,在一个实施例中,还包括:As shown in Figure 9, in one embodiment, also includes:
发送模块804,用于向服务器发送终端设备的标识信息,以便于服务器根据终端设备的标识信息确定第二ROM的标识信息,并根据第二ROM的标识信息向终端设备发送升级数据包。The sending module 804 is configured to send the identification information of the terminal device to the server, so that the server determines the identification information of the second ROM according to the identification information of the terminal device, and sends an upgrade data packet to the terminal device according to the identification information of the second ROM.
如图10所示,在一个实施例中,还包括:As shown in Figure 10, in one embodiment, also includes:
标识信息模块805,用于显示预存储的二维码,以便于二维码扫描器读取二维码获得第二ROM的标识信息并将第二ROM的标识信息发送至服务器。The identification information module 805 is configured to display the pre-stored two-dimensional code, so that the two-dimensional code scanner can read the two-dimensional code to obtain the identification information of the second ROM and send the identification information of the second ROM to the server.
本公开实施例提供的电子设备,用作服务器或终端设备,终端设备首先安装第一ROM,服务器确定要将终端设备当前所安装ROM升级为哪种定制ROM,然后向终端设备发送从当前所安装ROM升级为定制ROM的升级数据包,终端设备根据升级数据升级为定制ROM。服务器只需为终端设备提供升级数据,而无需单独推出和维护定制ROM,从而大大节约了维护定制产品的人力投入。The electronic device provided by the embodiments of the present disclosure is used as a server or a terminal device. The terminal device first installs the first ROM, and the server determines which custom ROM to upgrade the currently installed ROM of the terminal device to, and then sends a ROM from the currently installed ROM to the terminal device. The ROM is upgraded to an upgrade data package of the customized ROM, and the terminal device is upgraded to the customized ROM according to the upgrade data. The server only needs to provide the upgrade data for the terminal equipment, without launching and maintaining the customized ROM separately, thus greatly saving the manpower input for maintaining the customized products.
图11是根据一示例性实施例示出的一种电子设备的框图,该设备可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部,该电子设备用于执行上述图1-图3对应的实施例中服务器所执行的步骤。如图11所示,电子设备110包括:Fig. 11 is a block diagram of an electronic device according to an exemplary embodiment. The device can be implemented as part or all of the electronic device through software, hardware or a combination of the two. The electronic device is used to execute the above-mentioned Fig. 1 - 3 corresponds to the steps performed by the server in the embodiment. As shown in Figure 11, the electronic device 110 includes:
处理器1101。Processor 1101.
用于存储处理器1101可执行指令的存储器1102。A memory 1102 for storing instructions executable by the processor 1101.
其中,处理器1101被配置为:Wherein, the processor 1101 is configured as:
与已安装了第一ROM的终端设备建立连接。A connection is established with the terminal device on which the first ROM has been installed.
确定终端设备所需安装的第二ROM的标识信息,第二ROM为根据第一ROM所定制的ROM。Identification information of a second ROM to be installed on the terminal device is determined, and the second ROM is a ROM customized according to the first ROM.
根据第二ROM的标识信息,向终端设备发送升级数据包,以便于终端设备根据升级数据包将第一ROM升级为第二ROM。An upgrade data packet is sent to the terminal device according to the identification information of the second ROM, so that the terminal device upgrades the first ROM to the second ROM according to the upgrade data packet.
在一个实施例中,上述处理器1101还可被配置为:In one embodiment, the above-mentioned processor 1101 may also be configured to:
接收终端设备的标识信息。Receive the identification information of the terminal device.
根据终端设备的标识信息确定第二ROM的标识信息。Determine the identification information of the second ROM according to the identification information of the terminal device.
在一个实施例中,上述处理器1101还可被配置为:In one embodiment, the above-mentioned processor 1101 may also be configured to:
接收二维码扫描器发送的第二ROM的标识信息,第二ROM的标识信息由二维码扫描器读取终端设备预存储的二维码获得。The identification information of the second ROM sent by the two-dimensional code scanner is received, and the identification information of the second ROM is obtained by reading the two-dimensional code pre-stored in the terminal device by the two-dimensional code scanner.
图12是根据一示例性实施例示出的一种电子设备的框图,该设备可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部,该电子设备用于执行上述图1-图3对应的实施例中终端设备所执行的步骤,电子设备安装了第一ROM。如图12所示,电子设备120包括:Fig. 12 is a block diagram of an electronic device according to an exemplary embodiment. The device can be implemented as part or all of the electronic device through software, hardware or a combination of the two, and the electronic device is used to execute the above-mentioned Fig. 1 - 3 corresponds to the steps performed by the terminal device in the embodiment, the electronic device is installed with the first ROM. As shown in Figure 12, the electronic device 120 includes:
处理器1201。Processor 1201.
用于存储处理器1201可执行指令的存储器1202。A memory 1202 for storing instructions executable by the processor 1201.
其中,处理器1201被配置为:Wherein, the processor 1201 is configured as:
与服务器建立连接。Establish a connection with the server.
接收服务器发送的升级数据包,升级数据包由服务器根据终端设备所需安装的第二ROM的标识信息确定,第二ROM为根据第一ROM所定制的ROM。The upgrade data package sent by the server is received, and the upgrade data package is determined by the server according to the identification information of the second ROM to be installed in the terminal device, and the second ROM is a ROM customized according to the first ROM.
根据升级数据包将第一ROM升级为第二ROM。The first ROM is upgraded to the second ROM according to the upgrade data package.
在一个实施例中,上述处理器1201还可被配置为:In one embodiment, the above-mentioned processor 1201 may also be configured to:
向服务器发送终端设备的标识信息,以便于服务器根据终端设备的标识信息确定第二ROM的标识信息,并根据第二ROM的标识信息向终端设备发送升级数据包。Sending the identification information of the terminal device to the server, so that the server determines the identification information of the second ROM according to the identification information of the terminal device, and sends an upgrade data packet to the terminal device according to the identification information of the second ROM.
在一个实施例中,上述处理器1201还可被配置为:In one embodiment, the above-mentioned processor 1201 may also be configured to:
显示预存储的二维码,以便于二维码扫描器读取二维码获得第二ROM的标识信息并将第二ROM的标识信息发送至服务器。The pre-stored two-dimensional code is displayed, so that the two-dimensional code scanner reads the two-dimensional code to obtain the identification information of the second ROM and sends the identification information of the second ROM to the server.
本公开实施例提供的电子设备,用作服务器或终端设备,终端设备首先安装第一ROM,服务器确定要将终端设备当前所安装ROM升级为哪种定制ROM,然后向终端设备发送从当前所安装ROM升级为定制ROM的升级数据包,终端设备根据升级数据升级为定制ROM。服务器只需为终端设备提供升级数据,而无需单独推出和维护定制ROM,从而大大节约了维护定制产品的人力投入。The electronic device provided by the embodiments of the present disclosure is used as a server or a terminal device. The terminal device first installs the first ROM, and the server determines which custom ROM to upgrade the currently installed ROM of the terminal device to, and then sends a ROM from the currently installed ROM to the terminal device. The ROM is upgraded to an upgrade data package of the customized ROM, and the terminal device is upgraded to the customized ROM according to the upgrade data. The server only needs to provide the upgrade data for the terminal equipment, without launching and maintaining the customized ROM separately, thus greatly saving the manpower input for maintaining the customized products.
本公开实施例提供的电子设备可以是一个如图13所示的终端设备,图13是根据一示例性实施例示出的一种终端设备的框图,该终端设备130可以是智能手机、平板电脑等,该终端设备130用于执行上述图1-图3对应的实施例中所描述的信息处理方法。The electronic device provided by the embodiment of the present disclosure may be a terminal device as shown in FIG. 13 . FIG. 13 is a block diagram of a terminal device according to an exemplary embodiment. The terminal device 130 may be a smart phone, a tablet computer, etc. , the terminal device 130 is configured to execute the information processing method described in the above embodiment corresponding to FIG. 1 to FIG. 3 .
终端设备130可以包括以下一个或多个组件:处理组件1301,存储器1302,电源组件1303,多媒体组件1304,音频组件1305,输入/输出(I/O)的接口1306,传感器组件1307,以及通信组件1308。The terminal device 130 may include one or more of the following components: a processing component 1301, a memory 1302, a power supply component 1303, a multimedia component 1304, an audio component 1305, an input/output (I/O) interface 1306, a sensor component 1307, and a communication component 1308.
处理组件1301通常控制终端设备130的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1301可以包括一个或多个处理器13011来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1301可以包括一个或多个模块,便于处理组件1301和其他组件之间的交互。例如,处理组件1301可以包括多媒体模块,以方便多媒体组件1304和处理组件1301之间的交互。The processing component 1301 generally controls the overall operations of the terminal device 130, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 1301 may include one or more processors 13011 to execute instructions, so as to complete all or part of the steps of the above method. Additionally, processing component 1301 may include one or more modules to facilitate interaction between processing component 1301 and other components. For example, the processing component 1301 may include a multimedia module to facilitate interaction between the multimedia component 1304 and the processing component 1301 .
存储器1302被配置为存储各种类型的数据以支持在终端设备130的操作。这些数据的示例包括用于在终端设备130上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1302可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(英文全称:Static Random Access Memory,英文简称:SRAM),电可擦除可编程只读存储器(英文全称:Electrically ErasableProgrammable Read Only Memory,英文简称:EEPROM),可擦除可编程只读存储器(英文全称:Erasable Programmable Read Only Memory,英文简称:EPROM),可编程只读存储器(英文全称:Programmable Read Only Memory,英文简称:PROM),只读存储器(英文全称:ReadOnly Memory,英文简称:ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1302 is configured to store various types of data to support operations at the terminal device 130 . Examples of such data include instructions for any application or method operating on the terminal device 130, contact data, phonebook data, messages, pictures, videos, etc. The memory 1302 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (full name in English: Static Random Access Memory, English abbreviation: SRAM), electrically erasable and programmable Read-only memory (full English name: Electrically Erasable Programmable Read Only Memory, English abbreviation: EEPROM), erasable programmable read-only memory (English full name: Erasable Programmable Read Only Memory, English abbreviation: EPROM), programmable read-only memory (English abbreviation: EPROM) Full name: Programmable Read Only Memory, English abbreviation: PROM), read-only memory (English full name: ReadOnly Memory, English abbreviation: ROM), magnetic memory, flash memory, magnetic disk or optical disk.
电源组件1303为终端设备130的各种组件提供电力。电源组件1303可以包括电源管理系统,一个或多个电源,及其他与为终端设备130生成、管理和分配电力相关联的组件。The power supply component 1303 provides power to various components of the terminal device 130 . Power component 1303 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for end device 130 .
多媒体组件1304包括在终端设备130和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(英文全称:Liquid Crystal Display,英文简称:LCD)和触摸面板(英文全称:Touch Panel,英文简称:TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1304包括一个前置摄像头和/或后置摄像头。当终端设备130处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1304 includes a screen providing an output interface between the terminal device 130 and the user. In some embodiments, the screen may include a liquid crystal display (English full name: Liquid Crystal Display, English abbreviation: LCD) and a touch panel (English full name: Touch Panel, English abbreviation: TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or a swipe action, but also detect duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 1304 includes a front camera and/or a rear camera. When the terminal device 130 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1305被配置为输出和/或输入音频信号。例如,音频组件1305包括一个麦克风(英文全称:Microphone,英文简称:MIC),当终端设备130处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1302或经由通信组件1308发送。在一些实施例中,音频组件1305还包括一个扬声器,用于输出音频信号。The audio component 1305 is configured to output and/or input audio signals. For example, the audio component 1305 includes a microphone (English full name: Microphone, English abbreviation: MIC), and when the terminal device 130 is in an operation mode, such as a calling mode, a recording mode and a voice recognition mode, the microphone is configured to receive an external audio signal. Received audio signals may be further stored in memory 1302 or sent via communication component 1308 . In some embodiments, the audio component 1305 also includes a speaker for outputting audio signals.
I/O接口1306为处理组件1301和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1306 provides an interface between the processing component 1301 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件1307包括一个或多个传感器,用于为终端设备130提供各个方面的状态评估。例如,传感器组件1307可以检测到终端设备130的打开/关闭状态,组件的相对定位,例如组件为终端设备130的显示器和小键盘,传感器组件1307还可以检测终端设备130或终端设备130一个组件的位置改变,用户与终端设备130接触的存在或不存在,终端设备130方位或加速/减速和终端设备130的温度变化。传感器组件1307可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1307还可以包括光传感器,如互补金属氧化物半导体(英文全称:Complementary Metal Oxide Semiconductor,英文简称:CMOS)或电荷耦合元件(英文全称:Charge Coupled Device,英文简称:CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1307还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 1307 includes one or more sensors for providing various aspects of status assessment for the terminal device 130 . For example, the sensor component 1307 can detect the opening/closing state of the terminal device 130, the relative positioning of the components, for example, the components are the display and the keypad of the terminal device 130, and the sensor component 1307 can also detect the terminal device 130 or a component of the terminal device 130. Changes in position, presence or absence of user contact with the terminal device 130 , orientation or acceleration/deceleration of the terminal device 130 and temperature changes of the terminal device 130 . Sensor assembly 1307 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor component 1307 may also include an optical sensor, such as a complementary metal oxide semiconductor (full name in English: Complementary Metal Oxide Semiconductor, English abbreviation: CMOS) or a charge-coupled device (full name in English: Charge Coupled Device, English abbreviation: CCD) image sensor. for use in imaging applications. In some embodiments, the sensor component 1307 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件1308被配置为便于终端设备130和其他设备之间有线或无线方式的通信。终端设备130可以接入基于通信标准的无线网络,如无线保真(英文全称:Wireless-Fidelity,英文简称:WiFi),2G或3G,或它们的组合。在一个示例性实施例中,通信组件1308经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件1308还包括近场通信(英文全称:Near Field Communication,英文简称:NFC)模块,以促进短程通信。例如,该NFC模块可基于射频识别(英文全称:Radio FrequencyIdentification,英文简称:RFID)技术,红外数据协会(英文全称:Infrared DataAssociation,英文简称:IrDA)技术,超宽带(英文全称:Ultra Wideband,英文简称:UWB)技术,蓝牙(英文全称:Bluetooth,英文简称:BT)技术和其他技术来实现。The communication component 1308 is configured to facilitate wired or wireless communication between the terminal device 130 and other devices. The terminal device 130 may access a wireless network based on a communication standard, such as Wireless Fidelity (English full name: Wireless-Fidelity, English abbreviation: WiFi), 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1308 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1308 further includes a near field communication (English full name: Near Field Communication, English abbreviation: NFC) module to facilitate short-range communication. For example, the NFC module can be based on Radio Frequency Identification (English full name: Radio Frequency Identification, English abbreviation: RFID) technology, Infrared Data Association (English full name: Infrared DataAssociation, English abbreviation: IrDA) technology, Ultra Wideband (English full name: Ultra Wideband, English Abbreviation: UWB) technology, Bluetooth (English full name: Bluetooth, English abbreviation: BT) technology and other technologies to achieve.
在示例性实施例中,终端设备130可以被一个或多个应用专用集成电路(英文全称:Application Specific Integrated Circuit,英文简称:ASIC)、数字信号处理器(英文全称:Digital Signal Processing,英文简称:DSP)、数字信号处理设备(英文全称:Digital Signal Processing Device,英文简称:DSPD)、可编程逻辑器件(英文全称:Programmable Logic Device,英文简称:PLD)、现场可编程门阵列(英文全称:FieldProgrammable Gate Array,英文简称:FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述图1-图3对应的实施例中所描述的信息处理方法。In an exemplary embodiment, the terminal device 130 may be implemented by one or more application-specific integrated circuits (English full name: Application Specific Integrated Circuit, English abbreviation: ASIC), digital signal processors (English full name: Digital Signal Processing, English abbreviation: DSP), digital signal processing equipment (English full name: Digital Signal Processing Device, English abbreviation: DSPD), programmable logic device (English full name: Programmable Logic Device, English abbreviation: PLD), field programmable gate array (English full name: FieldProgrammable Gate Array (English abbreviation: FPGA), a controller, a microcontroller, a microprocessor or other electronic components are used to execute the information processing method described in the above embodiments corresponding to FIGS. 1-3 .
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1302,上述指令可由终端设备130的处理组件1301执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(英文全称:RandomAccess Memory,英文简称:RAM)、CD-ROM、磁带、软盘和光数据存储设备等。当存储介质中的指令由终端设备130的处理组件1301执行时,使得终端设备130能够执行上述图1-图3对应的实施例中所描述的信息处理方法,终端设备130安装了第一ROM,该方法包括:In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 1302 including instructions, which can be executed by the processing component 1301 of the terminal device 130 to complete the above method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (English full name: Random Access Memory, English abbreviation: RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device. When the instructions in the storage medium are executed by the processing component 1301 of the terminal device 130, the terminal device 130 can execute the information processing method described in the embodiment corresponding to FIG. 1 to FIG. 3 above, and the terminal device 130 is installed with a first ROM, The method includes:
与服务器建立连接。Establish a connection with the server.
接收服务器发送的升级数据包,升级数据包由服务器根据终端设备所需安装的第二ROM的标识信息确定,第二ROM为根据第一ROM所定制的ROM。The upgrade data package sent by the server is received, and the upgrade data package is determined by the server according to the identification information of the second ROM to be installed in the terminal device, and the second ROM is a ROM customized according to the first ROM.
根据升级数据包将第一ROM升级为第二ROM。The first ROM is upgraded to the second ROM according to the upgrade data package.
在一个实施例中,该方法包括:In one embodiment, the method includes:
向服务器发送终端设备的标识信息,以便于服务器根据终端设备的标识信息确定第二ROM的标识信息,并根据第二ROM的标识信息向终端设备发送升级数据包。Sending the identification information of the terminal device to the server, so that the server determines the identification information of the second ROM according to the identification information of the terminal device, and sends an upgrade data packet to the terminal device according to the identification information of the second ROM.
在一个实施例中,该方法包括:In one embodiment, the method includes:
显示预存储的二维码,以便于二维码扫描器读取二维码获得第二ROM的标识信息并将第二ROM的标识信息发送至服务器。The pre-stored two-dimensional code is displayed, so that the two-dimensional code scanner reads the two-dimensional code to obtain the identification information of the second ROM and sends the identification information of the second ROM to the server.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,当存储介质中的指令被执行时,用作服务器的电子设备能够执行上述图1-图3对应的实施例中服务器所执行的方法步骤,该方法包括:In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, and when the instructions in the storage medium are executed, the electronic device used as a server can execute the above-mentioned instructions corresponding to FIGS. 1-3 . The method steps performed by the server in the embodiment include:
与已安装了第一ROM的终端设备建立连接。A connection is established with the terminal device on which the first ROM has been installed.
确定终端设备所需安装的第二ROM的标识信息,第二ROM为根据第一ROM所定制的ROM。Identification information of a second ROM to be installed on the terminal device is determined, and the second ROM is a ROM customized according to the first ROM.
根据第二ROM的标识信息,向终端设备发送升级数据包,以便于终端设备根据升级数据包将第一ROM升级为第二ROM。An upgrade data packet is sent to the terminal device according to the identification information of the second ROM, so that the terminal device upgrades the first ROM to the second ROM according to the upgrade data packet.
在一个实施例中,该方法包括:In one embodiment, the method includes:
接收终端设备的标识信息。Receive the identification information of the terminal device.
根据终端设备的标识信息确定第二ROM的标识信息。Determine the identification information of the second ROM according to the identification information of the terminal device.
在一个实施例中,该方法包括:In one embodiment, the method includes:
预存储终端设备的标识信息、第二ROM的标识信息以及升级数据包之间的对应关系。其中,一个终端设备的标识信息对应一个第二ROM的标识信息,一个第二ROM的标识信息对应一个升级数据包。The correspondence between the identification information of the terminal device, the identification information of the second ROM, and the upgrade data package is pre-stored. Wherein, the identification information of a terminal device corresponds to the identification information of a second ROM, and the identification information of a second ROM corresponds to an upgrade data package.
查询对应关系,根据终端设备的标识信息确定终端设备所需安装的第二ROM的标识信息,根据所需安装的第二ROM的标识信息确定需向终端设备发送的升级数据包。Query the corresponding relationship, determine the identification information of the second ROM to be installed on the terminal device according to the identification information of the terminal device, and determine the upgrade data package to be sent to the terminal device according to the identification information of the second ROM to be installed.
在一个实施例中,该方法包括:In one embodiment, the method includes:
接收二维码扫描器发送的第二ROM的标识信息,第二ROM的标识信息由二维码扫描器读取终端设备预存储的二维码获得。The identification information of the second ROM sent by the two-dimensional code scanner is received, and the identification information of the second ROM is obtained by reading the two-dimensional code pre-stored in the terminal device by the two-dimensional code scanner.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,当存储介质中的指令被执行时,用作服务器的电子设备能够执行上述图1-图3对应的实施例中终端设备所执行的方法步骤,该方法包括:In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, and when the instructions in the storage medium are executed, the electronic device used as a server can execute the above-mentioned instructions corresponding to FIGS. 1-3 . The method steps performed by the terminal device in the embodiment, the method includes:
与服务器建立连接。Establish a connection with the server.
接收服务器发送的升级数据包,升级数据包由服务器根据终端设备所需安装的第二ROM的标识信息确定,第二ROM为根据第一ROM所定制的ROM。The upgrade data package sent by the server is received, and the upgrade data package is determined by the server according to the identification information of the second ROM to be installed in the terminal device, and the second ROM is a ROM customized according to the first ROM.
根据升级数据包将第一ROM升级为第二ROM。The first ROM is upgraded to the second ROM according to the upgrade data package.
在一个实施例中,该方法包括:In one embodiment, the method includes:
向服务器发送终端设备的标识信息,以便于服务器根据终端设备的标识信息确定第二ROM的标识信息,并根据第二ROM的标识信息向终端设备发送升级数据包。Sending the identification information of the terminal device to the server, so that the server determines the identification information of the second ROM according to the identification information of the terminal device, and sends an upgrade data packet to the terminal device according to the identification information of the second ROM.
在一个实施例中,该方法包括:In one embodiment, the method includes:
显示预存储的二维码,以便于二维码扫描器读取二维码获得第二ROM的标识信息并将第二ROM的标识信息发送至服务器。The pre-stored two-dimensional code is displayed, so that the two-dimensional code scanner reads the two-dimensional code to obtain the identification information of the second ROM and sends the identification information of the second ROM to the server.
本公开实施例提供的终端设备以及存储介质,终端设备首先安装第一ROM,服务器确定要将终端设备当前所安装ROM升级为哪种定制ROM,然后向终端设备发送从当前所安装ROM升级为定制ROM的升级数据包,终端设备根据升级数据升级为定制ROM。服务器只需为终端设备提供升级数据,而无需单独推出和维护定制ROM,从而大大节约了维护定制产品的人力投入。In the terminal device and the storage medium provided by the embodiments of the present disclosure, the terminal device first installs the first ROM, and the server determines which custom ROM to upgrade the currently installed ROM of the terminal device to, and then sends the upgrade from the currently installed ROM to the customized ROM to the terminal device. ROM upgrade data package, the terminal device is upgraded to a customized ROM according to the upgrade data. The server only needs to provide the upgrade data for the terminal equipment, without launching and maintaining the customized ROM separately, thus greatly saving the manpower input for maintaining the customized products.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810276693.5A CN108494866A (en) | 2018-03-30 | 2018-03-30 | Information processing method and server, terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810276693.5A CN108494866A (en) | 2018-03-30 | 2018-03-30 | Information processing method and server, terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108494866A true CN108494866A (en) | 2018-09-04 |
Family
ID=63317087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810276693.5A Pending CN108494866A (en) | 2018-03-30 | 2018-03-30 | Information processing method and server, terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108494866A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000052573A3 (en) * | 1999-03-03 | 2001-02-15 | Microsoft Corp | Updating read-only software modules |
US20060174109A1 (en) * | 2005-02-02 | 2006-08-03 | Insyde Software Corporation | System and method for securely storing firmware |
CN102929676A (en) * | 2012-11-05 | 2013-02-13 | 深圳市信一网络有限公司 | Quick adapting method of terminal device based on Android operation system |
CN103246846A (en) * | 2013-04-24 | 2013-08-14 | 北京网秦天下科技有限公司 | Method and device for detecting safety of customized ROM (read only memory) |
CN103812948A (en) * | 2014-03-04 | 2014-05-21 | 湘潭大学 | System and method for cloud interactive customization of smart phone operating systems |
CN105468466A (en) * | 2014-09-12 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Processor operating frequency processing method, apparatus and system |
CN105630544A (en) * | 2015-12-21 | 2016-06-01 | 小米科技有限责任公司 | System updating control method and apparatus as well as server device |
CN107544818A (en) * | 2016-06-28 | 2018-01-05 | 北京小米移动软件有限公司 | The loading method and device of system software |
CN107749916A (en) * | 2017-08-28 | 2018-03-02 | 深圳市掌星立意科技有限公司 | The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded |
-
2018
- 2018-03-30 CN CN201810276693.5A patent/CN108494866A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000052573A3 (en) * | 1999-03-03 | 2001-02-15 | Microsoft Corp | Updating read-only software modules |
US20060174109A1 (en) * | 2005-02-02 | 2006-08-03 | Insyde Software Corporation | System and method for securely storing firmware |
CN102929676A (en) * | 2012-11-05 | 2013-02-13 | 深圳市信一网络有限公司 | Quick adapting method of terminal device based on Android operation system |
CN103246846A (en) * | 2013-04-24 | 2013-08-14 | 北京网秦天下科技有限公司 | Method and device for detecting safety of customized ROM (read only memory) |
CN103812948A (en) * | 2014-03-04 | 2014-05-21 | 湘潭大学 | System and method for cloud interactive customization of smart phone operating systems |
CN105468466A (en) * | 2014-09-12 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Processor operating frequency processing method, apparatus and system |
CN105630544A (en) * | 2015-12-21 | 2016-06-01 | 小米科技有限责任公司 | System updating control method and apparatus as well as server device |
CN107544818A (en) * | 2016-06-28 | 2018-01-05 | 北京小米移动软件有限公司 | The loading method and device of system software |
CN107749916A (en) * | 2017-08-28 | 2018-03-02 | 深圳市掌星立意科技有限公司 | The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104951336B (en) | application program installation method and device | |
US20160239834A1 (en) | Method and apparatus for requesting account transfer | |
KR101757779B1 (en) | Method and device for making router management application compatible with router firmware | |
CN105430625B (en) | Communication information transfer method, apparatus and system | |
CN107315606A (en) | Using update method and device | |
CN104486451A (en) | App recommendation method and device | |
CN105511907A (en) | Application program upgrade method, device and system | |
CN104320774A (en) | Updating method, device and facility | |
CN105094904A (en) | Application program installation method and device | |
CN106371327A (en) | Control right sharing method and device | |
CN104767857A (en) | Telephone calling method and device based on cloud name cards | |
CN107666660B (en) | Interphone configuration method and device | |
CN106296775A (en) | Icon generates method and device | |
CN106406941A (en) | Method and apparatus for updating firmware | |
US20170075671A1 (en) | Method and apparatus for installing application and smart device using the same | |
CN106990984B (en) | Method and apparatus for updating a system | |
CN105912202A (en) | Application sharing method and device | |
CN105893128A (en) | Application program calling management method and device | |
CN105099758A (en) | Methods and devices for transmitting update data package | |
CN105682187A (en) | Icon displaying method and device | |
CN109685473A (en) | Official documents and correspondence amending method and device | |
CN108170440A (en) | Using source statistic method and device | |
CN108494866A (en) | Information processing method and server, terminal device | |
CN106993031A (en) | Processing method and device for multi-device control interface | |
CN107103231A (en) | To application install the method and device of management |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180904 |
|
RJ01 | Rejection of invention patent application after publication |