CN103955646A - Method and system for controlling software functions of various devices - Google Patents

Method and system for controlling software functions of various devices Download PDF

Info

Publication number
CN103955646A
CN103955646A CN201410175559.8A CN201410175559A CN103955646A CN 103955646 A CN103955646 A CN 103955646A CN 201410175559 A CN201410175559 A CN 201410175559A CN 103955646 A CN103955646 A CN 103955646A
Authority
CN
China
Prior art keywords
software
function
equipment
configuration file
data permission
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.)
Granted
Application number
CN201410175559.8A
Other languages
Chinese (zh)
Other versions
CN103955646B (en
Inventor
李林杰
张锐
陈亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Systems China 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 Comba Telecom Systems China Ltd filed Critical Comba Telecom Systems China Ltd
Priority to CN201410175559.8A priority Critical patent/CN103955646B/en
Publication of CN103955646A publication Critical patent/CN103955646A/en
Application granted granted Critical
Publication of CN103955646B publication Critical patent/CN103955646B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to a method and a system for controlling the software functions of various devices. The method comprises the steps: reading a License configuration file which comprises control parameters of functions of software on various devices and data authorities corresponding to the functions one by one; obtaining a data authority corresponding to the function of the software on the device in the License configuration file according to the control parameter reported by the device running the software; controlling the function of the software on the device according to the data authority. According to the scheme of the method provided by the invention, the License configuration file is utilized to control the functions of the software on various devices, the function of developing only one kind of software but not developing various kinds of software aiming at various devices is realized, and the method can be compatible with new devices.

Description

Control the method and system of the software function of distinct device
Technical field
The present invention relates to the network apparatus management system of moving communicating field, particularly relate to a kind of method and system of the software function of controlling distinct device.
Background technology
At present, mobile communication has multiple different systems and deposits, and if 2G, 3G, 4G and WLAN are simultaneously in application, needs the product of multimode, the multi-system; And each standard has again different software versions, the function of each software version has certain difference, and the interface of software definition is also different.In order to monitor and manage the function of software of above-mentioned different equipment, traditional way is for the equipment development of different product lines, standard and safeguards a set of different software.There is following problem in above-mentioned situation: be first that the different software of exploitation can significantly increase development and maintenance cost, the duplication of labour and development efficiency are low; Next is once there be new equipment software cannot carry out compatibility.
Summary of the invention
The object of the present invention is to provide a kind of method and system of the software function of controlling distinct device, realize only needing a kind of software of exploitation and without the function of the equipment development various software for different systems, and can also compatible new equipment.
A method of controlling the software function of distinct device, comprises step:
Read License configuration file, this License configuration file comprise this software the control parameter of the function of distinct device and with this function data permission one to one;
The control parameter reporting according to the equipment of this software of operation is obtained described software at data permission corresponding to the function of this equipment in this License configuration file;
According to this data permission, control the function of described software at this equipment.
The present invention also provides a kind of system of the software function of controlling distinct device, comprises read module, acquisition module and control module;
Described read module reads License configuration file, this License configuration file comprise this software the control parameter of the function of distinct device and with this function data permission one to one;
The control parameter that described acquisition module reports according to the equipment of this software of operation is obtained described software at data permission corresponding to the function of this equipment in this License configuration file;
Described control module, according to this data permission, is controlled the function of described software at this equipment.
According to the present invention program, first, read License configuration file, this License configuration file comprise this software the control parameter of the function of distinct device and with this function data permission one to one; Then, the control parameter reporting according to the equipment of this software of operation is obtained described software at data permission corresponding to the function of this equipment in this License configuration file; Finally, according to this data permission, control the function of described software at this equipment.Above-mentioned scheme is in the time developing software, to add License configuration file, utilizes the function of software on distinct device described in this License configuration file control; Realize only needing a kind of software of exploitation and without the function for different systems equipment development various software, and the method can also compatible new equipment.
Brief description of the drawings
Fig. 1 is the process flow diagram of the method for the software function of control distinct device of the present invention;
Fig. 2 is the system construction drawing of the software function of control distinct device of the present invention.
Embodiment
In order to understand fully object of the present invention, feature and effect, below with reference to accompanying drawing and specific embodiment, the technique effect of design of the present invention, concrete structure and generation is described further.
Refer to Fig. 1, the process flow diagram for the method for the software function of control distinct device of the present invention:
Step S1: read License configuration file, this License configuration file comprise this software the control parameter of the function of distinct device and with this function data permission one to one:
Described distinct device refers to the equipment of multimode, the multi-system, for example 2G, 3G, 4G and WLAN; The control parameter of described function is to control the parameter whether described software shows on equipment; Described data permission is corresponding one by one with the function of described software, determines whether the control parameter of described function can show those functions.
In one embodiment, the License configuration file described in step S1 is encrypted storage, before reading License configuration file first by this License configuration file deciphering; And then the License configuration file stores after deciphering is read in Installed System Memory.
Adopt the mode information of storing License configuration file of encrypting, can effectively prevent from being tampered because of the information of License configuration file the situation of the function on distinct device that caused control not.
Step S2: according to the control parameter that reports of equipment of this software of operation, obtain described software at data permission corresponding to the function of this equipment in this License configuration file:
In one embodiment, step S2 comprises: the control parameter in control parameter and the License configuration file that the equipment of this software of operation is reported covers to superpose and obtains moving the data permission corresponding to equipment of this software;
Wherein, in the time not obtaining the data permission corresponding to equipment of this software of operation, for this equipment arranges the data permission of an acquiescence;
Described License configuration file adopts tree structure to store the control parameter of described software in the function of distinct device; Therefore, the first classification of the tree structure maximum in this License configuration file covers stack, until obtain moving the data permission corresponding to equipment of this software.
Described covering stack refers to that the control parameter that equipment is reported covers in the control parameter in License configuration file, and both same sections are waited until in stack; The classification of the tree structure maximum from License configuration file covers stack can accelerate the data permission that the equipment that searches out is corresponding.
Those skilled in the art, according to thought of the present invention, can take the additive method except said method to inquire about described License configuration file, obtain described software at data permission corresponding to the function of this equipment.
Step 3: according to this data permission, control the function of described software at this equipment:
In one embodiment, described step 3 comprises step:
Interface display function, whether the data of this function of decision operation are in data permission
If so, this function can operate;
If not, this function quiescing.
In another embodiment, described step 3 also comprises step:
Obtain the service data of software, judge that this service data is whether in data permission;
If so, this function of interface display;
If not, interface does not show this function.
This embodiment can allow interface keep clean and tidy, service data in data permission just in this function of interface display.
According to the method for above-mentioned a kind of software function of controlling distinct device, the present invention also provides a kind of system of the software function of controlling distinct device, refer to Fig. 2, the system construction drawing for the software function of control distinct device of the present invention: comprise read module 100, acquisition module 110 and control module 120;
Described read module 100 reads License configuration file, this License configuration file comprise this software the control parameter of the function of distinct device and with this function data permission one to one;
The control parameter that described acquisition module 110 reports according to the equipment of this software of operation is obtained described software at data permission corresponding to the function of this equipment in this License configuration file;
Described control module 120, according to this data permission, is controlled the function of described software at this equipment.
The system of the software function by this control distinct device, described software can be tried out in different systems equipment, controls the function of described software on these equipment.
Wherein, described read module 100 reads License configuration file, this License configuration file comprise this software the control parameter of the function of distinct device and with this function data permission one to one; Described distinct device refers to the equipment of multimode, the multi-system, for example 2G, 3G, 4G and WLAN; The control parameter of described function is to control the parameter whether described software shows on equipment; Described data permission is corresponding one by one with the function of described software, determines whether the control parameter of described function can show those functions;
Before reading License configuration file, first this License configuration file is deciphered; And then the License configuration file stores after deciphering is read in Installed System Memory; Adopt the mode information of storing License configuration file of encrypting, can effectively prevent from being tampered because of the information of License configuration file the situation of the function on distinct device that caused control not.
Wherein, described acquisition module 110 is according to the control parameter that reports of equipment of this software of operation, obtains mode that described software adopts at data permission corresponding to the function of this equipment and is control parameter in control parameter and the License configuration file that the equipment of this software of operation is reported and covers to superpose and obtain moving the data permission corresponding to equipment of this software in this License configuration file; In the time not obtaining the data permission corresponding to equipment of this software of operation, for this equipment arranges the data permission of an acquiescence;
Those skilled in the art are according to thought of the present invention, and acquisition module 110 can take other modes except aforesaid way to inquire about described License configuration file, obtain described software at data permission corresponding to the function of this equipment;
Described License configuration file adopts tree structure to store the control parameter of described software in the function of distinct device; Therefore, the first classification of the tree structure maximum in this License configuration file covers stack, until obtain moving the data permission corresponding to equipment of this software;
Described covering stack refers to that the control parameter that equipment is reported covers in the control parameter in License configuration file, and both same sections are waited until in stack; The classification of the tree structure maximum from License configuration file covers stack can accelerate the data permission that the equipment that searches out is corresponding.
Wherein, described control module 120 is for according to interface display function, and whether the data of this function of decision operation are in data permission; If so, this function can operate; If not, this function quiescing;
Described control module 120 is also for obtaining the service data of software, judges that this service data is whether in data permission; If so, this function of interface display; If not, interface does not show this function;
The mode of this control software function can allow interface keep clean and tidy, service data in data permission just in this function of interface display.
The above embodiment has only expressed numerous embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. a method of controlling the software function of distinct device, is characterized in that, comprises step:
Read License configuration file, this License configuration file comprise this software the control parameter of the function of distinct device and with this function data permission one to one;
The control parameter reporting according to the equipment of this software of operation is obtained described software at data permission corresponding to the function of this equipment in this License configuration file;
According to this data permission, control the function of described software at this equipment.
2. the method for the software function of control distinct device according to claim 1, is characterized in that, described License configuration file adopts tree structure storage information.
3. the method for the software function of control distinct device according to claim 1, it is characterized in that, the described control parameter reporting according to the equipment of this software of operation, in this License configuration file, obtain described software and comprise in data permission method corresponding to the function of this equipment:
Control parameter in control parameter and the License configuration file that the equipment of this software of operation is reported covers to superpose and obtains moving the data permission corresponding to equipment of this software;
Wherein, in the time not obtaining the data permission corresponding to equipment of this software of operation, for this equipment arranges the data permission of an acquiescence.
4. the method for the software function of control distinct device according to claim 1, is characterized in that, described according to this data permission, the step of controlling the software function of this equipment also comprises:
According to the function of interface display, whether the data of this function of decision operation are in data permission;
If so, this function can operate;
If not, this function quiescing.
5. the method for the software function of control distinct device according to claim 1, is characterized in that, described according to this data permission, the step of controlling the software function of this equipment comprises:
Obtain the service data of software, judge that this service data is whether in data permission;
If so, this function of interface display;
If not, interface does not show this function.
6. a system of controlling the software function of distinct device, is characterized in that, comprises read module, acquisition module and control module;
Described read module reads License configuration file, this License configuration file comprise this software the control parameter of the function of distinct device and with this function data permission one to one;
The control parameter that described acquisition module reports according to the equipment of this software of operation is obtained described software at data permission corresponding to the function of this equipment in this License configuration file;
Described control module, according to this data permission, is controlled the function of described software at this equipment.
7. the system of the software function of control distinct device according to claim 6, is characterized in that, described License configuration file adopts tree structure storage information.
8. the system of the software function of control distinct device according to claim 6, it is characterized in that, described acquisition module is according to the control parameter that reports of equipment of this software of operation, obtains described software and comprise in the mode of data permission corresponding to the function of this equipment that control parameter in control parameter and the License configuration file that the equipment of this software of operation is reported covers to superpose and obtain moving the data permission corresponding to equipment of this software in this License configuration file;
Wherein, in the time not obtaining the data permission corresponding to equipment of this software of operation, for this equipment arranges the data permission of an acquiescence.
9. the system of the software function of control distinct device according to claim 6, is characterized in that, described control module is also for according to the function of interface display, and whether the data of this function of decision operation are in data permission; If so, this function can operate; If not, this function quiescing.
10. the system of the software function of control distinct device according to claim 6, is characterized in that, described control module is for obtaining the service data of software, judges that this service data is whether in data permission; If so, this function of interface display; If not, interface does not show this function.
CN201410175559.8A 2014-04-28 2014-04-28 Control the method and system of the software function of distinct device Expired - Fee Related CN103955646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410175559.8A CN103955646B (en) 2014-04-28 2014-04-28 Control the method and system of the software function of distinct device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410175559.8A CN103955646B (en) 2014-04-28 2014-04-28 Control the method and system of the software function of distinct device

Publications (2)

Publication Number Publication Date
CN103955646A true CN103955646A (en) 2014-07-30
CN103955646B CN103955646B (en) 2017-08-25

Family

ID=51332921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410175559.8A Expired - Fee Related CN103955646B (en) 2014-04-28 2014-04-28 Control the method and system of the software function of distinct device

Country Status (1)

Country Link
CN (1) CN103955646B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109901819A (en) * 2018-12-26 2019-06-18 上海航天控制技术研究所 A kind of setting method of state parameter in large complicated software
CN114020346A (en) * 2021-09-29 2022-02-08 苏州浪潮智能科技有限公司 Configuration file processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060287957A1 (en) * 2005-06-20 2006-12-21 Tobid Pieper Method and apparatus for providing limited access to data objects or files within an electronic software delivery and management system
CN101917300A (en) * 2007-05-16 2010-12-15 华为技术有限公司 Authorization method for controlling plurality of equipment, communication equipment and server
CN102301777A (en) * 2011-05-27 2011-12-28 华为技术有限公司 Method and device for controlling parameter configuration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060287957A1 (en) * 2005-06-20 2006-12-21 Tobid Pieper Method and apparatus for providing limited access to data objects or files within an electronic software delivery and management system
CN101917300A (en) * 2007-05-16 2010-12-15 华为技术有限公司 Authorization method for controlling plurality of equipment, communication equipment and server
CN102301777A (en) * 2011-05-27 2011-12-28 华为技术有限公司 Method and device for controlling parameter configuration

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109901819A (en) * 2018-12-26 2019-06-18 上海航天控制技术研究所 A kind of setting method of state parameter in large complicated software
CN114020346A (en) * 2021-09-29 2022-02-08 苏州浪潮智能科技有限公司 Configuration file processing method and device, electronic equipment and storage medium
CN114020346B (en) * 2021-09-29 2023-07-18 苏州浪潮智能科技有限公司 Configuration file processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103955646B (en) 2017-08-25

Similar Documents

Publication Publication Date Title
CN104282058B (en) The method for unlocking of the safety intelligent lock system of band video monitoring based on bluetooth
CN104282061B (en) Unlocking method for safety intelligent lock system
EP2513809A4 (en) Systems and methods for service isolation
CN102999716A (en) virtual machine monitoring system and method
CN102930216B (en) Based on the encrypt file management method of wireless U-disc
CN101561855B (en) Method and system for controlling computer to access USB device
CN102523206A (en) Information system associated sharing and interoperation platform
CN104282060B (en) A kind of method for unlocking of safety intelligent lock system
MY161907A (en) System and method for providing multiple identifiers in a single access point
CN101593252A (en) Control method and system that a kind of computing machine conducts interviews to USB device
CN102083065B (en) Method and device for managing certificates
CN106485803A (en) A kind of offline punch card method, terminal, server and system
CN103955646A (en) Method and system for controlling software functions of various devices
CN110135541A (en) It is a kind of that vehicle System and method for is moved based on wireless radio-frequency
CN103078813A (en) Simple network management protocol (SNMP)-based terminal security access control method
CN103197950A (en) Plug-in virtual machine implementing method
CN203950366U (en) A kind of public transit vehicle passenger flow detection system based on bluetooth
KR101398033B1 (en) Remote control system and method using short message
CN104852898A (en) Program file safety control method and apparatus for production and broadcasting system
CN104978302A (en) TCM chip based intelligent security USB interface control method
CN108737086A (en) System and method for reducing network safety event using intelligent password management
CN204859202U (en) Information security type intelligence house gateway
CN104639335A (en) Secondary development system and secondary development method driven by intelligent network card
CN102624722B (en) Safe transferring method of data based on network
CN204808324U (en) Elevator user authority management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 510663 No. 10 Shenzhou Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Patentee after: Jingxin Network System Co.,Ltd.

Address before: 510663 No. 10 Shenzhou Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Patentee before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170825