Permission control method and related equipment

文档序号:1889539 发布日期:2021-11-26 浏览:16次 中文

阅读说明:本技术 一种权限的控制方法及相关设备 (Permission control method and related equipment ) 是由 金述强 杨清广 李日璐 于 2020-05-22 设计创作,主要内容包括:本申请提供了一种权限的控制方法及相关设备,可以通过自然语言的方式对权限控制进行设置,降低普通用户对权限配置的操作难度。该方法包括:接收目标用户对应的自然语言文本;生成与所述自然语言文本对应的权限配置要求;监控所述目标用户的操作指令;根据所述操作指令以及所述权限配置要求确定控制结果;根据所述控制结果执行相应的操作。(The application provides a control method of authority and related equipment, which can set authority control in a natural language mode and reduce the operation difficulty of a common user on authority configuration. The method comprises the following steps: receiving a natural language text corresponding to a target user; generating an authority configuration requirement corresponding to the natural language text; monitoring an operation instruction of the target user; determining a control result according to the operation instruction and the authority configuration requirement; and executing corresponding operation according to the control result.)

1. A control method of authority is applied to an authority control system and is characterized by comprising the following steps:

receiving a natural language text corresponding to a target user;

generating an authority configuration requirement corresponding to the natural language text;

monitoring an operation instruction of the target user;

determining a control result according to the operation instruction and the authority configuration requirement;

and executing corresponding operation according to the control result.

2. The method of claim 1, wherein generating the privilege configuration requirement corresponding to the natural language text comprises:

determining an authority language corresponding to the natural language text, wherein the natural language text accords with a preset grammar rule;

and setting the authority of the target user according to the authority language to generate the authority configuration requirement.

3. The method of claim 2, wherein the determining the language of authority corresponding to the natural language text comprises:

configuring an authority term library;

and matching the natural language text according to the authority term library to obtain the authority language.

4. The method according to any one of claims 1 to 3, wherein the permission configuration requirement includes a permission control instruction and target permission description information, and the performing corresponding operation according to the control result includes:

and when the operation instruction is matched with the authority control instruction, executing corresponding operation based on the target authority description information.

5. The method of claim 4, wherein performing the corresponding operation according to the control result comprises:

and when the operation instruction is not matched with the authority control instruction, sending out prompt information.

6. A control device of authority is applied to an authority control system and is characterized by comprising:

the receiving unit is used for receiving a natural language text corresponding to a target user;

the generating unit is used for generating an authority configuration requirement corresponding to the natural language text;

the monitoring unit is used for monitoring the operation instruction of the target user;

the determining unit is used for determining a control result according to the operation instruction and the authority configuration requirement;

and the execution unit is used for executing corresponding operation according to the control result.

7. The apparatus according to claim 6, wherein the generating unit is specifically configured to:

determining an authority language corresponding to the natural language text, wherein the natural language text accords with a preset grammar rule;

and setting the authority of the target user according to the authority language to generate the authority configuration requirement.

8. The apparatus of claim 7, wherein the generating unit determines the authority language corresponding to the natural language text comprises:

configuring an authority term library;

and matching the natural language text according to the authority term library to obtain the authority language.

9. A control device of authority is applied to an authority control system and is characterized by comprising:

at least one connected processor, memory, and transceiver;

the memory is intended to store program code that is loaded and executed by the processor to implement the steps of the method of controlling rights of any one of the preceding claims 1 to 5.

10. A computer-readable storage medium, characterized by comprising instructions which, when run on a computer, cause the computer to carry out the steps of the method of controlling rights of any of the preceding claims 1 to 5.

Technical Field

The present application relates to the field of communications, and in particular, to a method for controlling a right and a related device.

Background

The current permission setting system basically adopts a professional function setting mode.

However, when some common users want to set the permissions individually, some professional configuration items of the permission system need to be understood, and the common users often have difficulty in understanding the configuration items of the permissions, which increases the difficulty in operation of permission configuration by the common users virtually, and user experience is not good.

Disclosure of Invention

The application provides a control method of authority and related equipment, which can configure the control of the authority in a natural language mode and reduce the operation difficulty of a common user on the authority configuration.

The first aspect of the present application provides a method for controlling an authority, which is applied to an authority control system, and includes:

receiving a natural language text corresponding to a target user;

generating an authority configuration requirement corresponding to the natural language text;

monitoring an operation instruction of the target user;

determining a control result according to the operation instruction and the authority configuration requirement;

and executing corresponding operation according to the control result.

Optionally, the generating of the permission configuration requirement corresponding to the natural language text includes:

determining an authority language corresponding to the natural language text, wherein the natural language text accords with a preset grammar rule;

and setting the authority of the target user according to the authority language to generate the authority configuration requirement.

Optionally, the determining the authority language corresponding to the natural language text includes:

configuring an authority term library;

and matching the natural language text according to the authority term library to obtain the authority language.

Optionally, the permission configuration requirement includes a permission control instruction and target permission description information, and the executing the corresponding operation according to the control result includes:

and when the operation instruction is matched with the authority control instruction, executing corresponding operation based on the target authority description information.

Optionally, the executing the corresponding operation according to the control result includes:

and when the operation instruction is not matched with the authority control instruction, sending out prompt information.

The second aspect of the present application provides a device for controlling a right, which is applied to a right control system, and includes:

the receiving unit is used for receiving a natural language text corresponding to a target user;

the generating unit is used for generating an authority configuration requirement corresponding to the natural language text;

the monitoring unit is used for monitoring the operation instruction of the target user;

the determining unit is used for determining a control result according to the operation instruction and the authority configuration requirement;

and the execution unit is used for executing corresponding operation according to the control result.

Optionally, the generating unit is specifically configured to:

determining an authority language corresponding to the natural language text, wherein the natural language text accords with a preset grammar rule;

and setting the authority of the target user according to the authority language to generate the authority configuration requirement.

Optionally, the determining, by the generation unit, an authority language corresponding to the natural language text includes:

configuring an authority term library;

and matching the natural language text according to the authority term library to obtain the authority language.

Optionally, the permission configuration requirement includes a permission control instruction and target permission description information, and the execution unit is specifically configured to:

and when the operation instruction is matched with the authority control instruction, executing corresponding operation based on the target authority description information.

Optionally, the execution unit is further specifically configured to:

and when the operation instruction is not matched with the authority control instruction, sending out prompt information.

A third aspect of the present application provides a device for controlling rights, comprising at least one connected processor, a memory and a transceiver, wherein the memory is used for storing program codes, and the program codes are loaded and executed by the processor to realize the steps of the method for controlling rights.

A fourth aspect of the present application provides a computer-readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the steps of the method of controlling rights described above.

In summary, it can be seen that, in the embodiment provided by the present application, the authority of the user may be set through the natural language, the authority configuration requirement corresponding to the authority may be generated, the operation instruction of the user may be monitored, the corresponding control result may be generated, and the corresponding operation may be executed according to the control result. Therefore, the control of the authority can be configured in a natural language mode, and the operation difficulty of the common user for the authority configuration is reduced.

Drawings

Fig. 1 is a schematic flowchart of a method for controlling permissions according to an embodiment of the present application;

FIG. 2 is a schematic diagram of a user language configuration interface provided by an embodiment of the present application;

fig. 3 is a schematic view of a virtual structure of a control device for controlling authority according to an embodiment of the present application;

fig. 4 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application;

fig. 5 is a schematic hardware structure diagram of a server according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.

The terms "first," "second," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprise," "include," and "have," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules expressly listed, but may include other steps or modules not expressly listed or inherent to such process, method, article, or apparatus, the division of modules presented herein is merely a logical division that may be implemented in a practical application in a further manner, such that a plurality of modules may be combined or integrated into another system, or some feature vectors may be omitted, or not implemented, and such that couplings or direct couplings or communicative coupling between each other as shown or discussed may be through some interfaces, indirect couplings or communicative coupling between modules may be electrical or other similar, this application is not intended to be limiting. The modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in a plurality of circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present disclosure.

The method for controlling the authority of the method of the present application is described below from the perspective of an authority control device, which may be a terminal device, a server, or a service unit in the server, and is not particularly limited.

Referring to fig. 1, fig. 1 is a schematic flow chart of a method for controlling permissions according to an embodiment of the present application, including:

101. and receiving the natural language text corresponding to the target user.

In this embodiment, when it is necessary to configure the authority information for the target user, the authority control device may receive the natural language text corresponding to the target user, and specifically, the authority control device may display the user language configuration interface in a visual manner, and then receive the input of the natural language text corresponding to the target user through the user language configuration interface. It is to be understood that the display manner of the user language configuration interface is not limited specifically, and for example, an input text box may be displayed.

Please refer to fig. 2, fig. 2 is a schematic diagram of a user language configuration interface provided in an embodiment of the present application, where 201 is a text box, and the authority control device may receive a natural language text corresponding to a target user through the text box, for example, at 12 o' clock today, aunt lie gate is unlocked once, where aunt lie is the target user, and a correction 202 may be further configured to correct the natural language text in the text box 201 and output a corrected text, or output an error message when the correction is impossible.

102. And generating an authority configuration requirement corresponding to the natural language text.

In this embodiment, after receiving the natural language text corresponding to the target user, the authority control device may generate an authority configuration requirement corresponding to the natural language text. The following is a detailed description:

in one embodiment, the control means of the right generating the right configuration requirement corresponding to the natural language text comprises:

determining an authority language corresponding to a natural language text, wherein the natural language text conforms to a preset grammar rule;

and setting the authority of the target user according to the authority language to generate the authority configuration requirement.

In this embodiment, the authority control device may first configure an authority term library, where the authority term library includes a language related to the authority industry, and the language related to the industry (industry term) is a term list accumulated by an expert of the industry or obtained through feedback of a user, and forms the authority term library, and the authority term library includes an authority related term, and may also include other related terms, where the authority related term includes but is not limited to: the authority language comprises template terms such as ' transfer xx authority ', ' authorization xx authority ', ' recovery xx authority ' and ' time + target user + equipment + operation + aging ', and authority languages of types such as time (such as ' 12 o ' today '), target user (such as ' aunt Lile '), operation (such as ' unlocking '), equipment (such as ' gate ') and aging (such as ' one time '). It should be noted that the permission term library may be configured only once, and after each permission configuration operation is performed on the user, the permission term library may be supplemented according to user input, and may also be configured each time the user performs the permission configuration operation, which is not limited specifically.

And then matching the natural language text according to the template terms in the authority term library to obtain the authority language corresponding to the natural language text, so that the input natural language text is required to accord with a preset grammar rule, namely the rule of the template terms (such as the time + target user + equipment + operation + aging). When the authority configuration is carried out on a target user, a natural language text is input by using a user language configuration interface, wherein the natural language text can be set by using a natural language when the user carries out authority setting control; for example: inputting a natural language text (at 12 o 'clock today, aunt lie gate is unlocked once), then calling an authority term library by an authority control device, matching the authority term library with the natural language text input by a user to obtain an authority language, namely matching the natural language text input by the user with template terms in the authority term library to obtain the authority language' at 12 o 'clock today', 'aunt lie' gate ',' unlocked 'and once'. The authority control device can access a compiler of a natural language input by a user (wherein the compiler is used for compiling the natural language text input by the user, the process of matching the natural language text according to an authority term library to obtain a corresponding authority language belongs to the compiling process, an executable file is generated after compiling, the executable file consists of byte codes and an authority description file, the authority description file records who has authority, and the byte codes trigger the authority judgment under which scenes) and a virtual machine (the virtual machine is used for executing the executable file).

After the authority language is obtained, the authority of the target user can be set according to the authority language to generate an authority configuration requirement, namely, the setting of the authority function parameter of the template term corresponding to the natural language is realized, the authority function is an interface (an entrance for inputting parameters) provided by the authority control system and used for the user, the basic authority control is realized, namely, which authority function in the authority control system should be subjected to parameter setting to configure the authority of the target user, for example, the natural language text of aunt lie at today 12, the natural language text of aunt lie at once unlocking the gate is granted to the authority of aunt lie at today 12 and unlocking the gate once, at the moment, the parameter setting can be carried out on the corresponding controlled interface, the aunt lie at Li, the authority at present, the authority at 12 and the like can be taken as parameters, and the parameters of the controlled interface can be set, the relevant function can be called to execute the corresponding operation when in use, for example, the relevant function is called to realize [ 12 o' clock today, aunt Liaunt gate is unlocked once ].

103. And monitoring the operation instruction of the target user.

In this embodiment, the control device of the authority may monitor the operation instruction of the target user, and the manner of monitoring the operation instruction of the target user is not limited herein.

In one embodiment, the operation of generating the operation instruction of the target user at least includes one of a gesture operation, a sliding operation, a clicking operation and a voice control operation, for example, when the user performs the clicking operation, the control device of the authority may receive the clicking operation, and at this time, the clicking operation generates the operation instruction of the target user, that is, the operation instruction may be defined in advance, for example, the sliding operation is defined in advance as an operation of generating the operation instruction of the target user (e.g., a left sliding operation, a right sliding operation, a top sliding operation, a bottom sliding operation, and the like), or the clicking operation is defined as an operation of generating the operation instruction of the target user (e.g., a single-click operation, a double-click operation, and the like), or the gesture operation is defined as an operation of generating the operation instruction of the target user (e.g., a wrist or an arm is swung to the left, a wrist or an arm is swung to the right, a four-finger pinch operation, or a three-finger top sliding operation, and the like), alternatively, the voice control operation is defined as an operation for generating an operation instruction of the target user (for example, a voice corresponding to the authority of the target user is received), and the above is merely an example, and is not meant to be a limitation on the operation for generating the operation instruction of the target user.

104. And determining a control result according to the operation instruction and the authority configuration requirement.

In this embodiment, the permission configuration requirement includes a permission control instruction and target permission description information, where the permission control instruction refers to an operation instruction that the target user should execute, and the target permission description information refers to which permissions the target user has, when the target user executes the permission control instruction, an operation corresponding to the permission control instruction may be executed, and when the user is not executing the permission control instruction, which operation may be executed. The target authority description information may be in the form of a file, for example, an authority description file, the authority description file is a control parameter table of authority, which records who has what authority to perform what operations on what functions, the authority description file is input data of a virtual machine, the virtual machine has integrated an analysis specification of the input data, and after the authority description file is obtained, the virtual machine can be identified to obtain contents of corresponding description. And the permission control device analyzes the permission description information through the virtual machine and judges the permission of the corresponding controlled interface to obtain a control result, and the control result indicates whether the target user has the permission to call the corresponding controlled interface.

105. And executing corresponding operation according to the control result.

In this embodiment, the control device of the authority may match the operation instruction of the target user with the authority control instruction, and when the matching is successful, execute a corresponding operation based on the target authority description information. That is, when the matching is successful, the target authority description information is analyzed to obtain the content corresponding to the target authority description information, for example, aunt lie has authority to open the gate once at 12 o 'clock today, and the corresponding operation is executed, that is, when the operation behavior of aunt lie is detected at 12 o' clock today, a corresponding controlled interface is called to open the gate.

When the matching is unsuccessful, a prompt message is sent, for example, an alarm sound can be directly sent, or the prompt message is sent to a mobile phone of a manager, although other prompt modes are available, and the details are not limited.

In summary, it can be seen that, in the embodiment provided by the present application, the authority of the user may be set through the natural language, the authority configuration requirement corresponding to the authority may be generated, the operation instruction of the user may be monitored, the corresponding control result may be generated, and the corresponding operation may be executed according to the control result. Therefore, the control of the authority can be configured in a natural language mode, and the operation difficulty of the ordinary user for the authority configuration is reduced.

The present application is described above from the perspective of a method of controlling authority, and the present application is described below from the perspective of a controller of authority.

Referring to fig. 3, fig. 3 is a schematic view of a virtual structure of a control device for permissions according to an embodiment of the present application, where the control device for permissions is applied to a permission control system, and includes:

a receiving unit 301, configured to receive a natural language text corresponding to a target user;

a generating unit 302, configured to generate an authority configuration requirement corresponding to the natural language text;

a monitoring unit 303, configured to monitor an operation instruction of the target user;

a determining unit 304, configured to determine a control result according to the operation instruction and the permission configuration requirement;

and an execution unit 305, configured to execute a corresponding operation according to the control result.

Optionally, the generating unit 302 is specifically configured to:

determining an authority language corresponding to the natural language text, wherein the natural language text accords with a preset grammar rule;

and setting the authority of the target user according to the authority language to generate the authority configuration requirement.

Optionally, the determining, by the generating unit 302, an authority language corresponding to the natural language text includes:

configuring an authority term library;

and matching the natural language text according to the authority term library to obtain the authority language.

Optionally, the permission configuration requirement includes a permission control instruction and target permission description information, and the execution unit 305 is specifically configured to:

and when the operation instruction is matched with the authority control instruction, executing corresponding operation based on the target authority description information.

Optionally, the execution unit 305 is further specifically configured to:

and when the operation instruction is not matched with the authority control instruction, sending out prompt information.

In summary, it can be seen that, in the embodiment provided by the present application, the authority of the user may be set through the natural language, the authority configuration requirement corresponding to the authority may be generated, the operation instruction of the user may be monitored, the corresponding control result may be generated, and the corresponding operation may be executed according to the control result. Therefore, the control of the authority can be configured in a natural language mode, and the operation difficulty of the ordinary user for the authority configuration is reduced.

As shown in fig. 4, for convenience of description, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The control device of the authority may include any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), and a vehicle-mounted computer, taking the control device of the authority as the mobile phone as an example:

fig. 4 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present application. Referring to fig. 4, the handset includes: radio Frequency (RF) circuit 410, memory 420, input unit 430, display unit 440, sensor 450, audio circuit 460, wireless fidelity (WiFi) module 470, processor 480, and power supply 490. Those skilled in the art will appreciate that the handset configuration shown in fig. 4 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

The following describes each component of the mobile phone in detail with reference to fig. 4:

the RF circuit 410 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 480; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 410 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 410 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.

The memory 420 may be used to store software programs and modules, and the processor 480 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 420. The memory 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

The input unit 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 430 may include a touch panel 431 and other input devices 432. The touch panel 431, also called a touch screen, may collect touch operations of a user on or near the touch panel 431 (e.g., operations of the user on or near the touch panel 431 using any suitable object or accessory such as a finger or a stylus) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 431 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 480, and receives and executes commands sent from the processor 480. In addition, the touch panel 431 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 430 may include other input devices 432 in addition to the touch panel 431. In particular, other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.

The display unit 440 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The Display unit 440 may include a Display panel 441, and optionally, the Display panel 441 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 431 may cover the display panel 441, and when the touch panel 431 detects a touch operation on or near the touch panel 431, the touch panel is transmitted to the processor 480 to determine the type of the touch event, and then the processor 480 provides a corresponding visual output on the display panel 441 according to the type of the touch event. Although the touch panel 431 and the display panel 441 are shown in fig. 4 as two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 431 and the display panel 441 may be integrated to implement the input and output functions of the mobile phone.

The handset may also include at least one sensor 450, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 441 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 441 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.

Audio circuit 460, speaker 461, microphone 462 may provide an audio interface between the user and the cell phone. The audio circuit 460 may transmit the electrical signal converted from the received audio data to the speaker 461, and convert the electrical signal into a sound signal for output by the speaker 461; on the other hand, the microphone 462 converts the collected sound signal into an electrical signal, which is received by the audio circuit 460 and converted into audio data, which is then processed by the audio data output processor 480 and then transmitted to, for example, another cellular phone via the RF circuit 410, or output to the memory 420 for further processing.

WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 470, and provides wireless broadband Internet access for the user. Although fig. 4 shows the WiFi module 470, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.

The processor 480 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 420 and calling data stored in the memory 420, thereby integrally monitoring the mobile phone. Optionally, processor 480 may include one or more processing units; preferably, the processor 480 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 480.

The handset also includes a power supply 490 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 480 via a power management system, so that the power management system may perform functions such as managing charging, discharging, and power consumption.

Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.

In the embodiment of the present application, the processor 480 may also perform the operations performed by the control device of the authority.

Fig. 5 is a schematic diagram of a server structure provided by an embodiment of the present application, where the server 500 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 522 (e.g., one or more processors) and a memory 532, and one or more storage media 530 (e.g., one or more mass storage devices) for storing applications 542 or data 544. Memory 532 and storage media 530 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 530 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 522 may be configured to communicate with the storage medium 530, and execute a series of instruction operations in the storage medium 530 on the server 500.

The server 500 may also include one or more power supplies 526, one or more wired or wireless network interfaces 550, one or more input-output interfaces 558, and/or one or more operating systems 541, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.

The steps performed by the control device of the authority in the above embodiment may be based on the server configuration shown in fig. 5.

The embodiment of the present application further provides a computer-readable storage medium, on which a program is stored, and the program, when executed by a processor, implements the steps of the control method of the above-mentioned right.

The embodiment of the application further provides a processor, wherein the processor is used for running the program, and the program executes the steps of the control method of the authority when running.

The embodiment of the application also provides terminal equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the program code is loaded and executed by the processor to realize the steps of the control method of the authority.

The present application also provides a computer program product adapted to perform the steps of the method of controlling rights described above when executed on a data processing device.

In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.

Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.

As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:数据处理方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类