WO2019033649A1 - 程序激活方法、系统、可读存储介质及智能设备 - Google Patents

程序激活方法、系统、可读存储介质及智能设备 Download PDF

Info

Publication number
WO2019033649A1
WO2019033649A1 PCT/CN2017/116367 CN2017116367W WO2019033649A1 WO 2019033649 A1 WO2019033649 A1 WO 2019033649A1 CN 2017116367 W CN2017116367 W CN 2017116367W WO 2019033649 A1 WO2019033649 A1 WO 2019033649A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart device
demand
program
demand parameter
preset
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.)
Ceased
Application number
PCT/CN2017/116367
Other languages
English (en)
French (fr)
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.)
Guangzhou Ruixin Electronics Co Ltd
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Ruixin Electronics Co Ltd
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Ruixin Electronics Co Ltd, Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Ruixin Electronics Co Ltd
Publication of WO2019033649A1 publication Critical patent/WO2019033649A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Definitions

  • the present invention relates to the field of electronic device technologies, and in particular, to a program activation method, system, readable storage medium, and smart device.
  • a corresponding program software is usually installed in the smart device to enable the smart device to implement a corresponding function, thereby satisfying a user-specific application requirement.
  • the smart device is a magic mirror
  • the magic mirror after installing the corresponding program software on the smart device (the magic mirror), the magic mirror can realize visual intercom, smart home control, voice text message, audio and video entertainment, weather. Forecasts and event memorization, etc., to maximize the convenience of people's daily lives.
  • the object of the present invention is to propose a novel program activation method, system, readable storage medium and smart device which can effectively reduce the maintenance cost of the software in the later stage, so as to meet the practical application requirements.
  • the invention provides a program activation method, which is applied to a smart device, wherein the method comprises the following steps:
  • a corresponding required function point is activated in the software library according to the demand parameter code.
  • the program activation method proposed by the present invention preloads a software program library containing all required function points in the smart device before the smart device leaves the factory.
  • the smart device receives a power-on signal
  • the smart device then
  • the pre-programmed demand parameter code is read in the preset parameter storage bit of the smart device, and then the corresponding demand function point can be activated in the software library for the customer to use according to the demand parameter code.
  • the program activation method, system, readable storage medium and smart device provided by the invention only need to install one version of software in the smart device, so in the later operation, only the same function software needs to be maintained, Reduce software maintenance costs and meet actual application needs.
  • the program activation method wherein the method further includes: before the step of reading the pre-programmed demand parameter code in the preset parameter storage bit of the smart device when receiving a power-on signal, the method further includes:
  • a demand parameter table is preloaded on the smart device, and the demand parameter table is a mapping table between the demand parameter code and the demand function point.
  • the program activation method wherein the step of activating a corresponding required function point in the software library according to the requirement parameter code comprises:
  • the corresponding required function point is activated in the software library.
  • the program activation method wherein the preset parameter storage bit corresponds to an index address, and the method further includes:
  • the demand parameter code in the preset parameter storage bit is still saved.
  • the program activation method, the smart device and a burning tool cooperate with each other to perform data burning, the smart device corresponds to a md5 value table, and the burning tool corresponds to a md5 value, wherein
  • the step of burning the requirement parameter code in the smart device includes:
  • the demand parameter code is burned in the smart device.
  • the invention also provides a program activation system, which is applied to a smart device, wherein the system comprises:
  • a program loading module configured to preload a software program library containing all required function points on the smart device before the smart device leaves the factory;
  • a code reading module configured to read a pre-programmed demand parameter code in a preset parameter storage bit of the smart device when receiving a power-on signal
  • a function activation module configured to activate a corresponding required function point in the software program library according to the requirement parameter code.
  • program loading module is further configured to:
  • a demand parameter table is preloaded on the smart device, and the demand parameter table is a mapping table between the demand parameter code and the demand function point.
  • the program activation system wherein the preset parameter storage bit corresponds to an index address, the system further includes a factory setting module, and the factory setting module includes:
  • the first determining unit is configured to determine whether the index address is in a preset attribute list, where the preset attribute list is a white list corresponding to the smart device when the factory setting is restored;
  • a factory setting unit configured to: when it is determined that the index address is in the preset attribute list, when the factory resetting signal for the smart device is received, the preset parameter storage bit is still saved.
  • the demand parameter code when it is determined that the index address is in the preset attribute list, when the factory resetting signal for the smart device is received, the preset parameter storage bit is still saved.
  • the present invention also proposes a readable storage medium having stored thereon a computer program, wherein the program is executed by the processor to implement the program activation method as described above.
  • the present invention also provides a smart device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor implements the program activation method as described above when the program is executed.
  • FIG. 1 is a schematic block diagram of a program activation method according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a program activation method according to a first embodiment of the present invention
  • FIG. 3 is a structural block diagram of a program activation system according to a second embodiment of the present invention.
  • the program activation method in the first embodiment of the present invention is applied to a smart device, wherein a collection convention of all functions of the software library is called a maximum function set E(n), where n is The number of required function points, specifically, the method includes the following steps:
  • a magic mirror (the smart device) is taken as an example for detailed description.
  • a software program library needs to be loaded on the magic mirror in advance.
  • the software library includes all required function points required for the mirror.
  • the corresponding demand function points can be visual intercom, smart home control, voice text message, audio and video entertainment, weather forecast, event memo, virtual makeup, beauty video tutorial and makeup light control. Understandably, different customers have different requirements, and the software library loaded on the mirror contains all customer groups. Demand function point.
  • a demand parameter table is preloaded on the mirror, wherein the demand parameter table is a mapping between the demand parameter code and the demand function point.
  • the table that is, the demand parameter code in the demand parameter table corresponds to the demand function point one by one.
  • the customer's demand function is the desktop beauty function (including the above virtual makeup, beauty video tutorial, and makeup light control), then find one and the desktop beauty in the demand parameter table.
  • the demand parameter code corresponding to the makeup function for example, the corresponding requirement parameter code found in the demand parameter table at this time is 010.
  • the demand function of the B customer is a life entertainment function (that is, including functions such as audio and video entertainment, weather forecast, event memo, etc.), then there is also a corresponding to the living entertainment function in the demand parameter table.
  • the demand parameter code (for example, 011).
  • the smart device since the smart device is loaded with the software program library of all the required function points, when actually delivering the goods to the customer, the corresponding demand parameter code can be burned on the smart device according to the actual needs of the customer.
  • the customer activates the corresponding function to apply when booting.
  • the preset in the mirror is The pre-programmed demand parameter code is read in the parameter storage bit.
  • the demand parameter codes are all burned by the burning tool.
  • an md5 value table is correspondingly arranged on the smart device (the magic mirror), and the burning tool also has a md5 value.
  • the step of burning the requirement parameter code to the smart device includes: first determining whether the md5 value corresponding to the burning tool is in the md5 value table corresponding to the smart device; When the md5 value is in the md5 value table corresponding to the smart device, the demand parameter code is burned in the smart device.
  • a md5 value table is pre-stored in the smart device (magic mirror), and at the same time, all legal burning tools have a legal md5 value, and the burning tool is used to burn the relevant parameters of the client.
  • the smart device is further provided with a preset parameter storage bit, and the preset parameter storage bit is mainly used for burning the storage customer's demand parameter code.
  • the preset parameter storage bit corresponds to an index address.
  • a method in which data that can be prevented from being burned is lost due to restoration of the factory settings.
  • the method includes the following steps: first, it is required to determine whether the index address is in a preset attribute list, where the preset attribute list is a white list corresponding to the smart device when the factory setting is restored. It should be noted here that as long as the data in the white list (for example, the above index address) is not erased when the factory settings are restored.
  • the demand parameter code in the preset parameter storage bit is still saved.
  • the index address corresponding to the preset parameter storage bit is also added to the whitelist of the factory reset program, and the data of the preset parameter storage bit is not erased when the factory reset is performed. This setting ensures that the staff only needs to burn the data once to save it permanently, avoiding the cumbersomeness caused by repeated burning.
  • the corresponding demand function point is activated in the software library according to the read demand parameter code.
  • the demand function point corresponding to the demand parameter table is searched according to the demand parameter code, and if the corresponding demand function point is found in the demand parameter table, It can be determined that the verification is successful at this time Subsequently, the corresponding required function point is activated in the software library.
  • the demand parameter code obtained by reading from the preset parameter storage bit is 010, and then the corresponding demand function point is searched in the demand parameter table according to the demand parameter code 010, for example, for example.
  • the corresponding function function point corresponding to the function is the desktop beauty function (including audio and video entertainment, weather forecast, event memo and other functions), and when the verification is successful, the corresponding desktop beauty function is activated correspondingly.
  • the demand parameter code obtained by reading from the preset parameter storage bit is 011, and similarly, according to the requirement parameter code 011, the corresponding demand function point is searched in the demand parameter table, for example, When looking for the corresponding demand function point for the life entertainment function (including audio and video entertainment, weather forecast, event memo and other functions), when the verification is successful, the corresponding life entertainment function is activated.
  • the obtained demand parameter code is 021
  • the function corresponding to the demand function point found in the demand parameter table is a smart interactive function (including visual intercom, smart home control, voice text message, etc.) , activate the smart interaction function after confirming that the verification is successful.
  • a related parameter such as a demand parameter code in a smart device (for example, a magic mirror)
  • the original customer corresponding to the product has temporarily changed ( For example, it is originally a customer-customized product. After the A customer cancels the order, the product is customized by the C customer, and the C customer's demand is different from the A customer's demand.
  • the smart device can be preset by the burning tool.
  • the data in the parameter storage bit is re-burned to update the data in time, so that the product originally scheduled for the A customer is successfully switched to the product that is reserved for the C customer, thereby effectively reducing the waste caused by the unsalable product and improving the product.
  • the program activation method proposed by the present invention preloads a software program library containing all required function points in the smart device before the smart device leaves the factory.
  • the smart device receives a power-on signal
  • the smart device then
  • the pre-programmed demand parameter code is read in the preset parameter storage bit of the smart device, and then the corresponding demand function point can be activated in the software library for the customer to use according to the demand parameter code.
  • the program activation method, system, readable storage medium and smart device provided by the invention only need to install one version of software in the smart device, so in the later operation, only the same function software needs to be maintained, Reduce software maintenance costs and meet actual application needs.
  • the program activation system in the second embodiment of the present invention is applied to a smart device, and the system includes a program loading module 10, a code reading module 20, and a function activation module 30 connected in sequence;
  • the program loading module 10 is specifically configured to:
  • the code reading module 20 is specifically configured to:
  • the function activation module 30 is specifically configured to:
  • a corresponding required function point is activated in the software library according to the demand parameter code.
  • program loading module 10 is further configured to:
  • a demand parameter table is preloaded on the smart device, and the demand parameter table is a mapping table between the demand parameter code and the demand function point.
  • the system further includes a factory setting module 40, the factory setting module 40 is connected to the code reading module 20, and the factory setting module 40 includes a first determining unit 401 and a factory setting unit connected to each other.
  • the first determining unit 401 is specifically configured to:
  • the factory setting unit 402 is specifically configured to:
  • the demand parameter code in the preset parameter storage bit is still saved.
  • system further includes a programming control module 50, the programming control module 50 is connected to the code reading module 20, and the programming control module 50 includes a second judging unit 501 connected to each other and burning Recording control unit 502;
  • the second determining unit 501 is specifically configured to:
  • the programming control unit 502 is specifically configured to:
  • the demand parameter code is burned in the smart device.
  • the present invention also proposes a readable storage medium having stored thereon a computer program, wherein the program is executed by the processor to implement the program activation method as described above.
  • the present invention also provides a smart device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor implements the program activation method as described above when the program is executed.
  • the program can be stored in a computer readable storage medium.
  • the program when executed, includes the steps described in the above methods.
  • the storage medium includes: a ROM/RAM, a magnetic disk, an optical disk, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

一种程序激活方法、系统、可读存储介质及智能设备,所述方法包括如下步骤:在所述智能设备出厂前,预先在所述智能设备上加载一包含所有需求功能点的软件程序库(S101);当接收到一开机信号时,在所述智能设备的预设参数存储位中读取预先烧录的需求参数代码(S102);根据所述需求参数代码在所述软件程序库中激活对应的需求功能点(S103)。所述程序激活方法可以有效减少后期软件维护成本,满足了实际应用需求。

Description

程序激活方法、系统、可读存储介质及智能设备 技术领域
本发明涉及电子设备技术领域,特别涉及一种程序激活方法、系统、可读存储介质及智能设备。
背景技术
随着科技的不断进步以及技术的日益更新,电子产品在人们日常生活中的应用也变得越来越普遍。智能设备作为一种较为常见的电子产品,在为人们的工作生活提供便利的同时也丰富了人们的日常。
一般的,对现有的智能设备而言,通常会在该智能设备中安装有对应的程序软件以使得该智能设备实现对应的功能,进而满足用户特定的应用需求。例如,该智能设备为一魔镜时,在该智能设备(魔镜)上安装对应的程序软件之后,该魔镜便可以实现可视对讲、智能家居控制、语音文字留言、影音娱乐、天气预报以及事件备忘等功能,从而最大程度地方便了人们的日常生活。
然而,单个程序软件针对于不同客户,对应的会存在一些不同的软件需求。针对该问题,常规的做法一般是针对不同的客户定制不同版本的软件,然而这将直接导致后期所需维护的软件版本过多,耗费过多的人力物力,增加了运营成本。
发明内容
基于此,本发明的目的在于提出一种可以有效降低后期软件维护成本的新型的程序激活方法、系统、可读存储介质及智能设备,以满足实际应用需求。
本发明提出一种程序激活方法,应用于一智能设备,其中,所述方法包括如下步骤:
在所述智能设备出厂前,预先在所述智能设备上加载一包含所有需求功能点的软件程序库;
当接收到一开机信号时,在所述智能设备的预设参数存储位中读取预先烧录的需求参数代码;
根据所述需求参数代码在所述软件程序库中激活对应的需求功能点。
本发明提出的程序激活方法,在智能设备出厂前,预先在该智能设备中加载一包含所有需求功能点的软件程序库,在客户使用时,当智能设备接收到一开机信号后,然后在该智能设备的预设参数存储位中读取预先烧录好的需求参数代码,然后根据该需求参数代码便可在软件程序库中激活对应的需求功能点以供客户使用。本发明提出的程序激活方法、系统、可读存储介质及智能设备,由于在智能设备中仅安装了一种版本的软件,因此在后期运营中也仅需要对该同一种功能软件进行维护,大大降低了软件维护成本,满足了实际应用需求。
所述程序激活方法,其中,所述当接收到一开机信号时,在所述智能设备的预设参数存储位中读取预先烧录的需求参数代码的步骤之前,所述方法还包括:
在所述智能设备上预先加载一需求参数表,所述需求参数表为所述需求参数代码与所述需求功能点之间的映射表。
所述程序激活方法,其中,所述根据所述需求参数代码在所述软件程序库中激活对应的需求功能点的步骤包括:
根据所述需求参数代码在所述需求参数表中查找与其对应的需求功能点;
在所述软件程序库中激活对应的所述需求功能点。
所述程序激活方法,其中,所述预设参数存储位对应一索引地址,所述方法还包括:
判断所述索引地址是否在一预设属性列表中,所述预设属性列表为所述智能设备恢复出厂设置时对应的白名单;
当判断到所述索引地址在所述预设属性列表中,则当接收到一针对于所述智能设备的恢复出厂设置信号时,仍保存所述预设参数存储位中的所述需求参数代码。
所述程序激活方法,所述智能设备与一烧录工具相互配合进行数据烧录,所述智能设备对应有一md5值表,所述烧录工具对应有一md5值,其中,在向 所述智能设备中烧录所述需求参数代码的步骤包括:
判断所述烧录工具对应的所述md5值是否在所述智能设备对应的所述md5值表中;
当判断到所述md5值在所述md5值表中时,则在所述智能设备中烧录所述需求参数代码。
本发明还提出一种程序激活系统,应用于一智能设备,其中,所述系统包括:
程序加载模块,用于在所述智能设备出厂前,预先在所述智能设备上加载一包含所有需求功能点的软件程序库;
代码读取模块,用于当接收到一开机信号时,在所述智能设备的预设参数存储位中读取预先烧录的需求参数代码;
功能激活模块,用于根据所述需求参数代码在所述软件程序库中激活对应的需求功能点。
所述程序激活系统,其中,所述程序加载模块还用于:
在所述智能设备上预先加载一需求参数表,所述需求参数表为所述需求参数代码与所述需求功能点之间的映射表。
所述程序激活系统,其中,所述预设参数存储位对应一索引地址,所述系统还包括一出厂设置模块,所述出厂设置模块包括:
第一判断单元,用于判断所述索引地址是否在一预设属性列表中,所述预设属性列表为所述智能设备恢复出厂设置时对应的白名单;
出厂设置单元,用于当判断到所述索引地址在所述预设属性列表中,则当接收到一针对于所述智能设备的恢复出厂设置信号时,仍保存所述预设参数存储位中的所述需求参数代码。
本发明还提出一种可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如上所述的程序激活方法。
本发明还提出一种智能设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如上所述的程序激活方法。
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。
附图说明
图1为本发明第一实施例提出的程序激活方法的原理框图;
图2为本发明第一实施例提出的程序激活方法的流程图;
图3为本发明第二实施例提出的程序激活系统的结构框图。
具体实施方式
为了便于理解本发明,下面将参照相关附图对本发明进行更全面的描述。附图中给出了本发明的首选实施例。但是,本发明可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本发明的公开内容更加透彻全面。
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。
请参阅图1与图2,对于本发明第一实施例中的程序激活方法,应用于一智能设备,其中该软件程序库所有功能的集合约定称为最大功能集合E(n),n为所述需求功能点的数量,具体的,所述方法包括如下步骤:
S101,在所述智能设备出厂前,预先在所述智能设备上加载一包含所有需求功能点的软件程序库。
在本实施例中,以一魔镜(所述智能设备)为例进行详细说明。具体的,在该魔镜出厂之前,需要预先在该魔镜上加载一软件程序库。其中该软件程序库包括针对该魔镜对应的所需的所有需求功能点。例如,对应的需求功能点可以为可视对讲、智能家居控制、语音文字留言、影音娱乐、天气预报、事件备忘、虚拟化妆、美妆视频教程以及化妆灯控制等功能点。可以理解的,不同的客户对应有不同的需求,该魔镜上加载的软件程序库中包含了所有客户群对应 的需求功能点。
在此还需要指出的是,在该魔镜出厂之前,还需要在该魔镜上预先加载一需求参数表,其中该需求参数表为所述需求参数代码与所述需求功能点之间的映射表,也即在该需求参数表中需求参数代码与需求功能点一一对应。
例如,A客户的需求功能(需求功能点)为桌面美妆功能(包括上述的虚拟化妆、美妆视频教程以及化妆灯控制),则此时在该需求参数表中查找到一与该桌面美妆功能相对应的需求参数代码,例如此时在该需求参数表中查找得到的对应的所述需求参数代码为010。同样的,若B客户的需求功能为生活娱乐功能(也即包括影音娱乐、天气预报、事件备忘等功能)时,则此时在该需求参数表中同样存在一与该生活娱乐功能相对应的需求参数代码(例如为011)。
可以理解的,由于该智能设备上加载有所有需求功能点的软件程序库,在实际为客户进行发货时,可以根据客户的实际需求,在该智能设备上烧录对应的需求参数代码以供客户在开机时激活相应的功能进行应用。
S102,当接收到一开机信号时,在所述智能设备的预设参数存储位中读取预先烧录的需求参数代码。
如上所述,在魔镜上完成了预先加载软件程序库以及需求参数表之后,当客户对魔镜产品进行第一次开机作业时,当接收到一开机信号之后,在该魔镜的预设参数存储位中读取预先烧录的需求参数代码。
在本实施例中,所述需求参数代码均通过烧录工具进行烧录。对该烧录过程而言,具体的,在该智能设备(魔镜)上对应设有一md5值表,烧录工具也对应有一md5值。在向所述智能设备中烧录所述需求参数代码的步骤包括:首先判断所述烧录工具对应的所述md5值是否在所述智能设备对应的所述md5值表中;然后当判断到所述md5值在所述智能设备对应的所述md5值表中时,在所述智能设备中烧录所述需求参数代码。
具体的,在所述智能设备(魔镜)中预存有一个md5值表,与此同时,所有合法的烧录工具中均对应有一个合法的md5值,烧录工具进行烧录客户的相关参数(需求参数代码)前,需要先将自己内含的md5值与所述智能设备中合法的md5值表进行对比,若该烧录工具内含的md5值合法,则允许其进行烧录, 否则拒绝向所述智能设备(魔镜)中的预设参数存储位中写入数据。
在此还需要说明的是,对该智能设备(魔镜)而言,该智能设备内还设有一预设参数存储位,该预设参数存储位主要用于烧录存储客户的需求参数代码。与此同时,该预设参数存储位对应有一索引地址。如上所述,由于已经向所述智能设备中烧录(写入)了对应的需求参数代码,然而在智能设备(魔镜)的生产过程中,会经历多次恢复出厂设置的操作,该操作会抹除智能设备的存储器中的客户数据(包括所述需求参数代码),而只仅仅保留预装软件以及基础的配置信息,这将导致很多时候需要进行再次烧录,无疑增加了实际操作的繁琐性。
为了解决该问题,在本实施例中,设置了一可以避免烧录的数据因恢复出厂设置而造成丢失的方法。具体的,所述方法包括如下步骤:首先需要判断所述索引地址是否在一预设属性列表中,所述预设属性列表为所述智能设备恢复出厂设置时对应的白名单。在此需要说明的是,只要在该白名单内的数据(例如上述索引地址),在恢复出厂设置时便不会被抹除。
进一步的,当判断到该索引地址在该预设属性列表中时,则当接收到一恢复出厂设置信号时,则仍保存所述预设参数存储位中的所述需求参数代码。也即将预设参数存储位对应的索引地址加入恢复出厂设置程序的白名单,则在执行恢复出厂设置时,该预设参数存储位的数据不会被抹除。该设置可以保证工作人员只需要烧录一次数据便可进行永久保存,避免了因重复烧录带来的繁琐。
S103,根据所述需求参数代码在所述软件程序库中激活对应的需求功能点。
如上所述,当在预设参数存储位中读取获得了所需的需求参数代码之后,则根据读取得到的需求参数代码在软件程序库中激活对应的需求功能点。
具体的,在读取获得了该需求参数代码之后,根据该需求参数代码在所述需求参数表中查找与其对应的需求功能点,若在需求参数表中查找到了对应的需求功能点之后,则可以确定此时校验成功。随后,在所述软件程序库中激活对应的所述需求功能点。
例如,对A客户而言,从预设参数存储位中读取获得的需求参数代码为010,则此时根据该需求参数代码010在需求参数表中查找对应的需求功能点,例如 此时对应的需求功能点对应的功能为桌面美妆功能(包括影音娱乐、天气预报、事件备忘等功能),当校验成功之后则对应激活对应的桌面美妆功能。再或者,对于B客户而言,从预设参数存储位中读取获得的需求参数代码为011,同样的,根据该需求参数代码为011在需求参数表中查找对应的需求功能点,例如此时查找得到对应的需求功能点为生活娱乐功能(包括影音娱乐、天气预报、事件备忘等功能),当校验成功之后则对应激活对应的生活娱乐功能。对C客户而言,获取得到的需求参数代码为021,在需求参数表中查找得到的需求功能点对应的功能为智能交互功能(包括可视对讲、智能家居控制、语音文字留言等功能),则在确认校验成功之后激活该智能交互功能。
作为补充的,当一智能设备(例如为魔镜)中的需求参数代码等相关参数已经烧录完成,且对应的需求功能点已被激活之后,若该产品对应的原始客户临时发生了变化(例如原来是A客户定制的产品,后A客户取消订单,该产品被C客户定制,而C客户的需求与A客户的需求不同),此时则可以通过烧录工具对该智能设备中预设参数存储位中数据进行重新烧录以进行数据的及时更新,从而将原来预定给A客户的产品成功地切换为预定给C客户所需求的产品,有效减少了产品因滞销而造成的浪费,提高了经济效益。
本发明提出的程序激活方法,在智能设备出厂前,预先在该智能设备中加载一包含所有需求功能点的软件程序库,在客户使用时,当智能设备接收到一开机信号后,然后在该智能设备的预设参数存储位中读取预先烧录好的需求参数代码,然后根据该需求参数代码便可在软件程序库中激活对应的需求功能点以供客户使用。本发明提出的程序激活方法、系统、可读存储介质及智能设备,由于在智能设备中仅安装了一种版本的软件,因此在后期运营中也仅需要对该同一种功能软件进行维护,大大降低了软件维护成本,满足了实际应用需求。
请参阅图3,对于本发明第二实施例中的程序激活系统,应用于一智能设备,所述系统包括依次连接的程序加载模块10、代码读取模块20以及功能激活模块30;
其中,所述程序加载模块10具体用于:
在所述智能设备出厂前,预先在所述智能设备上加载一包含所有需求功能 点的软件程序库;
所述代码读取模块20具体用于:
当接收到一开机信号时,在所述智能设备的预设参数存储位中读取预先烧录的需求参数代码;
所述功能激活模块30具体用于:
根据所述需求参数代码在所述软件程序库中激活对应的需求功能点。
此外,所述程序加载模块10还用于:
在所述智能设备上预先加载一需求参数表,所述需求参数表为所述需求参数代码与所述需求功能点之间的映射表。
与此同时,所述系统还包括一出厂设置模块40,所述出厂设置模块40与所述代码读取模块20相连,所述出厂设置模块40包括相互连接的第一判断单元401以及出厂设置单元402:
其中,所述第一判断单元401具体用于:
判断所述索引地址是否在一预设属性列表中,所述预设属性列表为所述智能设备恢复出厂设置时对应的白名单;
所述出厂设置单元402具体用于:
当判断到所述索引地址在所述预设属性列表中,则当接收到一针对于所述智能设备的恢复出厂设置信号时,仍保存所述预设参数存储位中的所述需求参数代码。
进一步的,所述系统还包括一烧录控制模块50,所述烧录控制模块50与所述代码读取模块20相连,所述烧录控制模块50包括相互连接的第二判断单元501以及烧录控制单元502;
其中,所述第二判断单元501具体用于:
判断所述烧录工具对应的所述md5值是否在所述智能设备对应的所述md5值表中;
所述烧录控制单元502具体用于:
当判断到所述md5值在所述md5值表中时,则在所述智能设备中烧录所述需求参数代码。
本发明还提出一种可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如上所述的程序激活方法。
本发明还提出一种智能设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如上所述的程序激活方法。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成。所述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,包括上述方法所述的步骤。所述的存储介质,包括:ROM/RAM、磁碟、光盘等。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (10)

  1. 一种程序激活方法,应用于一智能设备,其特征在于,包括如下步骤:
    在所述智能设备出厂前,预先在所述智能设备上加载一包含所有需求功能点的软件程序库;
    当接收到一开机信号时,在所述智能设备的预设参数存储位中读取预先烧录的需求参数代码;
    根据所述需求参数代码在所述软件程序库中激活对应的需求功能点。
  2. 根据权利要求1所述的程序激活方法,其特征在于,所述当接收到一开机信号时,在所述智能设备的预设参数存储位中读取预先烧录的需求参数代码的步骤之前,所述方法还包括:
    在所述智能设备上预先加载一需求参数表,所述需求参数表为所述需求参数代码与所述需求功能点之间的映射表。
  3. 根据权利要求2所述的程序激活方法,其特征在于,所述根据所述需求参数代码在所述软件程序库中激活对应的需求功能点的步骤包括:
    根据所述需求参数代码在所述需求参数表中查找与其对应的需求功能点;
    在所述软件程序库中激活对应的所述需求功能点。
  4. 根据权利要求1所述的程序激活方法,其特征在于,所述预设参数存储位对应一索引地址,所述方法还包括:
    判断所述索引地址是否在一预设属性列表中,所述预设属性列表为所述智能设备恢复出厂设置时对应的白名单;
    当判断到所述索引地址在所述预设属性列表中,则当接收到一针对于所述智能设备的恢复出厂设置信号时,仍保存所述预设参数存储位中的所述需求参数代码。
  5. 根据权利要求1所述的程序激活方法,所述智能设备与一烧录工具相互配合进行数据烧录,所述智能设备对应有一md5值表,所述烧录工具对应有一md5值,其特征在于,在向所述智能设备中烧录所述需求参数代码的步骤包括:
    判断所述烧录工具对应的所述md5值是否在所述智能设备对应的所述md5值表中;
    当判断到所述md5值在所述md5值表中时,则在所述智能设备中烧录所述 需求参数代码。
  6. 一种程序激活系统,应用于一智能设备,其特征在于,所述系统包括:
    程序加载模块,用于在所述智能设备出厂前,预先在所述智能设备上加载一包含所有需求功能点的软件程序库;
    代码读取模块,用于当接收到一开机信号时,在所述智能设备的预设参数存储位中读取预先烧录的需求参数代码;
    功能激活模块,用于根据所述需求参数代码在所述软件程序库中激活对应的需求功能点。
  7. 根据权利要求6所述的程序激活系统,其特征在于,所述程序加载模块还用于:
    在所述智能设备上预先加载一需求参数表,所述需求参数表为所述需求参数代码与所述需求功能点之间的映射表。
  8. 根据权利要求6所述的程序激活系统,其特征在于,所述预设参数存储位对应一索引地址,所述系统还包括一出厂设置模块,所述出厂设置模块包括:
    第一判断单元,用于判断所述索引地址是否在一预设属性列表中,所述预设属性列表为所述智能设备恢复出厂设置时对应的白名单;
    出厂设置单元,用于当判断到所述索引地址在所述预设属性列表中,则当接收到一针对于所述智能设备的恢复出厂设置信号时,仍保存所述预设参数存储位中的所述需求参数代码。
  9. 一种可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1至5任意一项所述的程序激活方法。
  10. 一种智能设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至5任意一项所述的程序激活方法。
PCT/CN2017/116367 2017-08-18 2017-12-15 程序激活方法、系统、可读存储介质及智能设备 Ceased WO2019033649A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710710993.5 2017-08-18
CN201710710993.5A CN107526612B (zh) 2017-08-18 2017-08-18 程序激活方法、系统、可读存储介质及智能设备

Publications (1)

Publication Number Publication Date
WO2019033649A1 true WO2019033649A1 (zh) 2019-02-21

Family

ID=60681355

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116367 Ceased WO2019033649A1 (zh) 2017-08-18 2017-12-15 程序激活方法、系统、可读存储介质及智能设备

Country Status (2)

Country Link
CN (1) CN107526612B (zh)
WO (1) WO2019033649A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563925B (zh) * 2018-03-26 2022-03-15 广州视源电子科技股份有限公司 防止软件拷贝的方法、系统、可读存储介质及电子设备
CN111147402A (zh) * 2019-12-27 2020-05-12 深圳市丰润达科技有限公司 交换机出厂设置项的定制方法、装置、交换机及系统
CN115756519A (zh) * 2022-11-17 2023-03-07 乐歌人体工学科技股份有限公司 一种程序烧录系统、方法及电动床

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677872A (zh) * 2012-09-10 2014-03-26 联想(北京)有限公司 一种信息处理方法、装置和电子设备
CN104615463A (zh) * 2015-01-26 2015-05-13 青岛海信电器股份有限公司 一种系统属性设置方法及终端
US20150347157A1 (en) * 2014-05-29 2015-12-03 Ncr Corporation Operating system (os) independent device drivers
CN105677385A (zh) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 一种应用程序的适配方法、装置及电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677872A (zh) * 2012-09-10 2014-03-26 联想(北京)有限公司 一种信息处理方法、装置和电子设备
US20150347157A1 (en) * 2014-05-29 2015-12-03 Ncr Corporation Operating system (os) independent device drivers
CN104615463A (zh) * 2015-01-26 2015-05-13 青岛海信电器股份有限公司 一种系统属性设置方法及终端
CN105677385A (zh) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 一种应用程序的适配方法、装置及电子设备

Also Published As

Publication number Publication date
CN107526612B (zh) 2019-06-07
CN107526612A (zh) 2017-12-29

Similar Documents

Publication Publication Date Title
CN101650660B (zh) 从中央存储装置引导计算机系统
US20140289652A1 (en) Electronic device and method for activating application after unlocking
TW200805159A (en) Method and apparatus for fast boot of an operating system
CN113296891B (zh) 基于平台的多场景知识图谱处理方法及装置
WO2019033649A1 (zh) 程序激活方法、系统、可读存储介质及智能设备
US20150324209A1 (en) Operating System Switching Method and Dual-Operating System Electronic Device Using the Same
WO2016062146A1 (zh) 序列号信息的更新方法、装置及终端
US8370612B2 (en) Computer system with built-in hidden two operating devices
WO2016095681A1 (zh) 应用的后台运行方法及装置
CN106936979A (zh) 撤销操作的方法和设备
CN101788913B (zh) 具有内建双可被隐藏操作装置的计算机系统
CN101325653B (zh) 一种在机顶盒上实现即插即用功能的装置及方法
US20090040314A1 (en) Method for recording images in electronic device
CN105653342A (zh) 一种Windows池桌面自动入域的方法及系统
WO2019237822A1 (zh) 一种安卓系统开机速度控制方法、智能设备及存储介质
TWI559227B (zh) 具有內建雙可隨機關閉開啟電源作業裝置的電腦系統
US20140075577A1 (en) File security control system and method
CN107704537A (zh) 一种待更新对象的发布方法、装置和存储介质
CN108228299B (zh) 显示方法及电子设备
CN114442906B (zh) 一种数据存储方法、终端及计算机可读存储介质
US8341319B2 (en) Embedded system and method for controlling electronic devices using the embedded system
US20090249054A1 (en) Method for booting computer device
CN110333901A (zh) 存储装置的名称更新方法
CN103699636A (zh) 一种在WIN7-32/64bit操作系统下使文件夹/文件位置随意移动的方法
JP2009301504A (ja) コンピュータ、記録媒体および情報処理方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17921607

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.10.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17921607

Country of ref document: EP

Kind code of ref document: A1