CN109376525A - Reminding method, Linux server and the computer readable storage medium of Linux server - Google Patents

Reminding method, Linux server and the computer readable storage medium of Linux server Download PDF

Info

Publication number
CN109376525A
CN109376525A CN201811072827.8A CN201811072827A CN109376525A CN 109376525 A CN109376525 A CN 109376525A CN 201811072827 A CN201811072827 A CN 201811072827A CN 109376525 A CN109376525 A CN 109376525A
Authority
CN
China
Prior art keywords
user
file
title
linux server
reminding method
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
CN201811072827.8A
Other languages
Chinese (zh)
Other versions
CN109376525B (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201811072827.8A priority Critical patent/CN109376525B/en
Publication of CN109376525A publication Critical patent/CN109376525A/en
Application granted granted Critical
Publication of CN109376525B publication Critical patent/CN109376525B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The present embodiments relate to Internet technical fields, disclose reminding method, Linux server and the computer readable storage medium of a kind of Linux server.In the present invention, the reminding method of Linux server, comprising: when detecting user by Account Logon server with Document Editing permission, user's title for identity user is specified by user;User's title and the edit commands foundation in Linux server are flexible coupling, a new edit commands for carrying user's title is generated;During user is by new edit commands editing files, if receiving the order for checking file current state, then show the current state of file, it include the new edit commands for carrying user's title in current state, allow other users easily to learn user's title of the current editor of certain file, improves work efficiency.

Description

Reminding method, Linux server and the computer-readable storage of Linux server Medium
Technical field
The present embodiments relate to Internet technical field, in particular to a kind of reminding method of Linux server, Linux server and computer readable storage medium.
Background technique
Linux server, it may be assumed that similar with the effect of the server of windows using the network server of linux system. Wherein, Linux is not a specific system, but the system for using linux kernel, the basic thought of Linux server Including following two o'clock: first, all are all files.That is, order, hardware and software equipment, operating system, process etc. For operating system nucleus, it is considered as possessing the file of respective characteristic or type;Second, each software has determining Purposes.Because Linux server has many advantages, such as cheapness, flexibility, scalability, safety, it is widely used.
But at least there are the following problems in the prior art for inventor's discovery: carrying out to the file in Linux server When editor, require by such as Root account etc. there is the account of Document Editing permission to be logged in, this allows for other use Family is merely capable of learning that the current editor of certain file is and can not easily to learn certain text by Root Account Logon Specific user's title of the current editor of part, so that other users at all can not be to use corresponding with user's title Family carries out inquiry, therefore can not know that the permission for the file that user corresponding with user's title is edited is released as to when It puts, causes working efficiency low.
Summary of the invention
The reminding method for being designed to provide a kind of Linux server, Linux server and the meter of embodiment of the present invention Calculation machine readable storage medium storing program for executing allows other users easily to learn user's title of the current editor of certain file, It improves work efficiency.
In order to solve the above technical problems, embodiments of the present invention provide a kind of reminding method of Linux server, packet It includes: when detecting user by Account Logon server with Document Editing permission, being specified by user for identity user User's title;User's title and the edit commands foundation in Linux server are flexible coupling, one is generated and carries user The new edit commands of title;During user is by new edit commands editing files, if receiving for checking text The order of part current state then shows the current state of file, includes the new editor for carrying user's title in current state Order.
Embodiments of the present invention additionally provide a kind of Linux server, comprising: at least one processor;And with extremely The memory of few processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, refers to Order is executed by least one processor, so that at least one processor is able to carry out the prompt side such as above-mentioned Linux server Method.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, calculate Machine program realizes the reminding method of above-mentioned Linux server when being executed by processor.
Embodiment of the present invention in terms of existing technologies, by detecting that user passes through with Document Editing permission Account Logon server when, user's title for identity user is specified by user, then user's title and Linux are taken Edit commands foundation in business device is flexible coupling, and generates a new edit commands for carrying user's title, allows user straight It connected the new edit commands to edit file, if passing through the process of the new edit commands editing files in user In, the order for checking file current state is received, then shows the current state of file, due to including taking in current state New edit commands with user's title, and new edit commands carries user's title, therefore passes through tool in other users Have the Account Logon server of Document Editing permission and input check the order of file current state after, can be taken by Linux The current state that business device is shown allows other users easily to learn user's name of the current editor of this document Claim, without knowing the current volume of this document in such a way that other methods are such as inquired in the group of messages that user shares The user's title for collecting person, improves work efficiency.
In addition, after receiving for checking the order of file current state, further includes: detect whether to exist and file Corresponding swap file;When swap file is not present, notification information is sent to pre-set user.Since swap file is from the text Part automatically generates when being edited, and is automatically deleted when the file is closed.By detecting exchange text corresponding with the file The presence or absence of part can learn the current state of this document, when there is no the i.e. files to be currently at unmanned volume for swap file When the state collected, sends notification information and be conducive to further to pre-set user with reminding pre-set user that can edit the file Improve working efficiency.
In addition, detecting whether there is swap file corresponding with file, specifically include: according to preset time interval, inspection It surveys and whether there is swap file corresponding with file.By detecting whether there is exchange corresponding with file again at regular intervals File, rather than the swap file is constantly detected, it not only contributes to achieve the purpose that remind file described in pre-set user editor, Also help the operation burden for reducing the server.
In addition, detecting whether there is swap file corresponding with file, specifically include: after Linux server is turned on, Automatically detect whether there is swap file corresponding with file.By after Linux server is turned on, detecting whether to deposit automatically In swap file corresponding with file, it can be learnt that whether this document is currently in editing mode, without user again by The order for checking file current state is inputted, is conducive to further increase working efficiency.
In addition, after detecting whether in the presence of swap file corresponding with file, further includes: corresponding with file if it exists Swap file then obtains the generation time of swap file;When being calculated existing for swap file according to the generation time of swap file It is long;If duration existing for swap file is greater than preset duration, swap file is deleted, sends notification information to pre-set user.This Sample is done, though the current unmanned editor of the file caused by reasons, the exchange such as be conducive to avoid not being normally closed because of file File still has, caused by the case where pre-set user can not being notified in time to edit the file.
In addition, prestoring in server, N number of email address, N are to be greater than or wait correspondingly with N number of user's title In 1 natural number;When notification information is specially mail notification information, notification information is sent to pre-set user, specifically includes: obtaining It takes and N number of user's title N number of email address correspondingly;Mail notification information is sent according to N number of email address.It discloses A kind of specific implementation form of mail notification information is sent to pre-set user.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is a kind of flow chart of the reminding method for Linux server that first embodiment provides according to the present invention;
Fig. 2 is a kind of flow chart of the reminding method for Linux server that second embodiment provides according to the present invention;
Fig. 3 is a kind of flow chart of the reminding method for Linux server that third embodiment provides according to the present invention;
Fig. 4 is a kind of structure connection diagram for Linux server that the 4th embodiment provides according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of reminding methods of Linux server.Present embodiment is by examining When measuring user by Account Logon server with Document Editing permission, the user for identity user is specified by user Title, then user's title and the edit commands foundation in Linux server are flexible coupling, it generates one and carries user's title New edit commands edits user directly by the new edit commands to file, if in user by being somebody's turn to do During new edit commands editing files, the order for checking file current state is received, then shows working as file Preceding state, due to including carrying the new edit commands of user's title, and new edit commands is carried and used in current state Person's title, therefore pass through the Account Logon server with Document Editing permission in other users and input and check the current shape of file After the order of state, the current state that can be shown by Linux server allows other users easily to learn this User's title of the current editor of file, without such as being ask in the group of messages that user shares by other methods The mode asked knows user's title of the current editor of this document, improves work efficiency.
The realization details of the reminding method of the Linux server of present embodiment is specifically described below, below Content only for convenience of the realization details provided is understood, not implements the necessary of this programme.
It is noted that in the prior art, when the users such as operation maintenance personnel need to the file in Linux server into When edlin, there should be the Account Logon Linux server of Document Editing permission that could take to Linux by Root account etc. File in business device is edited.In practical applications, often will appear the file that user A wants to edit currently to be in by it The state that his user such as user B is edited, since the same file same time can only be edited by a user, this allows for user A can not edit the file of desired editor, since user A is merely capable of learning that the current editor of this document is to pass through Root account etc. has the Account Logon of Document Editing permission, and can not know user's name of the current editor of this document Claim, therefore, some other methods can only be attempted to determine the current editor of this document.It in general, can be by using It is inquired in the group of messages that the user of the Linux server shares, can just learn this document after specific reply to be obtained Current editor, after determining the current editor of this document, such as after determination is user B, user A can be assisted with user B Whether quotient can allow user B first to log off or determine that user B edits the time etc. completed, in order to the expansion of follow-up work. It can be seen that in the prior art, determine that the process of the current editor of this document is cumbersome, furthermore, by being serviced using the Linux There are many drawbacks for the mode inquired in the shared group of messages of device, such as, there is no moment concerns to disappear by many users The dynamic in group is ceased, the case where user A has asked many times in the group of messages but do not replied in time is frequently resulted in, causes Working efficiency is low.
The flow chart of the reminding method of Linux server in present embodiment is as shown in Figure 1, comprising:
Step 101, it when detecting user by Account Logon server with Document Editing permission, is specified by user User's title for identity user.
Specifically, the account in the present embodiment with Document Editing permission can be Root account, Op account, Watch Account etc., the present embodiment are illustrated so that the account with Document Editing permission is specially Root account as an example, but are actually being answered It is not especially limited in.
In the present embodiment, user's title for identifying the user can be manually entered by user;It can also be by user User's title for identity user is specified by the list that server provides;It include what server was collected into advance in list Several user's titles.In one example, user's title of user A can be the title spelling of user A, or The work number etc. of user A, so that other users can determine that the user is specifically subject to whom according to user's title.
Preferably, frequently replacing user in order to avoid same user when passing through Root Account Logon server every time Title and cause other users that can not determine whose situation the user is specifically according to user's title, in practical applications, Each user can be the respective exclusive user's title of each user configuration according to a unified naming rule, to avoid other users Can not determine whose situation user corresponding with user's title is specifically according to user's title.
Step 102, user's title and the edit commands foundation in Linux server are flexible coupling, generating one and carrying makes The new edit commands of user's title.
It specifically, can by the edit commands in user's title and Linux server, (i.e. vim be ordered by Ln order Enable) establish be flexible coupling, establish be flexible coupling after i.e. generate one carrying user's title new edit commands, when A pairs of user When file in Linux server is edited using edit commands, what is directlyed adopt is the new volume for carrying user's title Collect commard editor file.
Wherein, if the entitled A of user, by Ln order by the edit commands in user's title A and Linux server After vim foundation is flexible coupling, the new edit commands of generation can be A_vim, A.vim etc., the new edit commands of generation Concrete form is not especially limited herein.
Step 103, during user is by new edit commands editing files, if receiving for checking that file is worked as The order of preceding state then shows the current state of file.It wherein, include the new editor for carrying user's title in current state Order.
It specifically, can be w order for checking the order of file current state, those skilled in the art can manage Solution, w order is the order of the information and their behavior for checking registrant, since w order belongs to the prior art, herein not It repeats again.If receiving w order during user is by new edit commands such as A_vim editing files, then showing text The current state of part, by including the new edit commands A_vim for carrying user's title in the file current state that is shown, Rather than edit commands vim in the prior art so that other users can with easily obtain the editor of current file User's title saves and such as inquires and wait in the group of messages that the user using the Linux server shares It the time of other users feedback in group of messages, improves work efficiency.
Wherein, current state mentioned here can also be wrapped in addition to including the new edit commands for carrying user's title It includes current editor and logs in time of Linux server, IP address, current process occupied time etc..
Compared with prior art, the reminding method for a kind of Linux server that present embodiment provides, by detecting When user is by Account Logon server with Document Editing permission, user's name for identity user is specified by user Claim, then user's title and the edit commands foundation in Linux server are flexible coupling, generates one and carry the new of user's title Edit commands, user is directly edited by the new edit commands to file, if new by this in user Edit commands editing files during, receive the order for checking file current state, then show the current of file State, due to including carrying the new edit commands of user's title, and new edit commands carries user in current state Title, therefore pass through such as the Root Account Logon server with Document Editing permission in other users and input and check that file is worked as After the order of preceding state, the current state that can be shown by Linux server knows other users easily To user's title of the current editor of this document, without by other methods such as in the group of messages that user shares into The mode of row inquiry knows user's title of the current editor of this document, improves work efficiency.
Second embodiment of the present invention is related to a kind of reminding method of Linux server.Second embodiment is It is further improved on the basis of one embodiment, specifically thes improvement is that: in the present embodiment, being used for receiving It checks after the order of file current state, further detects whether there is swap file corresponding with this document;When being not present When swap file, notification information is sent to pre-set user.By the presence or absence for detecting swap file corresponding with the file It can learn the current state of this document, and when there is no the states that the i.e. file is currently at unmanned editor for swap file When, it sends notification information and is conducive to further increase work to remind pre-set user that can edit the file to pre-set user Efficiency.
The flow chart of the reminding method of Linux server in present embodiment is as shown in Figure 2, comprising:
Step 201, it when detecting user by Account Logon server with Document Editing permission, is specified by user User's title for identity user.
Step 202, user's title and the edit commands foundation in Linux server are flexible coupling, generating one and carrying makes The new edit commands of user's title.
Step 203, during user is by new edit commands editing files, if receiving for checking that file is worked as The order of preceding state then shows the current state of file.It wherein, include the new editor for carrying user's title in current state Order.
Step 204, detect whether there is swap file corresponding with the file.If detecting the presence of and the file pair The swap file answered, then return step 204, continue to execute described detect whether in the presence of swap file corresponding with the file; Otherwise, 205 are entered step, sends notification information to pre-set user.
During user is by new edit commands editing files, exchange text corresponding with the file can be generated Part, which is specially the swap file of .swp format, for backing up the data of the file, normally exits volume in user After volume, the swap file of the .swp format will be automatically left out.That is, swap file is along with just in text to be edited Part and exist, when file is edited, swap file corresponding with this document can be generated;When file is not edited, then do not have There is swap file, therefore can learn this document by detecting the presence or absence of swap file corresponding with the file Current state.
In practical applications, it can detect whether there is exchange text corresponding with the file by Shell script execution Part.If there is swap file corresponding with the file, then showing this document currently has user editing, and otherwise shows this article Part is currently without being edited by.
Preferably, can detect whether there is swap file corresponding with file according to preset time interval.Here institute The preset time interval said can be 1 minute, 5 minutes etc., so that Shell script is according to the detection of preset time interval It is no to there is swap file corresponding with file, rather than the swap file is constantly detected, it not only contributes to reach to remind and preset User edits the purpose of the file, also helps in the operation burden for reducing the server.
It can be specifically in Linux server quilt preferably, detecting whether there is swap file corresponding with the file After unlatching, detect whether there is swap file corresponding with file automatically.
In a scenario, if the file that user A wants editor is currently being edited by other, and looked by w order See that the current state of this document learns that user B edits this document, if learning user after user A and user B is linked up B oneself also do not know will to this document editor how long or user A do not contact user B, therefore, user A for the time being can not Follow-up editor work is carried out, logs off and closes Linux server.In above process, Linux server can store use Family A checks that the history of current state of this document checks data by w order, and detects that user A is closing Linux service This document is not edited before device, therefore, after Linux server is turned on again, then can be checked according to history Data detect whether there is swap file corresponding with file automatically, if detecting the presence of swap file corresponding with file, Indicate that this document is still within state to be edited, otherwise, expression edits this document currently without user, enters step 205, notification information is sent to pre-set user.By after Linux server is turned on, detecting whether exist and file pair automatically The swap file answered, it can be learnt that whether this document is currently in editing mode, without user again by input for looking into The order for seeing file current state is conducive to further increase working efficiency.
Step 205, notification information is sent to pre-set user.
Specifically, notification information mentioned here can be but be not limited to: mail notification information.
Specifically, if notification information is mail notification information, then detecting that there is no corresponding with the file After swap file, mail reminder interface is called to send notification information to pre-set user, to remind pre-set user can be to this document It is edited.Wherein, it can prestore that N number of user's title, N are correspondingly with N number of email address in Linux server Natural number more than or equal to 1, pre-set user mentioned here are the user that N number of user's name referring shows, to pre- If user sends mail notification information, by obtain with N number of user's title N number of email address correspondingly, further according to N A email address sends mail notification information.
Since step 101 of the step 201 into step 203 and first embodiment is big to step 103 in present embodiment It causes identical, it is intended to when detecting user by Account Logon server with Document Editing permission, be specified and be used for by user User's title of identity user;User's title and the edit commands foundation in Linux server are flexible coupling, one is generated and takes New edit commands with user's title;During user is by new edit commands editing files, if receiving use In the order for checking file current state, then the current state of file is shown, include carrying user's title in current state New edit commands, details are not described herein again.
Compared with prior art, a kind of reminding method for Linux server that present embodiment provides, is used for receiving It checks after the order of file current state, further detects whether there is swap file corresponding with this document;When being not present When swap file, notification information is sent to pre-set user.By the presence or absence for detecting swap file corresponding with the file It can learn the current state of this document, and when there is no the states that the i.e. file is currently at unmanned editor for swap file When, it sends notification information and is conducive to further increase work to remind pre-set user that can edit the file to pre-set user Efficiency.
Third embodiment of the invention is related to a kind of reminding method of Linux server, and third embodiment is first It is further improved on the basis of embodiment or second embodiment, specifically thes improvement is that: in the present embodiment, By the way that after detecting whether to have swap file corresponding with the file, exchange corresponding with the file is literary if it exists Part further obtains the generation time of the swap file;The swap file is calculated according to the generation time of the swap file to exist Duration;If duration existing for the swap file is greater than preset duration, the swap file is deleted, sends and notifies to pre-set user Information is handed over though the current unmanned editor of the file caused by reasons such as being conducive to avoid not being normally closed because of this document Exchange of notes part still has, caused by the case where pre-set user can not being notified in time to edit the file.
The flow chart of the reminding method of Linux server in present embodiment is as shown in Figure 3, comprising:
Step 301, it when detecting user by Account Logon server with Document Editing permission, is specified by user User's title for identity user.
Step 302, user's title and the edit commands foundation in Linux server are flexible coupling, generating one and carrying makes The new edit commands of user's title.
Step 303, during user is by new edit commands editing files, if receiving for checking that file is worked as The order of preceding state then shows the current state of file, includes the new edit commands for carrying user's title in current state.
Step 304, detect whether there is swap file corresponding with the file.If detecting the presence of and the file pair The swap file answered, then enter step 305;Otherwise, 309 are entered step.
Step 305, the generation time of the swap file is obtained.
Step 306, duration existing for the swap file is calculated according to the generation time of the swap file.
In practical applications, if user does not have normal switching-off (ratio after editing to certain file in Linux server Such as disconnect the connection with Linux server suddenly during user's editing files), do not have currently although then will lead to the user Have and this document is edited, but the case where swap file corresponding with this document still has, so that Linux server is in step The testing result inaccuracy in the presence of swap file corresponding with the file is detected whether in rapid 304.
Therefore, by present embodiment step 305, obtaining the generation time of the swap file, and within step 306 Duration existing for the swap file is calculated according to the generation time of the swap file, by judging duration existing for the swap file It determines whether the swap file is that this document generates in the case where improper closing, is conducive to the exchange to current detection File makes correct identification, identify the corresponding file of the swap file be in really editing mode or this document it is non-just It is generated in the case where often closing.
Such as the generation time of the swap file obtained in step 305 is 8:00, and current time is 16:00, A length of 8 hours when can then calculate existing for the swap file.
Step 307, judge whether duration existing for the swap file is greater than preset duration.If it is determined that the swap file exists Duration be greater than preset duration, then enter step 308;Otherwise, return step 304, continuing to test whether there is and the file Corresponding swap file.
Specifically, preset duration mentioned here can be 12 hours, 24 hours etc., can set according to actual needs It is fixed, it is not especially limited herein.
Step 308, the swap file is deleted.
Specifically, because under normal circumstances, user is impossible for a long time in the duration to Document Editing, therefore, If duration existing for the swap file is greater than preset duration, it can be determined that this document generates in the case where improper closing , then the swap file is deleted, is conducive to the presence because of the swap file is avoided to delay other users to edit this document.
Step 309, notification information is sent to pre-set user.
Since step 301 is to step 304 in present embodiment, step 201 in step 309 and second embodiment to step Rapid 205 is roughly the same, it is intended to when detecting user by Account Logon server with Document Editing permission, be referred to by user Surely it is used for user's title of identity user;User's title and the edit commands foundation in Linux server are flexible coupling, it is raw The new edit commands for carrying user's title at one;During user is by new edit commands editing files, if connecing The order for checking file current state is received, then shows the current state of file, includes carrying user in current state The new edit commands of title, after receiving for checking the order of the file current state, detect whether exist with The corresponding swap file of the file sends notification information to pre-set user, herein no longer when the swap file is not present It repeats.
Compared with prior art, present embodiments provide for a kind of reminding methods of Linux server, by being in detection After no presence swap file corresponding with the file, swap file corresponding with the file, is further obtained if it exists The generation time of the swap file;Duration existing for the swap file is calculated according to the generation time of the swap file;If the friendship Duration existing for exchange of notes part is greater than preset duration, then deletes the swap file, sends notification information to pre-set user, is conducive to keep away Though the current unmanned editor of the file caused by reasons such as exempting from not to be normally closed because of this document, swap file is still deposited , caused by the case where pre-set user can not being notified in time to edit the file.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed Core design with process is all in the protection scope of the patent.
Four embodiment of the invention is related to a kind of Linux server, as shown in Figure 4, comprising: at least one processor 41;And the memory 42 with the communication connection of at least one processor 41;Wherein, be stored with can be by least one for memory 42 Processor 41 execute instruction, instruction executed by least one processor 41 so that at least one processor 41 be able to carry out as First to any Linux server of 3rd embodiment reminding method.
Wherein, memory 42 is connected with processor 41 using bus mode, and bus may include any number of interconnection Bus and bridge, bus is by one or more processors 41 together with the various circuit connections of memory 42.Bus can also incite somebody to action Together with various other circuit connections of management circuit or the like, these are all abilities for such as peripheral equipment, voltage-stablizer Well known to domain, therefore, it will not be further described herein.Bus interface is provided between bus and transceiver and is connect Mouthful.Transceiver can be an element, is also possible to multiple element, such as multiple receivers and transmitter, provides for passing The unit communicated on defeated medium with various other devices.The data handled through processor 41 are carried out on the radio medium by antenna Transmission, further, antenna also receives data and transfers data to processor 41.
Processor 41 is responsible for management bus and common processing, can also provide various functions, including timing, periphery connects Mouthful, voltage adjusting, power management and other control functions.And memory 42 can be used for storage processor 41 and execute behaviour Used data when making.
Fifth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application The all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention, And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (11)

1. a kind of reminding method of Linux server characterized by comprising
When detecting user by server described in the Account Logon with Document Editing permission, specified by user for identifying User's title of the user;
User's title and the edit commands foundation in the Linux server are flexible coupling, generating makes described in a carrying The new edit commands of user's title;
During the user is by the new edit commands editing files, if receiving for checking that the file is worked as The order of preceding state, then show the current state of the file, includes carrying user's name in the current state The new edit commands claimed.
2. the reminding method of Linux server according to claim 1, which is characterized in that described specified by user is used for The user's title for identifying the user, specifically includes: described for identifying user's title of the user by user's input;
Alternatively,
The list provided by user by the server is specified described for identifying user's title of the user;The column It include several user's titles that the server is collected into advance in table.
3. the reminding method of Linux server according to claim 1, which is characterized in that receive described for looking into It sees after the order of the file current state, further includes:
Detect whether there is swap file corresponding with the file;
When the swap file is not present, notification information is sent to pre-set user.
4. the reminding method of Linux server according to claim 3, which is characterized in that it is described detect whether exist with The corresponding swap file of the file, specifically includes: according to preset time interval, detecting whether to exist corresponding with the file Swap file.
5. the reminding method of Linux server according to claim 3, which is characterized in that it is described detect whether exist with The corresponding swap file of the file, specifically includes: after the Linux server is turned on, detect whether to exist automatically with The corresponding swap file of the file.
6. the reminding method of Linux server according to claim 3, which is characterized in that detect whether exist described After swap file corresponding with the file, further includes:
The swap file corresponding with the file if it exists, then obtain the generation time of the swap file;
Duration existing for the swap file is calculated according to the generation time of the swap file;
If duration existing for the swap file is greater than preset duration, the swap file is deleted, is sent to pre-set user logical Know information.
7. the reminding method of Linux server according to claim 3, which is characterized in that prestored in the server N number of email address, the N are the natural number more than or equal to 1 correspondingly with N number of user's title;
It is described to send notification information to pre-set user when the notification information is mail notification information, it specifically includes:
Obtain described and N number of user's title N number of email address correspondingly;
The mail notification information is sent according to N number of email address.
8. the reminding method of Linux server according to claim 1, which is characterized in that described by user's name Claim to establish with the edit commands in the Linux server and be flexible coupling, especially by Ln order by user's title and institute The edit commands foundation stated in Linux server is flexible coupling.
9. the reminding method of Linux server according to claim 1, which is characterized in that described described for checking The order of file current state, specifically: w order.
10. a kind of Linux server characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one It manages device to execute, so that at least one described processor is able to carry out the Linux server as described in any in claim 1 to 9 Reminding method.
11. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located Reason device realizes the reminding method of Linux server described in any one of claims 1 to 9 when executing.
CN201811072827.8A 2018-09-14 2018-09-14 Prompting method of Linux server, Linux server and computer readable storage medium Expired - Fee Related CN109376525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811072827.8A CN109376525B (en) 2018-09-14 2018-09-14 Prompting method of Linux server, Linux server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811072827.8A CN109376525B (en) 2018-09-14 2018-09-14 Prompting method of Linux server, Linux server and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109376525A true CN109376525A (en) 2019-02-22
CN109376525B CN109376525B (en) 2020-11-03

Family

ID=65405301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811072827.8A Expired - Fee Related CN109376525B (en) 2018-09-14 2018-09-14 Prompting method of Linux server, Linux server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109376525B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442747A (en) * 2009-01-15 2009-05-27 吴静 Method and system for automatically judging user identification by terminal
US20130117841A1 (en) * 2011-11-04 2013-05-09 Sanken Electric Co., Ltd. Information processing program and information processing method
CN104618486A (en) * 2015-02-06 2015-05-13 浪潮电子信息产业股份有限公司 Unified management method of multi-platform users of cluster storage system
CN105069372A (en) * 2015-07-27 2015-11-18 武汉华工安鼎信息技术有限责任公司 File monitoring system in Linux environment
FR3021143B1 (en) * 2014-05-16 2016-05-27 Oberthur Technologies SECURE ELEMENT AND METHOD IMPLEMENTED IN SAFE SUCH ELEMENT
CN106874053A (en) * 2017-02-27 2017-06-20 郑州云海信息技术有限公司 It is a kind of to support that user accesses the method and system that vsftpd services root
CN107172183A (en) * 2017-06-07 2017-09-15 郑州云海信息技术有限公司 A kind of method for being managed collectively user, apparatus and system
CN107766707A (en) * 2017-10-16 2018-03-06 郑州云海信息技术有限公司 The method and apparatus that user's request is responded in application container engine
CN107959673A (en) * 2017-11-17 2018-04-24 广东省信息安全测评中心 Abnormal login detecting method, device, storage medium and computer equipment
CN108121658A (en) * 2017-11-29 2018-06-05 北京轩宇信息技术有限公司 Method based on WINDOWS ends testing tool test LINUX ends tested software

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442747A (en) * 2009-01-15 2009-05-27 吴静 Method and system for automatically judging user identification by terminal
US20130117841A1 (en) * 2011-11-04 2013-05-09 Sanken Electric Co., Ltd. Information processing program and information processing method
FR3021143B1 (en) * 2014-05-16 2016-05-27 Oberthur Technologies SECURE ELEMENT AND METHOD IMPLEMENTED IN SAFE SUCH ELEMENT
CN104618486A (en) * 2015-02-06 2015-05-13 浪潮电子信息产业股份有限公司 Unified management method of multi-platform users of cluster storage system
CN105069372A (en) * 2015-07-27 2015-11-18 武汉华工安鼎信息技术有限责任公司 File monitoring system in Linux environment
CN106874053A (en) * 2017-02-27 2017-06-20 郑州云海信息技术有限公司 It is a kind of to support that user accesses the method and system that vsftpd services root
CN107172183A (en) * 2017-06-07 2017-09-15 郑州云海信息技术有限公司 A kind of method for being managed collectively user, apparatus and system
CN107766707A (en) * 2017-10-16 2018-03-06 郑州云海信息技术有限公司 The method and apparatus that user's request is responded in application container engine
CN107959673A (en) * 2017-11-17 2018-04-24 广东省信息安全测评中心 Abnormal login detecting method, device, storage medium and computer equipment
CN108121658A (en) * 2017-11-29 2018-06-05 北京轩宇信息技术有限公司 Method based on WINDOWS ends testing tool test LINUX ends tested software

Also Published As

Publication number Publication date
CN109376525B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
US8250132B2 (en) Managing messages related to workflows
Mondal et al. Forgetting in social media: Understanding and controlling longitudinal exposure of socially shared data
CN109040329B (en) Method for determining contact person label, terminal device and medium
CN109345417B (en) Online assessment method and terminal equipment for business personnel based on identity authentication
JP2007305135A (en) Method and program for showing electronic communication document with copy of electronic communication document stored to person concerned, and method, system and device for showing at least one of person concerned and contributor that electronic communication document is stored
CN104468833B (en) The method and apparatus that solicited message is uniformly processed
CN106355414A (en) Method and apparatus for processing user feedback information
CN110391959B (en) Method and device for setting control authority based on intelligent home control system
CN104424352B (en) The system and method that agency service is provided to user terminal
CN110191131A (en) A kind of file sharing method, device, system, server and storage medium
CN106533923A (en) Information processing method and device based on instant messaging software
AU2014203425B2 (en) Social workflow engine
CN113641742B (en) Data extraction method, device, equipment and storage medium
US20100057855A1 (en) Tracking subject matter in an e-mail discussion
CN104182479B (en) A kind of method and device handling information
CN109829821A (en) A kind of abnormal processing method of digital asset address transfer, apparatus and system
CN109559246A (en) Enter group checking method, audit server, client and enters group auditing system
CN106993015A (en) Synchronous method, system and the security server of transaction
US9722956B2 (en) Managing electronic mail for an end-user that is unavailable
CN107623627A (en) A kind of information replying method and device, terminal and readable storage medium storing program for executing
US9923857B2 (en) Symbolic variables within email addresses
CN109598481B (en) Conference management authority processing method and device, computer equipment and storage medium
CN107508745A (en) The association input method and device and computing device of prompting message
CN106332054A (en) Method and device for identifying verification in data migration
CN109376525A (en) Reminding method, Linux server and the computer readable storage medium of Linux server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201103

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