CN104636644B - A kind of method for managing user right and device based on meal ordering system - Google Patents

A kind of method for managing user right and device based on meal ordering system Download PDF

Info

Publication number
CN104636644B
CN104636644B CN201510039545.8A CN201510039545A CN104636644B CN 104636644 B CN104636644 B CN 104636644B CN 201510039545 A CN201510039545 A CN 201510039545A CN 104636644 B CN104636644 B CN 104636644B
Authority
CN
China
Prior art keywords
desktop starter
meal ordering
ordering system
application
user
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.)
Active
Application number
CN201510039545.8A
Other languages
Chinese (zh)
Other versions
CN104636644A (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.)
Shanghai Zhuoyi Technology Co Ltd
Original Assignee
Shanghai Zhuoyi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhuoyi Technology Co Ltd filed Critical Shanghai Zhuoyi Technology Co Ltd
Priority to CN201510039545.8A priority Critical patent/CN104636644B/en
Publication of CN104636644A publication Critical patent/CN104636644A/en
Application granted granted Critical
Publication of CN104636644B publication Critical patent/CN104636644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to field of computer technology, more particularly to a kind of method for managing user right and device based on meal ordering system.Methods described, including:Start desktop starter, be directly entered meal ordering system;Using trigger mechanism by meal ordering system access entitlements management system;The Rights Management System obtains the subscriber identity information of user's input;Based on the user identity pre-established and the application resource relation table being able to access that, the application resource that the user is able to access that is determined.It can be seen that, after the technical program realizes startup desktop starter, meal ordering system can be directly entered, it is convenient and swift, and its System Privileges being able to access that can be limited according to different user identity, different applications and resource are shown according to different authorities, prevent waiter is surfed the Net with PAD from playing the recreations such as game.

Description

A kind of method for managing user right and device based on meal ordering system
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method for managing user right based on meal ordering system and Device.
Background technology
Existing dining room on the market is ordered using PAD mostly, and PAD orders intelligent, convenient and swift, but also result in service Member plays game etc. by PAD online during operation and is engaged in the activity unrelated with work, have impact on operating efficiency.
The content of the invention
It is an object of the invention to propose a kind of method for managing user right and device based on meal ordering system, can limit System Privileges, different applications and resource are shown according to different authorities, prevent waiter is surfed the Net with PAD from playing the amusements such as game work It is dynamic.
To use following technical scheme up to this purpose, the present invention:
A kind of method for managing user right based on meal ordering system, including:
Start desktop starter, be directly entered meal ordering system;
Using trigger mechanism by meal ordering system access entitlements management system;
The Rights Management System obtains the subscriber identity information of user's input;
Based on the user identity pre-established and the application resource relation table being able to access that, determine what the user was able to access that Application resource.
Wherein, the startup desktop starter, is directly entered meal ordering system, is specially:
The bag name of the entitled meal ordering system of bag for the desktop starter application for needing to enter is set;
Start desktop starter;
The desktop starter application of host type attribute is obtained by strobe utility;
Delete the desktop starter application of the system default in the desktop starter application;
By judging whether bag name that remaining desktop starter applies is the bag that needs the desktop starter entered to apply Name, if so, then entering meal ordering system.
Wherein, whether the bag name by judging remaining desktop starter application is the desktop starter for needing to enter The bag name of application, if so, then entering meal ordering system, it is specially:
Obtain the bag name of remaining desktop starter application;
The Bao Mingyu that the remaining desktop starter of acquisition is applied needs the Bao Mingjin that the desktop starter entered is applied Row compares;
If the bag name of the desktop starter application with needing to enter is consistent, into meal ordering system.
Wherein, in the startup desktop starter, it is directly entered before meal ordering system, in addition to:
The attribute for setting meal ordering system is main type attribute;
Establish user identity and the application resource relation table being able to access that.
Wherein, the triggering mode of the trigger mechanism is to be triggered by pressing key on combination button power++lower key simultaneously.
A kind of user authority management device based on meal ordering system, including:
Meal ordering system enters unit, for starting desktop starter, is directly entered meal ordering system;
Trigger element, for utilizing trigger mechanism by meal ordering system access entitlements management system;
Subscriber identity information acquiring unit, the subscriber identity information of user's input is obtained for the Rights Management System;
Access resource and establish unit, for based on the user identity pre-established and the application resource relation being able to access that Table, determine the application resource that the user is able to access that.
Wherein, the meal ordering system enters unit, is specifically used for:
The bag name of the entitled meal ordering system of bag for the desktop starter application for needing to enter is set;
Start desktop starter;
The desktop starter application of host type attribute is obtained by strobe utility;
Delete the desktop starter application of the system default in the desktop starter application;
By judging whether bag name that remaining desktop starter applies is the bag that needs the desktop starter entered to apply Name, if so, then entering meal ordering system.
Wherein, whether the bag name by judging remaining desktop starter application is the desktop starter for needing to enter The bag name of application, if so, then entering meal ordering system, it is specially:
Obtain the bag name of remaining desktop starter application;
The Bao Mingyu that the remaining desktop starter of acquisition is applied needs the Bao Mingjin that the desktop starter entered is applied Row compares;
If the bag name of the desktop starter application with needing to enter is consistent, into meal ordering system.
Wherein, described device, in addition to:
First setting unit, the attribute for setting meal ordering system are main type attribute;
Table unit is built, for the application resource relation table established user identity Yu be able to access that.
Wherein, the triggering mode of the trigger mechanism is to be triggered by pressing key on combination button power++lower key simultaneously.
Beneficial effect:
A kind of method for managing user right based on meal ordering system of the present invention, including:Start desktop starter, directly Tap into meal ordering system;Using trigger mechanism by meal ordering system access entitlements management system;The Rights Management System is used The subscriber identity information of family input;Based on the user identity pre-established and the application resource relation table being able to access that, it is determined that should The application resource that user is able to access that.It can be seen that the technical program is realized after starting desktop starter, it can be directly entered and order System, it is convenient and swift, and its System Privileges being able to access that can be limited according to different user identity, according to different power Limit shows different applications and resource, prevents waiter is surfed the Net with PAD from playing the recreations such as game.
Brief description of the drawings
Fig. 1 is a kind of flow for method for managing user right based on meal ordering system that the specific embodiment of the invention provides Figure.
Fig. 2 is a kind of structure for user authority management device based on meal ordering system that the specific embodiment of the invention provides Schematic diagram.
In figure:
1- meal ordering systems enter unit;2- trigger elements;3- subscriber identity information acquiring units;4- accesses resource and establishes list Member.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.
Embodiment 1:
Fig. 1 is a kind of flow for method for managing user right based on meal ordering system that the specific embodiment of the invention provides Figure.As shown in figure 1, a kind of method for managing user right based on meal ordering system of the present invention, including:
Start desktop starter, be directly entered meal ordering system;
Using trigger mechanism by meal ordering system access entitlements management system;
The Rights Management System obtains the subscriber identity information of user's input;
Based on the user identity pre-established and the application resource relation table being able to access that, determine what the user was able to access that Application resource.
It can be seen that the technical program is realized after starting desktop starter, meal ordering system can be directly entered, it is convenient and swift, And its System Privileges being able to access that can be limited according to different user identity, different answer is shown according to different authorities With and resource, prevent waiter with PAD surf the Net play game etc. recreation.
In this programme, the startup desktop starter, meal ordering system is directly entered, is specially:
The bag name of the entitled meal ordering system of bag for the desktop starter application for needing to enter is set;
Start desktop starter;
The desktop starter application of host type attribute is obtained by strobe utility;
Delete the desktop starter application of the system default in the desktop starter application;
By judging whether bag name that remaining desktop starter applies is the bag that needs the desktop starter entered to apply Name, if so, then entering meal ordering system.
After boot system initializes, start desktop starter, it is host type to obtain attribute by strobe utility from the background All desktop starter applications of attribute, the desktop starter of host type attribute apply the desktop starter for including system default Using and user be arranged as required to desktop starter application for main type attribute, therefore, the technical program is set in advance Put the desktop starter application that meal ordering system is main type attribute.Then, the desktop of the system default in host type attribute is deleted Launcher application, then the remaining desktop starter application for being loaded as host type attribute in advance for user, by further sentencing For remaining desktop starter of breaking using which to need the desktop starter application entered, then being directly entered the desktop starter should With.The desktop starter application entered due to the technical program by pre-setting meal ordering system for needs, then, then remaining Desktop starter application in one by one compared with needing the desktop starter application that enters, until finding meal ordering system, then Into the meal ordering system.
Whether the bag name by judging remaining desktop starter application is the desktop starter application for needing to enter Bag name, if so, then enter meal ordering system, be specially:
Obtain the bag name of remaining desktop starter application;
The Bao Mingyu that the remaining desktop starter of acquisition is applied needs the Bao Mingjin that the desktop starter entered is applied Row compares;
If the bag name of the desktop starter application with needing to enter is consistent, into meal ordering system.
The bag name for the entitled meal ordering system of bag that this programme needs the desktop starter entered to apply by setting, then will be obtained The bag name for the desktop starter application that the Bao Mingyu of the remaining desktop starter application taken needs to enter is compared, when finding The bag name consistent with the bag name for the desktop starter application that needs enter, then enter what is applied with the desktop starter for needing to enter Consistent desktop starter application of bag name, as into meal ordering system.
In the startup desktop starter, it is directly entered before meal ordering system, in addition to:
The attribute for setting meal ordering system is main type attribute;
Establish user identity and the application resource relation table being able to access that.
In this programme, the triggering mode of the trigger mechanism be by press simultaneously key on combination button power++under Key triggers.
Embodiment 2:
Belong to same design below for the device embodiment of the present invention, embodiment of the method for the invention, device embodiment, The content of not detailed description, refers to embodiment of the method in device embodiment.
Fig. 2 is a kind of structure for user authority management device based on meal ordering system that the specific embodiment of the invention provides Schematic diagram.As shown in Fig. 2 a kind of user authority management device based on meal ordering system of the present invention, including:
Meal ordering system enters unit 1, for starting desktop starter, is directly entered meal ordering system;
Trigger element 2, for utilizing trigger mechanism by meal ordering system access entitlements management system;
Subscriber identity information acquiring unit 3, the subscriber identity information of user's input is obtained for the Rights Management System;
Access resource and establish unit 4, for based on the user identity pre-established and the application resource relation being able to access that Table, determine the application resource that the user is able to access that.
After the technical program realizes startup desktop starter, meal ordering system, convenient and swift, Er Qieneng can be directly entered It is enough that its System Privileges being able to access that is limited according to different user identity, different applications and money are shown according to different authorities Source, prevent waiter is surfed the Net with PAD from playing the recreations such as game.
The meal ordering system enters unit 1, specifically for setting the entitled point of bag for needing the desktop starter entered to apply The bag name of meal system;Start desktop starter;The desktop starter application of host type attribute is obtained by strobe utility;Delete institute State the desktop starter application of the system default in desktop starter application;The bag applied by judging remaining desktop starter Whether name is the bag name for needing the desktop starter entered to apply, if so, then entering meal ordering system.
Whether the bag name by judging remaining desktop starter application is the desktop starter application for needing to enter Bag name, if so, then enter meal ordering system, be specially:
Obtain the bag name of remaining desktop starter application;
The Bao Mingyu that the remaining desktop starter of acquisition is applied needs the Bao Mingjin that the desktop starter entered is applied Row compares;
If the bag name of the desktop starter application with needing to enter is consistent, into meal ordering system.
Described device, in addition to:
First setting unit, the attribute for setting meal ordering system are main type attribute;
Table unit is built, for the application resource relation table established user identity Yu be able to access that.
The triggering mode of the trigger mechanism is to be triggered by pressing key on combination button power++lower key simultaneously.
In intelligent handheld device system, boot system can be selected after initializing into homeactivity functions The desktop starter of acquiescence is selected, institute is obtained by CATEGORY_HOME host types attribute by IntentFilter strobe utilities There are launcher activity desktop starter applications, then deleted by clearPackagePreferredActivities The function of current system default desktop launcher application removes current default launcher, finally ActivityInfo.packageName.equals (" ") judges whether the bag name of desktop starter application is equal to you and needs to enter Desktop starter application bag name, discriminant function sets the bag name of launcher application for needing to enter to be defaulted as meal ordering system, Bag name is filled out into the bag name for meal ordering system, acquiescence is entered into default meal ordering system.By combination button (the upper keys of power++under Key), call for button monitoring mechanism in android framework (Android system ccf layer), we use three simultaneously The mode pressed, trigger the Rights Management System for designed in advance of entering.
Rights Management System in user_profile (user property) access rights file by establishing use at different levels in advance Family and the application resource table being able to access that, are shown in the institute's energy set in password permission configuration module for current level authority user The intelligent handheld device application resource of access, so as to realize the inspection of each class subscribers intelligent handheld device application resource authority with Control.
After inputting subscriber identity information access entitlements management system, authority function is imported in loadpermission () In, the PackageManagerService system bag management services that are provided by Android system, obtain intelligent handhold and set The permission authorities of all application resources in standby, and pass through the permission of all application resources in intelligent handheld device Authority is contrasted with each user cipher authority user_profile (user property) configuration file, and each user cipher is weighed The permission authorities corresponding to intelligent handheld device application resource authority that limit configuration file does not have are disabled.
Call loadpermission () to import authority function finally by onRestart () function, realize authority The intelligent handheld device application resource function that each level-right user is able to access that is shown in setting module, reaches different user Enter to show different content and resource, prevent the non-administrators such as salesman from entering, influence normal work attitude.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto, Any one skilled in the art the invention discloses technical scope in, technique according to the invention scheme and its Inventive concept is subject to equivalent substitution or change, should all be included within the scope of the present invention.

Claims (8)

  1. A kind of 1. method for managing user right based on meal ordering system, it is characterised in that including:
    Start desktop starter, be directly entered meal ordering system;
    Using trigger mechanism by meal ordering system access entitlements management system;
    The Rights Management System obtains the subscriber identity information of user's input;
    Based on the user identity pre-established and the application resource relation table being able to access that, the application that the user is able to access that is determined Resource;
    The startup desktop starter, is directly entered meal ordering system, is specially:
    The bag name of the entitled meal ordering system of bag for the desktop starter application for needing to enter is set;
    Start desktop starter;
    The desktop starter application of host type attribute is obtained by strobe utility;The desktop starter of host type attribute apply including The desktop starter application of system default and user are arranged as required to the desktop starter application for main type attribute;
    Delete the desktop starter application of the system default in the desktop starter application;
    By judging whether bag name that remaining desktop starter applies is the bag name that needs the desktop starter entered to apply, if It is, then into meal ordering system.
  2. 2. a kind of method for managing user right based on meal ordering system according to claim 1, it is characterised in that described logical Cross and judge whether the bag name that remaining desktop starter is applied is the bag name for needing the desktop starter entered to apply, if so, then Into meal ordering system, it is specially:
    Obtain the bag name of remaining desktop starter application;
    The bag name that the desktop starter that the Bao Mingyu that the remaining desktop starter of acquisition is applied needs to enter is applied is compared It is right;
    If the bag name of the desktop starter application with needing to enter is consistent, into meal ordering system.
  3. 3. a kind of method for managing user right based on meal ordering system according to claim 1, it is characterised in that described Start desktop starter, be directly entered before meal ordering system, in addition to:
    The attribute for setting meal ordering system is main type attribute;
    Establish user identity and the application resource relation table being able to access that.
  4. 4. a kind of method for managing user right based on meal ordering system according to claim 1, it is characterised in that described to touch The triggering mode of hair mechanism is to be triggered by pressing key on combination button power++lower key simultaneously.
  5. A kind of 5. user authority management device based on meal ordering system, it is characterised in that including:
    Meal ordering system enters unit, for starting desktop starter, is directly entered meal ordering system;
    Trigger element, for utilizing trigger mechanism by meal ordering system access entitlements management system;
    Subscriber identity information acquiring unit, the subscriber identity information of user's input is obtained for the Rights Management System;
    Access resource and establish unit, for based on the user identity that pre-establishes and the application resource relation table being able to access that, really The application resource that the fixed user is able to access that;
    The meal ordering system enters unit, is specifically used for:
    The bag name of the entitled meal ordering system of bag for the desktop starter application for needing to enter is set;
    Start desktop starter;
    The desktop starter application of host type attribute is obtained by strobe utility;The desktop starter of host type attribute apply including The desktop starter application of system default and user are arranged as required to the desktop starter application for main type attribute;
    Delete the desktop starter application of the system default in the desktop starter application;
    By judging whether bag name that remaining desktop starter applies is the bag name that needs the desktop starter entered to apply, if It is, then into meal ordering system.
  6. 6. a kind of user authority management device based on meal ordering system according to claim 5, it is characterised in that described logical Cross and judge whether the bag name that remaining desktop starter is applied is the bag name for needing the desktop starter entered to apply, if so, then Into meal ordering system, it is specially:
    Obtain the bag name of remaining desktop starter application;
    The bag name that the desktop starter that the Bao Mingyu that the remaining desktop starter of acquisition is applied needs to enter is applied is compared It is right;
    If the bag name of the desktop starter application with needing to enter is consistent, into meal ordering system.
  7. A kind of 7. user authority management device based on meal ordering system according to claim 5, it is characterised in that the dress Put, in addition to:
    First setting unit, the attribute for setting meal ordering system are main type attribute;
    Table unit is built, for the application resource relation table established user identity Yu be able to access that.
  8. 8. a kind of user authority management device based on meal ordering system according to claim 5, it is characterised in that described to touch The triggering mode of hair mechanism is to be triggered by pressing key on combination button power++lower key simultaneously.
CN201510039545.8A 2015-01-26 2015-01-26 A kind of method for managing user right and device based on meal ordering system Active CN104636644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510039545.8A CN104636644B (en) 2015-01-26 2015-01-26 A kind of method for managing user right and device based on meal ordering system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510039545.8A CN104636644B (en) 2015-01-26 2015-01-26 A kind of method for managing user right and device based on meal ordering system

Publications (2)

Publication Number Publication Date
CN104636644A CN104636644A (en) 2015-05-20
CN104636644B true CN104636644B (en) 2018-03-20

Family

ID=53215385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510039545.8A Active CN104636644B (en) 2015-01-26 2015-01-26 A kind of method for managing user right and device based on meal ordering system

Country Status (1)

Country Link
CN (1) CN104636644B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104851058A (en) * 2015-05-28 2015-08-19 冯林 Intelligent order system based on graphic codes
CN111158788B (en) * 2019-12-31 2023-05-30 科大讯飞股份有限公司 Desktop starter control method and device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077326A (en) * 2013-02-02 2013-05-01 苏州德佳物联科技有限公司 Catering management system based on Android platform
KR20140007661A (en) * 2012-07-10 2014-01-20 전화성 System and method for providing delivery of a food using an electronic coupon
CN103903199A (en) * 2014-03-14 2014-07-02 童琦 Multi-user food ordering method and system based on personal mobile terminals
CN104239107A (en) * 2014-09-23 2014-12-24 三星电子(中国)研发中心 Application customizing method and application customizing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140007661A (en) * 2012-07-10 2014-01-20 전화성 System and method for providing delivery of a food using an electronic coupon
CN103077326A (en) * 2013-02-02 2013-05-01 苏州德佳物联科技有限公司 Catering management system based on Android platform
CN103903199A (en) * 2014-03-14 2014-07-02 童琦 Multi-user food ordering method and system based on personal mobile terminals
CN104239107A (en) * 2014-09-23 2014-12-24 三星电子(中国)研发中心 Application customizing method and application customizing device

Also Published As

Publication number Publication date
CN104636644A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
US9130927B2 (en) Single certificate service system and operational method thereof
EP3780539B1 (en) Identity verification method, login method, apparatuses, and computer device
CN106992989B (en) Sharing authorization method of smart home, server and readable storage medium
KR102343305B1 (en) User interface management method and system
EP2775416B1 (en) Apparatus and method for configuring password and for releasing lock
CN204833267U (en) Use biological measurement configuration electronic equipment's of remote user system and electronic equipment
CN103488481B (en) Application program control method, terminal equipment and remote control system
US20180043264A1 (en) Game Accessing Method and Processing Method, Server, Terminal, and System
JP2019075161A (en) Service processing method, device, and server
CN104350723B (en) The method and device that account is logged in
CN105554146B (en) A kind of remote access method and device
CN103559455A (en) Android device personal information protection method based on user identification
CN103108082A (en) Smartphone multi-user mode permission management method and smartphone multi-user mode permission management system
CN103685423A (en) Information receiving method, device and system
CN103036597A (en) Method and device of sharing resources among devices in close range
CN105653969B (en) Data processing method, device and electronic equipment
CN105956426A (en) Application program authority authentication and authorization method and intelligent equipment
CN103581301A (en) Method and system for sharing console game progress at mobile terminals
CN104636644B (en) A kind of method for managing user right and device based on meal ordering system
CN109977039A (en) HD encryption method for storing cipher key, device, equipment and readable storage medium storing program for executing
US20150143493A1 (en) Electronic device and login method thereof
CN106714332B (en) wireless network access method and device
EP3308319B1 (en) Method and system for anonymizing a user identity and/or user data of a subscriber of a data protection service, program and computer program product
CN109614778B (en) Dynamic configuration method, gateway and system for user permission
CN112286632A (en) Cloud platform, cloud platform management method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 200233 Guiping Road, Xuhui District, No. 391, building 20, floor 3,

Applicant after: Shanghai Zhuo Yi Science and Technology Co., Ltd.

Address before: 200233 Shanghai City, Xuhui District Guiping road B new Caohejing International Business Center No. 391 20 floor

Applicant before: Shanghai TYD Electronic Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHANGHAI TYD ELECTRONIC TECHNOLOGY CO., LTD. TO: SHANGHAI ZHUOYI TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant