CN104636644A - User authorization management method and device based on food ordering system - Google Patents

User authorization management method and device based on food ordering system Download PDF

Info

Publication number
CN104636644A
CN104636644A CN201510039545.8A CN201510039545A CN104636644A CN 104636644 A CN104636644 A CN 104636644A CN 201510039545 A CN201510039545 A CN 201510039545A CN 104636644 A CN104636644 A CN 104636644A
Authority
CN
China
Prior art keywords
ordering system
desktop starter
meal ordering
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.)
Granted
Application number
CN201510039545.8A
Other languages
Chinese (zh)
Other versions
CN104636644B (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 TYD ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI TYD ELECTRONIC 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 TYD ELECTRONIC TECHNOLOGY Co Ltd filed Critical SHANGHAI TYD ELECTRONIC 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 invention relates to the technical field of computers, in particular to a user authorization management method and device based on a food ordering system. The method includes the steps that a desktop launcher is started, and the food ordering system is logged in directly; a user enters an authorization management system from the food ordering system through a triggering mechanism; the authorization management system obtains user identity information input by the user; application resources allowing the user to access are determined based on a preset user identity and accessible application resource relation table. According to the technical scheme, after the desktop launcher is started, the user can directly log in the food ordering system, and the method is convenient and quick to operate; in addition, the system permissions allowing users to access can be limited according to different use identities, different applications and resources can be displayed according to different permissions, and therefore waiters are prevented from performing entertainment activities like surfing the net and playing games through PADs.

Description

A kind of method for managing user right based on meal ordering system and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of method for managing user right based on meal ordering system and device.
Background technology
Existing dining room on the market adopts PAD to order mostly, and PAD orders intelligence, convenient and swift, but also result in waiter and to play games etc. by PAD online during operation and be engaged in and work irrelevant activity, have impact on work efficiency.
Summary of the invention
The object of the invention is to propose a kind of method for managing user right based on meal ordering system and device, can restriction system authority, show different application and resource according to different authorities, prevent waiter from the recreation such as to play games with PAD online.
For reaching this object, the present invention by the following technical solutions:
Based on a method for managing user right for meal ordering system, comprising:
Start desktop starter, directly enter meal ordering system;
Utilize trigger mechanism by meal ordering system access entitlements management system;
Described Rights Management System obtains the subscriber identity information of user's input;
Based on the user identity set up in advance and the application resource relation table that can access, determine the application resource that this user can access.
Wherein, described startup desktop starter, directly enters meal ordering system, is specially:
The bag arranging the desktop starter application needing to enter is called the bag name of meal ordering system;
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 application of described desktop starter;
By judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, and if so, then enters meal ordering system.
Wherein, described by judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, and if so, then enters meal ordering system, is specially:
Obtain the bag name of remaining desktop starter application;
The bag name of the desktop starter application entered is needed to compare the Bao Mingyu of the remaining desktop starter application obtained;
If consistent with the bag name needing the desktop starter entered to apply, then enter meal ordering system.
Wherein, in described startup desktop starter, before directly entering meal ordering system, also comprise:
The attribute arranging meal ordering system is host type attribute;
The application resource relation table setting up user identity and can access.
Wherein, the triggering mode of described trigger mechanism is for triggering by pressing key on combination button power++lower key simultaneously.
Based on a user authority management device for meal ordering system, comprising:
Meal ordering system enters unit, for starting desktop starter, directly enters meal ordering system;
Trigger element, for utilizing trigger mechanism by meal ordering system access entitlements management system;
Subscriber identity information acquiring unit, obtains the subscriber identity information of user's input for described Rights Management System;
Access resources establishes unit, for based on the user identity set up in advance and the application resource relation table that can access, determines the application resource that this user can access.
Wherein, described meal ordering system enters unit, specifically for:
The bag arranging the desktop starter application needing to enter is called the bag name of meal ordering system;
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 application of described desktop starter;
By judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, and if so, then enters meal ordering system.
Wherein, described by judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, and if so, then enters meal ordering system, is specially:
Obtain the bag name of remaining desktop starter application;
The bag name of the desktop starter application entered is needed to compare the Bao Mingyu of the remaining desktop starter application obtained;
If consistent with the bag name needing the desktop starter entered to apply, then enter meal ordering system.
Wherein, described device, also comprises:
First setting unit is host type attribute for arranging the attribute of meal ordering system;
Build table unit, for the application resource relation table setting up user identity Yu can access.
Wherein, the triggering mode of described trigger mechanism is for triggering 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, comprising: start desktop starter, directly enter meal ordering system; Utilize trigger mechanism by meal ordering system access entitlements management system; Described Rights Management System obtains the subscriber identity information of user's input; Based on the user identity set up in advance and the application resource relation table that can access, determine the application resource that this user can access.Visible, after the technical program achieves and starts desktop starter, directly can enter meal ordering system, convenient and swift, and its System Privileges that can access can be limited according to different user identity, show different application and resource according to different authorities, prevent waiter from the recreation such as to play games with PAD online.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of method for managing user right based on meal ordering system that the specific embodiment of the invention provides.
Fig. 2 is the structural representation of a kind of user authority management device based on meal ordering system that the specific embodiment of the invention provides.
In figure:
1-meal ordering system enters unit; 2-trigger element; 3-subscriber identity information acquiring unit; 4-access resources establishes unit.
Embodiment
Technical scheme of the present invention is further illustrated by embodiment below in conjunction with accompanying drawing.
Embodiment 1:
Fig. 1 is the process flow diagram of a kind of method for managing user right based on meal ordering system that the specific embodiment of the invention provides.As shown in Figure 1, a kind of method for managing user right based on meal ordering system of the present invention, comprising:
Start desktop starter, directly enter meal ordering system;
Utilize trigger mechanism by meal ordering system access entitlements management system;
Described Rights Management System obtains the subscriber identity information of user's input;
Based on the user identity set up in advance and the application resource relation table that can access, determine the application resource that this user can access.
Visible, after the technical program achieves and starts desktop starter, directly can enter meal ordering system, convenient and swift, and its System Privileges that can access can be limited according to different user identity, show different application and resource according to different authorities, prevent waiter from the recreation such as to play games with PAD online.
In this programme, described startup desktop starter, directly enters meal ordering system, is specially:
The bag arranging the desktop starter application needing to enter is called the bag name of meal ordering system;
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 application of described desktop starter;
By judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, and if so, then enters meal ordering system.
After boot system initialization, start desktop starter, backstage obtains by strobe utility all desktop starter application that attribute is host type attribute, host type attribute desktop starter application comprise system default desktop starter application and user be set to as required host type attribute desktop starter application, therefore, the technical program pre-sets the desktop starter application that meal ordering system is host type attribute.Then, delete the desktop starter application of the system default in host type attribute, so remaining is the desktop starter application that user is loaded as host type attribute in advance, by judging which the desktop starter be left applies as needing the desktop starter application entered further, then directly enter the application of this desktop starter.Due to the technical program by pre-set meal ordering system be need enter desktop starter application, so, the desktop starter then entered with needs one by one in the application of remaining desktop starter is applied and is compared, until find meal ordering system, then enters this meal ordering system.
Described by judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, and if so, then enters meal ordering system, is specially:
Obtain the bag name of remaining desktop starter application;
The bag name of the desktop starter application entered is needed to compare the Bao Mingyu of the remaining desktop starter application obtained;
If consistent with the bag name needing the desktop starter entered to apply, then enter meal ordering system.
This programme is called the bag name of meal ordering system by the bag arranging the desktop starter application needing to enter, then the bag name of the desktop starter application entered is needed to compare the Bao Mingyu of the remaining desktop starter application obtained, when the bag name that the bag name found with the desktop starter needing to enter is applied is consistent, then enter this desktop starter consistent with the bag name that the desktop starter needing to enter is applied to apply, be and enter meal ordering system.
In described startup desktop starter, before directly entering meal ordering system, also comprise:
The attribute arranging meal ordering system is host type attribute;
The application resource relation table setting up user identity and can access.
In this programme, the triggering mode of described trigger mechanism is for triggering by pressing key on combination button power++lower key simultaneously.
Embodiment 2:
Be below device embodiment of the present invention, embodiment of the method for the present invention, device embodiment belong to same design, and the content of not detailed description in device embodiment, refers to embodiment of the method.
Fig. 2 is the structural representation of a kind of user authority management device based on meal ordering system that the specific embodiment of the invention provides.As shown in Figure 2, a kind of user authority management device based on meal ordering system of the present invention, comprising:
Meal ordering system enters unit 1, for starting desktop starter, directly enters meal ordering system;
Trigger element 2, for utilizing trigger mechanism by meal ordering system access entitlements management system;
Subscriber identity information acquiring unit 3, obtains the subscriber identity information of user's input for described Rights Management System;
Access resources establishes unit 4, for based on the user identity set up in advance and the application resource relation table that can access, determines the application resource that this user can access.
After the technical program achieves and starts desktop starter, directly can enter meal ordering system, convenient and swift, and its System Privileges that can access can be limited according to different user identity, show different application and resource according to different authorities, prevent waiter from the recreation such as to play games with PAD online.
Described meal ordering system enters unit 1, and the bag specifically for arranging the desktop starter application needing to enter is called the bag name of meal ordering system; 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 application of described desktop starter; By judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, and if so, then enters meal ordering system.
Described by judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, and if so, then enters meal ordering system, is specially:
Obtain the bag name of remaining desktop starter application;
The bag name of the desktop starter application entered is needed to compare the Bao Mingyu of the remaining desktop starter application obtained;
If consistent with the bag name needing the desktop starter entered to apply, then enter meal ordering system.
Described device, also comprises:
First setting unit is host type attribute for arranging the attribute of meal ordering system;
Build table unit, for the application resource relation table setting up user identity Yu can access.
The triggering mode of described trigger mechanism is for triggering by pressing key on combination button power++lower key simultaneously.
In intelligent handheld device system, the desktop starter that homeactivity function carries out selecting acquiescence can be entered after boot system initialization, the application of all launcher activity desktop starter is obtained by CATEGORY_HOME host type attribute by IntentFilter strobe utility, then the function removing current default launcher of current system default desktop launcher application is deleted by clearPackagePreferredActivities, last activityInfo.packageName.equals (" ") judges whether bag name that desktop starter is applied equals the bag name of the desktop starter application that you need to enter, discriminant function is arranged needs the bag name of the launcher application entered to be defaulted as meal ordering system, bag name is filled out the bag name into meal ordering system, acquiescence is entered default meal ordering system.By combination button (the upper key of power++lower key), call in android framework (Android system ccf layer) for button monitoring mechanism, we use three modes simultaneously pressed, and trigger the Rights Management System of designed in advance of entering.
Rights Management System is by the application resource table setting up user at different levels in advance in user_profile (user property) access rights file with can access, being presented in password permission configuration module is the intelligent handheld device application resource that can access that current level authority user is arranged, thus realizes inspection and the control of each class subscribers intelligent handheld device application resource authority.
After input subscriber identity information access entitlements management system, import in authority function at loadpermission (), the PackageManagerService system bag management service provided by Android system, obtain the permission authority of all application resources in intelligent handheld device, and contrasted by the permission authority of application resources all in intelligent handheld device and each user cipher authority user_profile (user property) configuration file, permission authority corresponding to the intelligent handheld device application resource authority do not had by each user cipher competence profile is forbidden.
Authority function is imported finally by calling loadpermission () in onRestart () function, realize in authority setting module the intelligent handheld device application resource Fumction display that each level-right user can access, reach different user and enter to show different content and resource, prevent the non-administrators such as salesman from entering, affect normal working attitude.
The above; be only the present invention's preferably embodiment; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, all should be encompassed within protection scope of the present invention.

Claims (10)

1. based on a method for managing user right for meal ordering system, it is characterized in that, comprising:
Start desktop starter, directly enter meal ordering system;
Utilize trigger mechanism by meal ordering system access entitlements management system;
Described Rights Management System obtains the subscriber identity information of user's input;
Based on the user identity set up in advance and the application resource relation table that can access, determine the application resource that this user can access.
2. a kind of method for managing user right based on meal ordering system according to claim 1, is characterized in that, described startup desktop starter, directly enters meal ordering system, be specially:
The bag arranging the desktop starter application needing to enter is called the bag name of meal ordering system;
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 application of described desktop starter;
By judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, and if so, then enters meal ordering system.
3. a kind of method for managing user right based on meal ordering system according to claim 2, it is characterized in that, described by judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, if, then enter meal ordering system, be specially:
Obtain the bag name of remaining desktop starter application;
The bag name of the desktop starter application entered is needed to compare the Bao Mingyu of the remaining desktop starter application obtained;
If consistent with the bag name needing the desktop starter entered to apply, then enter meal ordering system.
4. a kind of method for managing user right based on meal ordering system according to claim 1, is characterized in that, in described startup desktop starter, before directly entering meal ordering system, also comprises:
The attribute arranging meal ordering system is host type attribute;
The application resource relation table setting up user identity and can access.
5. a kind of method for managing user right based on meal ordering system according to claim 1, is characterized in that, the triggering mode of described trigger mechanism is for triggering by pressing key on combination button power++lower key simultaneously.
6., based on a user authority management device for meal ordering system, it is characterized in that, comprising:
Meal ordering system enters unit, for starting desktop starter, directly enters meal ordering system;
Trigger element, for utilizing trigger mechanism by meal ordering system access entitlements management system;
Subscriber identity information acquiring unit, obtains the subscriber identity information of user's input for described Rights Management System;
Access resources establishes unit, for based on the user identity set up in advance and the application resource relation table that can access, determines the application resource that this user can access.
7. a kind of user authority management device based on meal ordering system according to claim 6, it is characterized in that, described meal ordering system enters unit, specifically for:
The bag arranging the desktop starter application needing to enter is called the bag name of meal ordering system;
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 application of described desktop starter;
By judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, and if so, then enters meal ordering system.
8. a kind of user authority management device based on meal ordering system according to claim 7, it is characterized in that, described by judging whether the bag name that remaining desktop starter is applied is the bag name that the desktop starter needing to enter is applied, if, then enter meal ordering system, be specially:
Obtain the bag name of remaining desktop starter application;
The bag name of the desktop starter application entered is needed to compare the Bao Mingyu of the remaining desktop starter application obtained;
If consistent with the bag name needing the desktop starter entered to apply, then enter meal ordering system.
9. a kind of user authority management device based on meal ordering system according to claim 6, it is characterized in that, described device, also comprises:
First setting unit is host type attribute for arranging the attribute of meal ordering system;
Build table unit, for the application resource relation table setting up user identity Yu can access.
10. a kind of user authority management device based on meal ordering system according to claim 6, is characterized in that, the triggering mode of described trigger mechanism is for triggering 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 true CN104636644A (en) 2015-05-20
CN104636644B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016188468A1 (en) * 2015-05-28 2016-12-01 赵阳 Graphic code-based smart dish-ordering system
CN111158788A (en) * 2019-12-31 2020-05-15 科大讯飞股份有限公司 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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016188468A1 (en) * 2015-05-28 2016-12-01 赵阳 Graphic code-based smart dish-ordering system
CN111158788A (en) * 2019-12-31 2020-05-15 科大讯飞股份有限公司 Desktop starter control method and device and storage medium

Also Published As

Publication number Publication date
CN104636644B (en) 2018-03-20

Similar Documents

Publication Publication Date Title
US10708656B2 (en) Provisioning work environments using virtual phone images
US9130927B2 (en) Single certificate service system and operational method thereof
US20180043264A1 (en) Game Accessing Method and Processing Method, Server, Terminal, and System
EP2857967B1 (en) User interface management method and system
US9302188B2 (en) Apparatus, method and computer readable recording medium for interworking account based on mobile terminal and account based on game
JP2019075161A (en) Service processing method, device, and server
CN204833267U (en) Use biological measurement configuration electronic equipment's of remote user system and electronic equipment
CN106547451B (en) Multi-open application program method, multi-open application program device and terminal
US9575618B2 (en) Multi-user process management
CN108628650B (en) Touch event processing method and device and intelligent interaction equipment
EP3506093A1 (en) Application process management method and terminal device
WO2017114391A1 (en) Method, apparatus, and electronic device based on use of electronic device by multiple accounts
CN101312488B (en) Multiuser television set and management method
CN103685423A (en) Information receiving method, device and system
KR20180049214A (en) Application authentication policy for a plurality of computing devices
CN108718343B (en) Household appliance user group resetting method, device and system, household appliance and server
CN103686387A (en) Multi-account management control method and system in intelligent television system
US20170048236A1 (en) Electronic device and method for commonly using the same
CN104636644A (en) User authorization management method and device based on food ordering system
CN104376009A (en) Microblog page enriching method, system and device
CN103793635A (en) Multi-level menu permission establishing method
CN102456104A (en) Menu authority creating method
CN103106359A (en) Creating method of authorization of multilevel menu
CN103812866A (en) Operation layer management method, operation layer management device and mobile terminal
US10013273B1 (en) Virtual machine termination management

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 of 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