CN114691741A - Information sharing method and device, electronic equipment and computer storage medium - Google Patents

Information sharing method and device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN114691741A
CN114691741A CN202210331099.8A CN202210331099A CN114691741A CN 114691741 A CN114691741 A CN 114691741A CN 202210331099 A CN202210331099 A CN 202210331099A CN 114691741 A CN114691741 A CN 114691741A
Authority
CN
China
Prior art keywords
user
account
information
inquired
permission level
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.)
Pending
Application number
CN202210331099.8A
Other languages
Chinese (zh)
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202210331099.8A priority Critical patent/CN114691741A/en
Publication of CN114691741A publication Critical patent/CN114691741A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • G06Q10/1091Recording time for administrative or management purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Educational Administration (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Computational Linguistics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an information sharing method, an information sharing device, electronic equipment and a computer storage medium, wherein the method comprises the steps of obtaining user information of all users who successfully log in a system at present; processing the attendance information, determining the travel information of each user, and storing the account number of each user and the corresponding travel information; if a query instruction is received, querying a first user permission level corresponding to a user account of a user in a database, wherein the query instruction carries the account name of at least one user to be queried; determining a second user permission level corresponding to the user to be inquired based on the account of the user to be inquired, wherein the account of the user to be inquired is obtained by inquiring a database based on the account name of the user to be inquired; and when the first user permission level is determined to be larger than the second user permission level, displaying the travel information corresponding to the account of the user to be inquired. Through the mode, the state of the staff can be known in time, so that the efficiency of cooperative office work and the management efficiency of enterprises are improved.

Description

Information sharing method and device, electronic equipment and computer storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to an information sharing method and apparatus, an electronic device, and a computer storage medium.
Background
Currently, office situations often occur in different places for members of the same department or team. Office data and travel information of office work in different places are often uploaded to enterprise managers in a manual mode, and due to the fact that the office data and the travel information cannot be shared in time, management efficiency of enterprises is low.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information sharing method, an information sharing apparatus, an electronic device, and a computer storage medium, so as to solve the problem in the prior art that the efficiency of collaborative work and the efficiency of enterprise management are not high.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a first aspect of an embodiment of the present invention shows an information sharing method, where the method includes:
acquiring user information of all users who successfully log in the system at present, wherein the user information at least comprises attendance information;
processing the attendance checking information, determining the travel information of each user, and storing the account number of each user and the corresponding travel information;
if a query instruction input by a user based on a user operation interface is received, querying a first user permission level corresponding to a user account of the user in a database, wherein the query instruction carries the account name of at least one user to be queried;
determining a second user permission level corresponding to the user to be queried based on the account of the user to be queried, wherein the account of the user to be queried is obtained by querying a database based on the account name of the user to be queried;
and when the first user permission level is determined to be greater than the second user permission level, displaying the travel information corresponding to the account of the user to be inquired.
Optionally, the method further includes:
if the first user permission level is determined to be equal to the second user permission level, judging whether the user account of the user is consistent with the account of the user to be inquired;
and if the travel information is consistent with the account number of the user to be inquired, displaying the travel information corresponding to the account number of the user to be inquired.
Optionally, the method further includes:
and if the user account of the user is determined to be inconsistent with the account of the user to be inquired, generating the journey information which cannot be inquired about the user to be inquired based on the information that the user account of the user is inconsistent with the account of the user to be inquired about, and displaying the journey information.
Optionally, the method further includes:
and when the first user authority level is determined to be smaller than the second user authority level, generating information which cannot be inquired about the inquiry instruction, and displaying the information.
Optionally, the method further includes:
if the user information is determined to include office information, determining account numbers of common office objects based on the common office objects in the office information;
and sharing the project data in the office information to the account number of the common office object so as to be conveniently viewed by the common office object.
A second aspect of an embodiment of the present invention shows an information sharing apparatus, where the apparatus includes:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring user information of all users who successfully log in the system at present, and the user information at least comprises attendance information;
the processing unit is used for processing the attendance information, determining the travel information of each user and storing the account number of each user and the corresponding travel information;
the query unit is used for querying a first user permission level corresponding to a user account of a user in a database when a query instruction input by the user based on a user operation interface is received, wherein the query instruction carries the account name of at least one user to be queried; determining a second user permission level corresponding to the user to be queried based on the account of the user to be queried, wherein the account of the user to be queried is obtained by querying a database based on the account name of the user to be queried;
and the display unit is used for displaying the travel information corresponding to the account of the user to be inquired when the first user permission level is determined to be greater than the second user permission level.
Optionally, the determining unit is configured to determine whether the user account of the user is consistent with the account of the user to be queried if it is determined that the first user permission level is equal to the second user permission level;
correspondingly, the display unit is further configured to display the trip information corresponding to the account of the user to be queried if the user account of the user is consistent with the account of the user to be queried.
Optionally, the determining unit is further configured to: and if the user account of the user is determined to be inconsistent with the account of the user to be inquired, generating the journey information which cannot be inquired by the user to be inquired based on the information that the user account of the user is inconsistent with the account of the user to be inquired.
A third aspect of the embodiments of the present invention shows an electronic device, where the electronic device is configured to run a program, where the program executes the information sharing method shown in the first aspect of the embodiments of the present invention when running.
A fourth aspect of the embodiments of the present invention shows a computer storage medium, where the storage medium includes a storage program, and when the program runs, a device on which the storage medium is located is controlled to execute the information sharing method shown in the first aspect of the embodiments of the present invention.
Based on the information sharing method, the information sharing device, the electronic equipment and the computer storage medium provided by the embodiment of the invention, the method comprises the following steps: acquiring user information of all users who successfully log in the system at present, wherein the user information at least comprises attendance information; processing the attendance information, determining the travel information of each user, and storing the account number of each user and the corresponding travel information; if a query instruction input by a user based on a user operation interface is received, querying a first user permission level corresponding to a user account of the user in a database, wherein the query instruction carries the account name of at least one user to be queried; determining a second user permission level corresponding to the user to be queried based on the account of the user to be queried, wherein the account of the user to be queried is obtained by querying a database based on the account name of the user to be queried; and when the first user permission level is determined to be larger than the second user permission level, displaying the travel information corresponding to the account of the user to be inquired. In the embodiment of the invention, user information of all users who successfully log in the system at present is obtained, the attendance information is processed, and the corresponding travel information is determined; then, when a query instruction input by a user based on a user operation interface is received, querying a first user permission level corresponding to a user account of the user in a database; inquiring a second user permission level corresponding to the user to be inquired; and when the first user permission level is determined to be larger than the second user permission level, displaying the travel information corresponding to the account of the user to be inquired. Through the mode, the state of the staff can be known in time, so that the efficiency of cooperative office work and the management efficiency of enterprises are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic architecture diagram of a data access module, a server and a display module according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an information sharing method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating another information sharing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an information sharing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, 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 a process, method, article, or apparatus that comprises the element.
For convenience of understanding, terms appearing in the embodiments of the present invention are explained below:
front end: the WEB site foreground part is a WEB page running on a PC end and a mobile end and is used for displaying data and user interaction.
A rear end: the background part of the website runs on the server side to realize business logic and provide a service interface for the front-end page.
Separation of front and rear ends: and stripping the page rendering from the Server end, placing the page rendering at the front end for execution, and performing data interaction between the front end and the back end only through an API.
Vue: a core function of the progressive JavaScript framework for constructing the user interface is a view template engine which comprises declarative rendering and a component system.
iView: a set Vue-based desktop UI component library.
PJF mobile: a set Vue-based mobile UI component library.
SPA: a single page Web application, an application with only one Web page, loads a single HTML page and dynamically updates the content of the page as the user interacts with the application.
Micro-service architecture: a method for developing a single application as a suite of small services, each running in its own process and communicating using a lightweight mechanism (usually HTTP API).
Due to the background, it is known that, at present, the office often occurs in different places for members of the same department or team. Office data and travel information of office in different places are uploaded to enterprise managers manually and are sent to team members who collaborate together, and office data cannot be shared in time, so that the efficiency of collaborative office and the management efficiency of enterprises are low.
In the embodiment of the invention, the user information of all users who successfully log in the system at present is obtained, the attendance information is processed, and the corresponding travel information and office information are determined; then, when a query instruction input by a user based on a user operation interface is received, querying a first user permission level corresponding to a user account of the user in a database; inquiring a second user permission level corresponding to the user to be inquired; and when the first user permission level is determined to be larger than the second user permission level, displaying the travel information corresponding to the account of the user to be inquired. And sharing the project data in the office information to the account number of the common office object based on the common office object in the office information so as to facilitate the common office object to view. Through the mode, the state of the staff can be known in time, so that the efficiency of cooperative office work and the management efficiency of enterprises are improved.
Referring to fig. 1, a schematic diagram of an architecture of a data access module, a server and a display module according to an embodiment of the present invention is shown, where the information sharing includes a data access module 10, a server 20 and a display module 30.
The display module 30, i.e. the display layer, is used to provide the corresponding PC-side and mobile-side page displays.
The presentation layer may be implemented by using an Vue framework, wherein the PC side may use an iView component, and the mobile side may use a PJF mobile component, which is not limited in this embodiment of the present invention.
The service end 20, i.e. the service layer, is configured to provide back-end core service implementation, including sub-units such as analysis processing, query display, authority control, management and maintenance.
The server 20 is implemented mainly based on a base component layer Spring Cloud and a micro-service framework Spring Boot. The basic component layer Spring Cloud comprises a service gateway, a registration center, a configuration center, a message vertical, service monitoring and flow control.
The access module 10, that is, the access layer, includes a data access module and is responsible for accessing data such as an external attendance system.
The access module 10 includes a database and a cache database.
The access module 10 is connected with the server 20, and the server 20 is connected with the display module 30.
The process of implementing information sharing based on the application architecture shown above is as follows:
the access module 10 is configured to obtain user information of all users who successfully log in the system at present, and access the user information to the server 20, where the user information at least includes attendance information.
The server 20 is configured to process the attendance information, determine travel information of each user, and store an account of each user and the corresponding travel information; if a query instruction input by a user based on a user operation interface is received, querying a first user permission level corresponding to a user account of the user in a database, wherein the query instruction carries the account name of at least one user to be queried; determining a second user permission level corresponding to the user to be queried based on the account of the user to be queried, wherein the account of the user to be queried is obtained by querying a database based on the account name of the user to be queried; and when the first user permission level is determined to be greater than the second user permission level, displaying the travel information corresponding to the account of the user to be inquired through a display module 30.
And a display module 30 for displaying the travel information corresponding to the account of the user to be queried by the user.
In the embodiment of the invention, user information of all users who successfully log in the system at present is obtained, the attendance information is processed, and corresponding travel information and office information are determined; then, when a query instruction input by a user based on a user operation interface is received, querying a first user permission level corresponding to a user account of the user in a database; inquiring a second user authority level corresponding to the user to be inquired; and when the first user permission level is determined to be greater than the second user permission level, displaying the travel information corresponding to the account of the user to be inquired. And sharing the project data in the office information to the account number of the common office object based on the common office object in the office information so as to facilitate the common office object to view. Through the mode, the state of the staff can be known in time, so that the efficiency of cooperative office work and the management efficiency of enterprises are improved.
Referring to fig. 2, a schematic flow chart of an information sharing method according to an embodiment of the present invention is shown, where the method includes:
step S201: and acquiring user information of all users who successfully log in the system at present.
In step S201, the user information at least includes attendance information.
Specific contents of S201: the method comprises the steps of obtaining an account and a password input by a user, judging whether the account and the password are consistent with the account and the password of the user stored in a database in advance, if so, indicating that the current user successfully logs in, calling a related interface of an attendance system, and obtaining the time and place fields of the card punching of all the successfully logged-in users.
Furthermore, it should be noted that the attendance information also includes information such as application leave, call, business trip, etc. uploaded by the user.
Optionally, the user information further includes office information.
In a specific implementation, the office information of the user is acquired at a predetermined time interval.
Note that the office information includes a common office object, and project data.
The predetermined time interval is set in advance according to experiments, and may be set every 1 hour, for example.
Optionally, if the account and the password are not consistent with the account and the password of the user pre-stored in the database, a prompt interface of login failure is displayed.
Step S202: and processing the attendance information, determining the travel information of each user, and storing the account number of each user and the corresponding travel information.
In the process of specifically implementing the step S202, converting the time of punching a card in the attendance information into an office time period on the system, and converting the place of punching a card in the attendance information into an office place on the system; and then establishing a mapping relation between the account number of each user and the corresponding travel information, and storing.
It should be noted that each user has a unique account number, and each account number has an account number name corresponding to the account number.
The travel information includes the user's office time and office location.
The journey information also includes leave-asking, rest, public, spacious work and other information.
In the concrete implementation, if the journey information also includes information of leave asking, rest, leaving, absenteeism and the like, the information of leave asking, rest, leaving, absenteeism and the like is converted into corresponding time intervals so as to clearly and directly know the working time trend.
Step S203: and judging whether a query instruction input by the user based on the user operation interface is received, if so, executing the step S204 to the step S208, and if not, continuing to execute the step S203.
In the process of implementing step S203, the user operation interface is monitored in real time, if it is monitored that the user inputs the query instruction based on the user operation interface, step S204 to step S208 are executed, and if it is not monitored that the user inputs the query instruction based on the user operation interface, step S203 is continuously executed.
Step S204: and inquiring a first user permission level corresponding to the user account of the user in a database.
In step S204, the query instruction carries an account name of at least one user to be queried.
In the specific implementation process of step S204, the database is traversed, and a first user permission level corresponding to the user account of the user is queried.
Optionally, the user permission level is allocated to the user in advance according to the difference of the actual positions of the user.
In the process of specifically realizing that the user authority level is allocated to the user in advance according to the difference of the actual positions of the user, the method comprises the following steps:
dividing users into 5 grades of users according to the positions of the users; and storing the grade of the user and the corresponding account number into a database together.
In a specific implementation, the users are classified according to the sizes of the positions of the users, specifically, the users are classified into S, A, B, C and D which are 5 grades, and the classification is performed from left to right in a mode from big to small.
The job positions of the users comprise company high-level personnel, company management level personnel, middle-level management personnel, department management personnel and department group personnel.
Specifically, the user authority level assigned by the high-level user of the company is S level, and the travel information of all the personnel in the enterprise can be checked.
The user authority level assigned by the company management layer user is A level, and the related information of the user at the level below the middle layer management user and the user at the self level can be checked.
The user authority level allocated by the middle management user is B level, and the related information of the user at the level below the user and the department management user can be checked.
The user authority level distributed by the department management user is C level, and the user related information of the department management user and the department group member can be checked.
The user authority level D assigned by the department member user can check the travel information of the department member, and the department member does not have the right to check the specific information of other department members.
Step S205: and determining a second user permission level corresponding to the user to be inquired based on the account of the user to be inquired.
In step S205, the account of the user to be queried is obtained by querying a database based on the account name of the user to be queried.
In the process of implementing step S205 specifically, if the query instruction carries an account name of a user to be queried, searching an account corresponding to the account name of the user to be queried from a database, traversing the database, and querying a second user permission level corresponding to the account of the user to be queried; if the query instruction carries account names of a plurality of users to be queried, searching an account corresponding to the account name of each user to be queried from a database; and traversing the database, and inquiring a second user permission level corresponding to the account of each user to be inquired.
Step S206: and determining whether the first user permission level is greater than the second user permission level, executing a step S207 when determining that the first user permission level is greater than the second user permission level, and executing a step S208 when determining that the first user permission level is less than the second user permission level.
In the process of implementing step S206 specifically, if the query instruction carries an account name of a user to be queried, it is determined whether the first user permission level is greater than the second user permission level, step S207 is executed when it is determined that the first user permission level is greater than the second user permission level, and step S208 is executed when it is determined that the first user permission level is less than the second user permission level.
If the query instruction carries account names of a plurality of users to be queried, judging whether the first user permission level is greater than the second user permission level or not for the second user permission level corresponding to each user to be queried, executing step S207 when the first user permission level is determined to be greater than the second user permission level, and executing step S208 when the first user permission level is determined to be less than the second user permission level.
Optionally, if it is determined that the first user permission level is equal to the second user permission level, determining whether the user account of the user is consistent with the account of the user to be queried; and if the travel information is consistent with the account number of the user to be inquired, displaying the travel information corresponding to the account number of the user to be inquired. And if the user account of the user is determined to be inconsistent with the account of the user to be inquired, generating the journey information which cannot be inquired about the user to be inquired based on the information that the user account of the user is inconsistent with the account of the user to be inquired about, and displaying the journey information.
In a specific implementation, whether the user account of the user is completely the same as the account of the user to be queried is compared, if so, the journey information corresponding to the account of the user to be queried is displayed, and if it is determined that the user account of the user is not the same as the account of the user to be queried, the journey information of the user to be queried cannot be queried is generated and displayed based on the information that the user account of the user is inconsistent with the account of the user to be queried.
Step S207: and displaying the travel information corresponding to the account of the user to be inquired.
In the process of specifically implementing step S207, the travel information corresponding to the account of the user to be queried is displayed through a display layer.
Step S208: and generating and displaying information which cannot be inquired about the inquiry instruction.
In the process of implementing step S208 specifically, information that cannot be queried about the query instruction is generated and displayed through the display layer.
In the embodiment of the invention, user information of all users who successfully log in the system at present is obtained, the attendance information is processed, and the corresponding travel information is determined; then, when a query instruction input by a user based on a user operation interface is received, querying a first user permission level corresponding to a user account of the user in a database; inquiring a second user permission level corresponding to the user to be inquired; and when the first user permission level is determined to be larger than the second user permission level, displaying the travel information corresponding to the account of the user to be inquired. Through the mode, the state of the staff can be known in time, so that the efficiency of cooperative office work and the management efficiency of enterprises are improved.
Corresponding to the information sharing method shown in the above embodiment of the present invention, another information sharing method is disclosed in the embodiment of the present invention, and as shown in fig. 3, the method is a schematic flow chart of another information sharing method shown in the embodiment of the present invention, and the method includes:
step S301: and acquiring user information of all users who successfully log in the system at present.
In step S301, the user information includes office information.
Specific contents of S301: the method comprises the steps of obtaining an account and a password input by a user, judging whether the account and the password are consistent with the account and the password of the user stored in a database in advance, if so, indicating that the current user successfully logs in, calling a related interface of an attendance system, and obtaining office information of the user according to a preset time interval.
Note that the office information includes a common office object, and project data.
The predetermined time interval is set in advance according to experiments, and may be set every 1 hour, for example.
Step S302: determining account numbers of common office objects based on the common office objects in the office information.
In the process of implementing step S302 specifically, account names of common office objects in the office information are determined, and corresponding accounts are queried based on the account names, that is, the accounts of the common office objects are determined.
Step S303: and sharing the project data in the office information to the account number of the common office object so as to be conveniently viewed by the common office object.
In the specific implementation process of step S303, the item data in the office information is shared to the account of the common office object in real time, so that the common office object can view the item data conveniently.
In the embodiment of the invention, the user information of all users who successfully log in the system at present is obtained, and the project data in the office information is shared to the account number of the common office object based on the common office object in the office information, so that the common office object can be conveniently viewed. Through the mode, the state of the staff can be known in time, so that the efficiency of cooperative office work and the management efficiency of enterprises are improved.
Based on the information sharing method shown in the above embodiment of the present invention, an information sharing device is also correspondingly disclosed in the embodiment of the present invention, as shown in fig. 4, which is a schematic structural diagram of the information sharing device shown in the embodiment of the present invention, and the device includes:
an obtaining unit 401, configured to obtain user information of all users who successfully log in the system at present, where the user information at least includes attendance information.
The processing unit 402 is configured to process the attendance information, determine travel information of each user, and store an account of each user and the corresponding travel information. If a query instruction input by a user based on a user operation interface is received, querying a first user permission level corresponding to a user account of the user in a database, wherein the query instruction carries the account name of at least one user to be queried; and determining a second user permission level corresponding to the user to be queried based on the account of the user to be queried, wherein the account of the user to be queried is obtained by querying a database based on the account name of the user to be queried.
A displaying unit 403, configured to display the trip information corresponding to the account of the user to be queried when it is determined that the first user permission level is greater than the second user permission level.
It should be noted that, the specific principle and the implementation process of each unit in the information sharing apparatus disclosed in the above embodiment of the present invention are the same as the information sharing method shown in the above embodiment of the present invention, and reference may be made to corresponding parts in the information sharing method disclosed in the above embodiment of the present invention, and details are not described here again.
In the embodiment of the invention, user information of all users who successfully log in the system at present is obtained, the attendance information is processed, and corresponding travel information and office information are determined; then, when a query instruction input by a user based on a user operation interface is received, querying a first user permission level corresponding to a user account of the user in a database; inquiring a second user permission level corresponding to the user to be inquired; and when the first user permission level is determined to be larger than the second user permission level, displaying the travel information corresponding to the account of the user to be inquired. And sharing the project data in the office information to the account number of the common office object based on the common office object in the office information so as to facilitate the common office object to view. Through the mode, the state of the staff can be known in time, so that the efficiency of cooperative office work and the management efficiency of enterprises are improved.
Optionally, the information sharing apparatus shown based on the foregoing embodiment of the present invention further includes:
and the judging unit is used for judging whether the user account of the user is consistent with the account of the user to be inquired or not if the first user permission level is determined to be equal to the second user permission level.
Optionally, the determining unit is further configured to: and if the user account of the user is determined to be inconsistent with the account of the user to be inquired, generating the journey information which cannot be inquired by the user to be inquired based on the information that the user account of the user is inconsistent with the account of the user to be inquired.
Correspondingly, the displaying unit 403 is further configured to display the trip information corresponding to the account of the user to be queried if the user account of the user is consistent with the account of the user to be queried.
The displaying unit 403 is further configured to display the travel information of the user to be queried, which cannot be queried, after the travel information of the user to be queried is generated.
Optionally, based on the information sharing apparatus shown in the above embodiment of the present invention, the display unit 403 is further configured to generate and display information that cannot be queried about the query instruction when it is determined that the first user permission level is smaller than the second user permission level.
Optionally, based on the information sharing apparatus shown in the foregoing embodiment of the present invention, the processing unit 402 is further configured to determine, if it is determined that the user information includes office information, an account of a common office object in the office information based on the common office object; and sharing the project data in the office information to the account number of the common office object so as to be conveniently viewed by the common office object.
The embodiment of the invention also discloses an electronic device, which is used for operating the database storage process, wherein the information sharing method disclosed in the figure 2 and the figure 3 is executed when the database storage process is operated.
The embodiment of the invention also discloses a computer storage medium, which comprises a storage database storage process, wherein when the storage database storage process runs, the equipment where the storage medium is located is controlled to execute the information sharing method disclosed in the figure 2 and the figure 3.
In the context of this disclosure, a computer storage medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An information sharing method, the method comprising:
acquiring user information of all users who successfully log in the system at present, wherein the user information at least comprises attendance information;
processing the attendance information, determining the travel information of each user, and storing the account number of each user and the corresponding travel information;
if a query instruction input by a user based on a user operation interface is received, querying a first user permission level corresponding to a user account of the user in a database, wherein the query instruction carries the account name of at least one user to be queried;
determining a second user permission level corresponding to the user to be queried based on the account of the user to be queried, wherein the account of the user to be queried is obtained by querying a database based on the account name of the user to be queried;
and when the first user permission level is determined to be greater than the second user permission level, displaying the travel information corresponding to the account of the user to be inquired.
2. The method of claim 1, further comprising:
if the first user permission level is determined to be equal to the second user permission level, judging whether the user account of the user is consistent with the account of the user to be inquired;
and if the travel information is consistent with the account number of the user to be inquired, displaying the travel information corresponding to the account number of the user to be inquired.
3. The method of claim 2, further comprising:
and if the user account of the user is determined to be inconsistent with the account of the user to be inquired, generating the journey information which cannot be inquired about the user to be inquired based on the information that the user account of the user is inconsistent with the account of the user to be inquired about, and displaying the journey information.
4. The method of claim 1, further comprising:
and when the first user permission level is determined to be smaller than the second user permission level, generating information which cannot be inquired about the inquiry instruction, and displaying the information.
5. The method of claim 1, further comprising:
if the user information is determined to include office information, determining account numbers of common office objects based on the common office objects in the office information;
and sharing the project data in the office information to the account number of the common office object so as to be conveniently viewed by the common office object.
6. An information sharing apparatus, the apparatus comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring user information of all users who successfully log in the system at present, and the user information at least comprises attendance information;
the processing unit is used for processing the attendance information, determining the travel information of each user and storing the account number of each user and the corresponding travel information;
the query unit is used for querying a first user permission level corresponding to a user account of a user in a database when receiving a query instruction input by the user based on a user operation interface, wherein the query instruction carries the account name of at least one user to be queried; determining a second user permission level corresponding to the user to be queried based on the account of the user to be queried, wherein the account of the user to be queried is obtained by querying a database based on the account name of the user to be queried;
and the display unit is used for displaying the travel information corresponding to the account of the user to be inquired when the first user permission level is determined to be greater than the second user permission level.
7. The apparatus of claim 6, further comprising:
the judging unit is used for judging whether the user account of the user is consistent with the account of the user to be inquired or not if the first user permission level is determined to be equal to the second user permission level;
correspondingly, the display unit is further configured to display the trip information corresponding to the account of the user to be queried if the user account of the user is consistent with the account of the user to be queried.
8. The apparatus of claim 7, wherein the determining unit is further configured to: and if the user account of the user is determined to be inconsistent with the account of the user to be inquired, generating the journey information which cannot be inquired by the user to be inquired based on the information that the user account of the user is inconsistent with the account of the user to be inquired.
9. An electronic device, wherein the electronic device is configured to run a program, and wherein the program is configured to execute the information sharing method according to any one of claims 1 to 5 when running.
10. A computer storage medium, characterized in that the storage medium includes a storage program, wherein when the program runs, a device on which the storage medium is located is controlled to execute the information sharing method according to any one of claims 1 to 5.
CN202210331099.8A 2022-03-31 2022-03-31 Information sharing method and device, electronic equipment and computer storage medium Pending CN114691741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210331099.8A CN114691741A (en) 2022-03-31 2022-03-31 Information sharing method and device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210331099.8A CN114691741A (en) 2022-03-31 2022-03-31 Information sharing method and device, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN114691741A true CN114691741A (en) 2022-07-01

Family

ID=82140315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210331099.8A Pending CN114691741A (en) 2022-03-31 2022-03-31 Information sharing method and device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN114691741A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115017531A (en) * 2022-08-09 2022-09-06 威海海洋职业学院 Financial data sharing method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115017531A (en) * 2022-08-09 2022-09-06 威海海洋职业学院 Financial data sharing method and system

Similar Documents

Publication Publication Date Title
CN112070457A (en) Project management method and device, electronic equipment and storage medium
CN111861140A (en) Service processing method, device, storage medium and electronic device
CN110347694B (en) Equipment monitoring method, device and system based on Internet of things
CN113987541A (en) Data access control method and device and electronic equipment
CN113807955A (en) Information auditing method and related equipment
CN113656123A (en) Information evaluation method, device and system for equal protection evaluation
CN114691741A (en) Information sharing method and device, electronic equipment and computer storage medium
CN112085225A (en) Operation and maintenance system and method for user side power equipment
CN103415847A (en) A system and method for accessing a service
CN111311200A (en) Management method and device for large passenger consultation work order platform
CN112489236B (en) Attendance data processing method and device, server and storage medium
CN114385999A (en) User authority management method, device, equipment and medium
CN113656122A (en) Information screening method, device and system for equal protection evaluation
CN113595886A (en) Instant messaging message processing method and device, electronic equipment and storage medium
KR101310420B1 (en) User-definable Process-based Management System for Urban Planning and Recording Media for the Same
CN115640457A (en) Information management method, apparatus, device, medium, and program product
US20150236927A1 (en) Unified communication service deployment system
CN115904527A (en) Data processing method, device, equipment and medium
CN104992289A (en) Method and system for carrying out business management by use of counseling suite
Lin et al. ShakeCast manual
CN114707091A (en) Page display method and device, electronic equipment and storage medium
CN114065248A (en) User access right control method and device, electronic equipment and storage medium
CN113570083A (en) Operation and maintenance flow determination method and device for equipment, electronic equipment and storage medium
CN112231185A (en) Knowledge acquisition method and device based on alarm information of application system
CN111667210A (en) Intelligent warehouse management method and device

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