CN113783772A - Method and equipment for setting card punching position - Google Patents

Method and equipment for setting card punching position Download PDF

Info

Publication number
CN113783772A
CN113783772A CN202111104312.3A CN202111104312A CN113783772A CN 113783772 A CN113783772 A CN 113783772A CN 202111104312 A CN202111104312 A CN 202111104312A CN 113783772 A CN113783772 A CN 113783772A
Authority
CN
China
Prior art keywords
user
instant messaging
messaging message
card punching
instruction
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
CN202111104312.3A
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.)
Shanghai Fenmu Information Technology Co ltd
Original Assignee
Shanghai Fenmu Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Fenmu Information Technology Co ltd filed Critical Shanghai Fenmu Information Technology Co ltd
Priority to CN202111104312.3A priority Critical patent/CN113783772A/en
Publication of CN113783772A publication Critical patent/CN113783772A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
    • 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • 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/58Message adaptation for wireless communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The method comprises the steps of obtaining selection operation of a first user on a first user side on a card punching setting mode; generating a first instant messaging message based on the selection operation; sending the first instant messaging message to a second user end so that the second user end obtains the positioning information of a second user based on the first instant messaging message; and setting a card punching position according to a received second instant messaging message sent by a second user end, wherein the second instant messaging message is generated and determined by the second user end based on the positioning information. Therefore, the information is sent through the instant messaging technology, the longitude and latitude information of the remote employees in the company is accurately acquired, the card punching position is set, the detailed information of the WIFI of the company connected with the remote employees is accurately acquired, the card punching is set to be connected with the WIFI, and the card punching rule of the remote companies is quickly and accurately set.

Description

Method and equipment for setting card punching position
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for setting a card punching position.
Background
The work punching card is a function used by each company at high frequency, in the prior art, in order to set the punching card with a position limiting type, a lot of shop position information can appear when the punching card position is searched in a map, the specific position longitude and latitude cannot be accurately positioned, and the distance deviation of several meters or even dozens of meters can be generated when the punching card position is set.
When the WIFI is set for card punching, only local connection WIFI information of the mobile phone can be acquired, parameter information corresponding to WIFI set in other remote places cannot be acquired, and the WIFI card punching of employees of the branch companies of all shops cannot be uniformly finished aiming at the branch companies or other chain stores in different places.
Disclosure of Invention
An object of the present application is to provide a method and an apparatus for setting a card punching position, which solve the problems in the prior art that a serious distance deviation is generated in the position card punching setting and it is difficult to complete the remote WIFI card punching setting without obtaining remote WIFI information.
According to an aspect of the present application, there is provided a method for setting a card punching position at a first user terminal, wherein the method includes:
acquiring the selection operation of a first user on a first user side on a card punching setting mode;
generating a first instant messaging message based on the selection operation;
sending the first instant messaging message to a second user end so that the second user end obtains the positioning information of a second user based on the first instant messaging message;
and setting a card punching position according to a received second instant messaging message sent by a second user end, wherein the second instant messaging message is generated and determined by the second user end based on the positioning information.
Optionally, the card punching setting mode includes a location setting mode and a WIFI setting mode, and the first instant messaging message is generated based on the selection operation, and includes any one of the following:
when the first user selects a place setting mode as a card punching setting mode, calling an acquisition instruction of longitude and latitude related parameters based on the place setting mode, and packaging the acquisition instruction of the longitude and latitude related parameters to generate a first instant messaging message;
and when the first user selects a WIFI setting mode as a card punching setting mode, calling an acquisition instruction of the WIFI information related parameters based on the WIFI setting mode, and packaging the acquisition instruction of the WIFI information related parameters to generate a first instant messaging message.
Optionally, before sending the first instant messaging message to the second user end, the method further includes:
and acquiring an object selection instruction of the first user on the first user side, and determining the second user from the user group according to the object selection instruction.
Optionally, the setting a card punching position according to the received second instant messaging message sent by the second user end includes:
acquiring a card punching position confirmation instruction of a first user;
unpacking the second instant messaging message based on the card punching position confirmation instruction of the first user to obtain unpacked positioning information;
and determining the unpacked positioning information as a card punching position.
According to another aspect of the present application, there is provided a method for setting a card punching position at a second user terminal, wherein the method comprises:
the method comprises the steps of obtaining a first instant messaging message sent by a first user, wherein the first instant messaging message is generated by the first user based on the selection operation of a first user on a card punching setting mode obtained by the first user;
acquiring the positioning information of a second user on a second user terminal based on the first instant messaging message;
packaging the positioning information and putting the positioning information into a designated message body to obtain a second instant messaging message;
and sending the second instant messaging message to the first user end, so that the first user end sets a card punching position according to the received second instant messaging message.
Optionally, obtaining location information of the second user on the second user end based on the first instant messaging message includes:
and acquiring a starting instruction of the second user, and starting the acquiring instruction in the first instant messaging message according to the starting instruction so as to acquire the positioning information of the second user on the second user side.
Optionally, before starting the obtaining instruction in the first instant messaging message according to the starting instruction, the method includes:
and judging whether the acquisition permission of the positioning information of the second user is acquired or not according to the first instant communication message, and if not, sending permission acquisition prompt to the second user in a specified mode, wherein the specified mode comprises a popup mode or a dialog box mode.
Optionally, the positioning information includes longitude and latitude related parameters and WIFI information related parameters, and the obtaining instruction in the first instant messaging message is started according to the starting instruction to obtain the positioning information of the second user on the second user side, where the obtaining instruction includes any one of the following:
when the obtaining instruction is a latitude and longitude related parameter obtaining instruction, obtaining latitude and longitude related parameters corresponding to the current position of the second user, wherein the latitude and longitude related parameters comprise position longitude, position latitude and position name;
and when the acquisition instruction is an acquisition instruction of the WIFI information related parameters, acquiring the WIFI information related parameters of the second user, wherein the WIFI information related parameters comprise WIFI names and BSSID set information.
According to yet another aspect of the application, there is also provided a computer readable medium having computer readable instructions stored thereon, the computer readable instructions being executable by a processor to implement the method of any of the preceding claims.
According to yet another aspect of the present application, there is also provided an apparatus for setting a punch position, wherein the apparatus includes:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform operations of any of the methods described above.
Compared with the prior art, the method and the device have the advantages that the selection operation of the first user on the first user side for the card punching setting mode is obtained; generating a first instant messaging message based on the selection operation; sending the first instant messaging message to a second user end so that the second user end obtains the positioning information of a second user based on the first instant messaging message; and setting a card punching position according to a received second instant messaging message sent by a second user end, wherein the second instant messaging message is generated and determined by the second user end based on the positioning information. Therefore, the information is sent through the instant messaging technology, the longitude and latitude information of the remote employees in the company is accurately acquired, the card punching position is set, the detailed information of the WIFI of the company connected with the remote employees is accurately acquired, the card punching is set to be connected with the WIFI, and the card punching rule of the remote companies is quickly and accurately set.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a schematic flow chart illustrating a method for setting a card punching position at a first user end according to an aspect of the present application;
FIG. 2 is a flow chart illustrating a method for setting a card punching position on a second user side according to another aspect of the present application;
fig. 3 is a schematic diagram illustrating a new place punch card in an actual application scenario according to an alternative embodiment of the present application;
fig. 4 is a schematic diagram illustrating a view of obtaining location card punching information in a practical application scenario in an alternative embodiment of the present application;
fig. 5 is a schematic diagram illustrating a newly added WIFI card punch in an actual application scenario in an optional embodiment of the present application;
fig. 6 is a schematic diagram illustrating how to view and acquire WIFI card punching information in an actual application scenario in an optional embodiment of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
Fig. 1 is a schematic flow chart illustrating a method for setting a card punching position at a first user side according to an aspect of the present application, where the method includes: S100-S400, wherein in S100, the selection operation of a first user on a first user side on a card punching setting mode is obtained; in S200, generating a first instant messaging message based on the selection operation; in S300, the first instant messaging message is sent to a second user end, so that the second user end obtains the positioning information of the second user based on the first instant messaging message; in S400, a card punching position is set according to a received second instant messaging message sent by a second user, where the second instant messaging message is generated and determined by the second user based on the positioning information. Therefore, the information is sent through the instant messaging technology, the longitude and latitude information of the remote employees in the company is accurately acquired, the card punching position is set, the detailed information of the WIFI of the company connected with the remote employees is accurately acquired, the card punching is set to be connected with the WIFI, and the card punching rule of the remote companies is quickly and accurately set. It should be noted that the above-mentioned numbers are only used for referring to steps, and do not represent the execution sequence.
Specifically, in S100, a selection operation of the first user on the first user side for the card punch setting mode is acquired. Here, the card punch setting mode may be a mode in which the card punch setting in a scene such as a branch company or a branch shop is completed by positioning the card punch position using a GPS, or a mode in which the card punch setting in the scene is performed using a WIFI dedicated to the branch company or the branch shop. The first user can use the first user side to select the card punching setting mode on the upper computer or the mobile terminal, and the card punching setting mode selected by the first user side is determined by obtaining the selection operation of the first user on the card punching setting mode on the first user side.
In S200, a first instant messaging message is generated based on the selection operation. The card punching setting mode selected by the first user can be determined based on the selection operation, the corresponding positioning information needing to be acquired can be determined based on the determined card punching setting mode, and the related information parameters and the instruction needed for acquiring the positioning information are packaged to generate the first instant messaging message.
In S300, the first instant messaging message is sent to a second user end, so that the second user end obtains the location information of the second user based on the first instant messaging message. Here, the first instant messaging message is sent to the second user end, the first instant messaging message can be sent in a preset application program in a network mode, and then the second user end can obtain the first instant messaging message in the same session page, so that the operation of a user is simplified, and the use experience of the user is improved.
In S400, a card punching position is set according to a received second instant messaging message sent by a second user, where the second instant messaging message is generated and determined by the second user based on the positioning information. Here, the second user terminal generates a second instant messaging message based on the positioning information of the second user, the first user terminal receives the second instant messaging message, and then completes setting of the position of the card printer according to the positioning information included in the second instant messaging message, for example, current longitude and latitude information of the second user included in the second instant messaging message is acquired, or current connection WIFI information of the second user included in the second instant messaging message is acquired. And then setting a card-punching range by taking the current longitude and latitude information as a central point, or setting the currently connected WIFI information as a card-punching WIFI connection. Therefore, the information is sent through the instant messaging technology, the longitude and latitude information of the remote employees in the company is accurately acquired, the card punching position is set, the detailed information of the WIFI of the company connected with the remote employees is accurately acquired, the card punching is set to be connected with the WIFI, and the card punching rule of the remote companies is quickly and accurately set.
In an optional embodiment of the present application, in S200, the card punching setting mode includes a location setting mode and a WIFI setting mode, and when the first user selects the location setting mode as the card punching setting mode, the first user invokes an obtaining instruction of the longitude and latitude related parameters based on the location setting mode, and packages the obtaining instruction of the longitude and latitude related parameters to generate a first instant messaging message; and when the first user selects a WIFI setting mode as a card punching setting mode, calling an acquisition instruction of the WIFI information related parameters based on the WIFI setting mode, and packaging the acquisition instruction of the WIFI information related parameters to generate a first instant messaging message. Here, the first user selects a place setting mode as a card punching setting mode, and then calls a corresponding acquisition instruction based on the card punching mode of the place setting mode, where the acquisition instruction is to acquire longitude and latitude related parameters of a current position of a person in a branch company or a branch shop, and packages the acquisition instruction of the longitude and latitude related parameters in a specified packaging mode to generate a first instant messaging message. And the first user selects a WIFI setting mode as a card punching setting mode, calls a corresponding acquisition instruction based on the card punching mode of the WIFI setting mode, aims to acquire WIFI information related parameters set in a remote branch company or a branch shop, and packs the acquisition instruction of the WIFI information related parameters in a specified packing mode to generate a first instant messaging message. After the first instant messaging message is generated, the first instant messaging message can be sent to a plurality of second users in an instant conversation mode, and accurate card punching setting of a plurality of different branch stores or branch companies is unified.
In an optional embodiment of the present application, before sending the first instant messaging message to the second user, an object selection instruction of the first user on the first user is obtained, and the second user is determined from a user group according to the object selection instruction. Before the first instant messaging message is sent to the second user, the first user may select the corresponding second user in the user group on the first user end as an object for sending the first instant messaging message, so as to respectively obtain longitude and latitude related parameters or WIFI information related parameters of different second user locations in an instant session environment, and to conveniently realize asynchronous and/or synchronous card-printing setting of each branch company or branch shop; meanwhile, the sending object of the first instant messaging message can be accurately determined, and management difficulty caused by unified card punching setting of a plurality of different branch shops or branch companies is avoided.
In an optional embodiment of the present application, in S400, a card punching position confirmation instruction of a first user is obtained; unpacking the second instant messaging message based on the card punching position confirmation instruction of the first user to obtain unpacked positioning information; and determining the unpacked positioning information as a card punching position. The first user can click and confirm after confirming the card punching position through the instant conversation interface, so that a card punching position confirmation instruction of the first user can be obtained, and an information packet in the second instant communication message is unpacked based on the card punching position confirmation instruction of the first user to obtain unpacked positioning information, wherein the positioning information includes but is not limited to longitude and latitude related parameters of the second user or WIFI related parameters connected with the second user. And then determining the unpacked positioning information as a card punching position, thereby realizing the rapid and accurate setting of the card punching rule of the remote company.
Fig. 2 is a flowchart illustrating a method for setting a card punching position at a second user end according to another aspect of the present application, wherein the method includes: S500-S800, wherein in S500, a first instant messaging message sent by a first user terminal is obtained, wherein the first instant messaging message is generated by the first user terminal based on the selection operation of the first user on the card punching setting mode obtained by the first user terminal; in S600, acquiring location information of a second user on a second user side based on the first instant messaging message; in S700, the positioning information is packaged and put into a designated message body to obtain a second instant messaging message; in S800, the second instant messaging message is sent to the first user end, so that the first user end sets a card punching position according to the received second instant messaging message. Therefore, the information is sent through the instant messaging technology, the longitude and latitude information of the remote employees in the company is accurately acquired, the card punching position is set, the detailed information of the WIFI of the company connected with the remote employees is accurately acquired, the card punching is set to be connected with the WIFI, and the card punching rule of the remote companies is quickly and accurately set. It should be noted that the above-mentioned numbers are only used for referring to steps, and do not represent the execution sequence.
Specifically, in S500, a first instant messaging message sent by the first user is obtained, where the first instant messaging message is generated by the first user based on a selection operation of the first user on the card punch setting mode obtained by the first user. And obtaining a first instant messaging message sent by the first user end, wherein the first instant messaging message is obtained by packaging a positioning information obtaining instruction determined by the card punching setting mode selected by the first user and obtained by the first user end.
In S600, location information of the second user on the second user side is obtained based on the first instant messaging message. Here, a start operation of a second user on the first instant messaging message may be acquired, and a positioning information acquisition instruction in the first instant messaging message is started based on the start operation to acquire positioning information of the second user, where the positioning information may be latitude and longitude information of a current position of the second user acquired by a GPS set on the second user, or a relevant parameter of a WIFI currently connected to the second user.
In S700, the positioning information is packaged and put into the designated message body, so as to obtain a second instant messaging message. And the packaged positioning information is put into a specified message body to obtain a second instant messaging message, wherein the specified message body is a message body which can be sent in the current session in an instant mode.
In S800, the second instant messaging message is sent to the first user end, so that the first user end sets a card punching position according to the received second instant messaging message. And sending the second instant messaging message to the first user side on the current conversation page, so that the first user side sets a card punching position according to the received second instant messaging message, and the card punching rule of the different-place company is set quickly and accurately.
In an optional embodiment of the present application, in S600, a start instruction of the second user is obtained, and the obtaining instruction in the first instant messaging message is started according to the start instruction, so as to obtain the location information of the second user on the second user side. Here, a start instruction of the second user may be acquired through a popup or a dialog, and an acquisition instruction in the first instant messaging message is started according to the start instruction, where the acquisition instruction may be an acquisition instruction of a longitude and latitude related parameter or an acquisition instruction of a WIFI information related parameter, so as to acquire positioning information of the second user on the second user side, thereby greatly simplifying user operation and improving user experience.
In an optional embodiment of the present application, before starting the obtaining instruction in the first instant messaging message according to the starting instruction, it is determined whether the obtaining authority of the positioning information of the second user has been obtained according to the first instant messaging message, and if not, an authority obtaining prompt is sent to the second user in an appointed mode, where the appointed mode includes a pop-up window mode or a dialog box mode. Before starting the obtaining instruction in the first instant messaging message according to the starting instruction, the second user end judges whether obtaining authority of the positioning information of the second user is obtained according to the positioning information which needs to be obtained correspondingly in the obtaining instruction in the first instant messaging message, if yes, the obtaining instruction in the first instant messaging message can be started according to the starting instruction; and if not, sending an authority acquisition prompt to a second user in an appointed mode to acquire the acquisition authority of the positioning information, wherein the appointed mode comprises a popup mode or a dialog box mode, simplifying user operation and efficiently realizing accurate setting of the card punching rule of the remote company.
In an optional embodiment of the present application, in S600, the positioning information includes longitude and latitude related parameters and WIFI information related parameters, and when the obtaining instruction is an obtaining instruction of the longitude and latitude related parameters, the longitude and latitude related parameters corresponding to the current location of the second user are obtained, where the longitude and latitude related parameters include a location longitude, a location latitude, and a location name; and when the acquisition instruction is an acquisition instruction of the WIFI information related parameters, acquiring the WIFI information related parameters of the second user, wherein the WIFI information related parameters comprise WIFI names and BSSID set information. Here, the corresponding positioning information may be acquired by acquiring specific content information of the instruction, and when the acquisition instruction is an acquisition instruction of a latitude and longitude related parameter, a location longitude, a location latitude, a location name, and the like corresponding to the current location of the second user are acquired; and when the acquisition instruction is an acquisition instruction of the WIFI information related parameters, acquiring the WIFI name, BSSID set information and the like of the second user.
In an alternative embodiment of the present application, two message types are defined for instant messaging within the system: and acquiring the longitude and latitude of the position and acquiring WIFI information. And the acquired location longitude and latitude message body object comprises parameters such as a location name, a location longitude and a location latitude. And acquiring parameters including a WIFI name, a BSSID set and the like in the WIFI information message body object. In this alternative embodiment, an Application (APP) may be developed separately, and the APP contains instant messaging for both message types.
In connection with the foregoing embodiment, fig. 3 shows a schematic diagram of card punching at a newly added location in an actual application scenario in an optional embodiment of the present application, where a user a is a manager, a user B is a branch company person who needs to set a card punching, in order to set a card punching group in a branch company, the user a clicks a "acquire other location information" button, jumps to a user selection interface, clicks a "confirm" button after checking the user B, and the system sends an acquire location latitude and longitude message to the other party. Fig. 4 is a schematic diagram illustrating a view of checking and acquiring location card punching information in an actual application scenario in an optional embodiment of the present application, where when a user a sends a location latitude and longitude information to a remote user B, the user B clicks a "check" button on a location card punching information collecting message after receiving the location latitude and longitude information, and authorizes starting of positioning, so that longitude and latitude map information of a current location can be acquired. And clicking a 'save' button to return the longitude and latitude parameter information to the collector in a message form. Opening the longitude and latitude information of the position, authorizing the start of positioning, accurately obtaining the longitude and latitude information and the position name information corresponding to the current position by positioning the current position of the user B, packaging the obtained longitude and latitude information, the position name information and other positioning related information parameters into an instant messaging message body, sending the instant messaging message body to the user A, opening the obtained position message after the user A receives the obtained position message to obtain the parameter information therein, and setting the longitude and latitude and the position name in the message as the position card punching of the card punching group.
As for the above embodiments, fig. 5 shows a schematic diagram of a newly added WIFI card punch in an actual application scenario in an optional embodiment of the present application, where a user a obtains a button "acquire other Wi-Fi information", jumps to a user selection interface, clicks a "ok" button after the user is selected, and a system sends a message to acquire WIFI information to a remote user B. Fig. 6 shows a schematic diagram of checking and acquiring WIFI card punching information in an actual application scenario in an optional embodiment of the present application, where a B user clicks a "check" button of a Wi-Fi card punching information collection message, and authorizes to open a WIFI connection, so that a current connection WIFI name and BSSID set information may be acquired. And clicking a 'save' button to return the WIFI name and BSSID set information to the collector in a message form. After the WIFI information acquisition message is received, the WIFI information acquisition message is opened, the WIFI connection is authorized to be opened, and a user B can accurately acquire the information of the current WIFI connection through the WIFI connection: WIFI name and BSSID set information. And then, the obtained related information parameters of the current WIFI connection are packaged and placed in a message body and then sent to the user A, after the user A receives the obtained WIFI information message, the message is opened to obtain the parameter information, and the WIFI name and BSSID set in the message can be set as the WIFI card punching of the card punching group. Position information and WIFI information are acquired in an instant message mode, and managers can easily perform card punching setting of different scenes such as remote branch companies and branch stores. Therefore, the information is sent through the instant messaging technology, the longitude and latitude information of the remote employees in the company is accurately acquired, the card punching position is set, the detailed information of the WIFI of the company connected with the remote employees is accurately acquired, the card punching is set to be connected with the WIFI, and the card punching rule of the remote companies is quickly and accurately set.
The embodiment of the application also provides a computer readable medium, which stores computer readable instructions, and the computer readable instructions can be executed by a processor to realize the method for setting the card punching position.
In correspondence with the method described above, the present application also provides a terminal, which includes a module or a unit capable of executing the method steps described in fig. 1 or fig. 2 or fig. 3 or fig. 4 or fig. 5 or fig. 6 or various embodiments, and the module or the unit may be implemented by hardware, software or a combination of hardware and software, and the present application is not limited thereto. For example, in an embodiment of the present application, there is also provided an apparatus for setting a punch position, wherein the apparatus includes:
one or more processors; and
a memory having computer readable instructions stored thereon that, when executed, cause the processor to perform the operations of one of the aforementioned methods of setting a punch position.
For example, the computer readable instructions, when executed, cause the one or more processors to:
acquiring the selection operation of a first user on a first user side on a card punching setting mode; generating a first instant messaging message based on the selection operation; sending the first instant messaging message to a second user end so that the second user end obtains the positioning information of a second user based on the first instant messaging message; and setting a card punching position according to a received second instant messaging message sent by a second user end, wherein the second instant messaging message is generated and determined by the second user end based on the positioning information.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (10)

1. A method for setting a card punching position at a first user terminal, wherein the method comprises:
acquiring the selection operation of a first user on a first user side on a card punching setting mode;
generating a first instant messaging message based on the selection operation;
sending the first instant messaging message to a second user end so that the second user end obtains the positioning information of a second user based on the first instant messaging message;
and setting a card punching position according to a received second instant messaging message sent by a second user end, wherein the second instant messaging message is generated and determined by the second user end based on the positioning information.
2. The method of claim 1, wherein the card punch setting mode comprises a place setting mode and a WIFI setting mode, and the generating of the first instant messaging message based on the selection operation comprises any one of the following:
when the first user selects a place setting mode as a card punching setting mode, calling an acquisition instruction of longitude and latitude related parameters based on the place setting mode, and packaging the acquisition instruction of the longitude and latitude related parameters to generate a first instant messaging message;
and when the first user selects a WIFI setting mode as a card punching setting mode, calling an acquisition instruction of the WIFI information related parameters based on the WIFI setting mode, and packaging the acquisition instruction of the WIFI information related parameters to generate a first instant messaging message.
3. The method of claim 1, wherein prior to sending the first instant messaging message to the second client, further comprising:
and acquiring an object selection instruction of the first user on the first user side, and determining the second user from the user group according to the object selection instruction.
4. The method of claim 1, wherein the setting a card punching position according to the received second instant messaging message sent by the second user terminal comprises:
acquiring a card punching position confirmation instruction of a first user;
unpacking the second instant messaging message based on the card punching position confirmation instruction of the first user to obtain unpacked positioning information;
and determining the unpacked positioning information as a card punching position.
5. A method for setting a card punching position at a second user side, wherein the method comprises:
the method comprises the steps of obtaining a first instant messaging message sent by a first user, wherein the first instant messaging message is generated by the first user based on the selection operation of a first user on a card punching setting mode obtained by the first user;
acquiring the positioning information of a second user on a second user terminal based on the first instant messaging message;
packaging the positioning information and putting the positioning information into a designated message body to obtain a second instant messaging message;
and sending the second instant messaging message to the first user end, so that the first user end sets a card punching position according to the received second instant messaging message.
6. The method of claim 5, wherein obtaining location information of the second user on the second user end based on the first instant messaging message comprises:
and acquiring a starting instruction of the second user, and starting the acquiring instruction in the first instant messaging message according to the starting instruction so as to acquire the positioning information of the second user on the second user side.
7. The method of claim 6, wherein before initiating the obtaining instruction in the first instant messaging message according to the initiation instruction, the method comprises:
and judging whether the acquisition permission of the positioning information of the second user is acquired or not according to the first instant communication message, and if not, sending permission acquisition prompt to the second user in a specified mode, wherein the specified mode comprises a popup mode or a dialog box mode.
8. The method of claim 6, wherein the positioning information includes longitude and latitude related parameters and WIFI information related parameters, and the starting of the obtaining instruction in the first instant messaging message according to the starting instruction to obtain the positioning information of the second user on the second user side includes any one of:
when the obtaining instruction is a latitude and longitude related parameter obtaining instruction, obtaining latitude and longitude related parameters corresponding to the current position of the second user, wherein the latitude and longitude related parameters comprise position longitude, position latitude and position name;
and when the acquisition instruction is an acquisition instruction of the WIFI information related parameters, acquiring the WIFI information related parameters of the second user, wherein the WIFI information related parameters comprise WIFI names and BSSID set information.
9. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 8.
10. An apparatus for setting a punch position, wherein the apparatus comprises:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 8.
CN202111104312.3A 2021-09-18 2021-09-18 Method and equipment for setting card punching position Pending CN113783772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111104312.3A CN113783772A (en) 2021-09-18 2021-09-18 Method and equipment for setting card punching position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111104312.3A CN113783772A (en) 2021-09-18 2021-09-18 Method and equipment for setting card punching position

Publications (1)

Publication Number Publication Date
CN113783772A true CN113783772A (en) 2021-12-10

Family

ID=78852481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111104312.3A Pending CN113783772A (en) 2021-09-18 2021-09-18 Method and equipment for setting card punching position

Country Status (1)

Country Link
CN (1) CN113783772A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150281156A1 (en) * 2014-03-27 2015-10-01 Dropbox, Inc. Dynamic filter generation for message management systems
CN107369222A (en) * 2017-07-20 2017-11-21 北京建工土木工程有限公司 Engineering staff's work attendance intelligent management and system based on GPS
CN108460854A (en) * 2018-03-15 2018-08-28 上海携程商务有限公司 The attendance punch card method and system of mobile terminal based on wireless network
CN109389357A (en) * 2017-08-11 2019-02-26 钉钉控股(开曼)有限公司 Attendance setting method and device
CN109754482A (en) * 2019-01-28 2019-05-14 深圳壹账通智能科技有限公司 Automatically method, apparatus, computer equipment and the storage medium checked card
CN110322578A (en) * 2019-05-30 2019-10-11 深圳市融讯科技有限公司 A kind of Work attendance method and device
CN112927382A (en) * 2021-02-03 2021-06-08 广东共德信息科技有限公司 Face recognition attendance system and method based on GIS service

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150281156A1 (en) * 2014-03-27 2015-10-01 Dropbox, Inc. Dynamic filter generation for message management systems
CN107369222A (en) * 2017-07-20 2017-11-21 北京建工土木工程有限公司 Engineering staff's work attendance intelligent management and system based on GPS
CN109389357A (en) * 2017-08-11 2019-02-26 钉钉控股(开曼)有限公司 Attendance setting method and device
CN108460854A (en) * 2018-03-15 2018-08-28 上海携程商务有限公司 The attendance punch card method and system of mobile terminal based on wireless network
CN109754482A (en) * 2019-01-28 2019-05-14 深圳壹账通智能科技有限公司 Automatically method, apparatus, computer equipment and the storage medium checked card
CN110322578A (en) * 2019-05-30 2019-10-11 深圳市融讯科技有限公司 A kind of Work attendance method and device
CN112927382A (en) * 2021-02-03 2021-06-08 广东共德信息科技有限公司 Face recognition attendance system and method based on GIS service

Similar Documents

Publication Publication Date Title
CN107122296B (en) Method and apparatus for data assertion for test interface
US20180322440A1 (en) Method and device for prompting relationship and task during communication
CN105392178B (en) A kind of method and apparatus for being used to obtain the access information of WAP
CN107168960B (en) Service execution method and device
CN104243516B (en) Method, server, terminal and the system that the geographical location information of terminal obtains
CN107092535B (en) Method and apparatus for data storage of test interface
CN110569281A (en) Block chain transaction query method and system
CN106658666B (en) Method and equipment for establishing wireless connection
CN110597877A (en) Block chain transaction processing method and device
CN111506579A (en) Method, program and equipment for generating intelligent contract code
CN103246510B (en) A kind of method and apparatus carrying out system copies and reduction
CN111510656A (en) Law enforcement video intercepting method, device, electronic device and storage medium
CN111767229A (en) Performance test method, device and equipment
CN108809896A (en) A kind of information calibration method, device and electronic equipment
CN113783772A (en) Method and equipment for setting card punching position
CN106161565B (en) Information push method and device
CN108495356B (en) Filtering method and device for wireless access point
CN112564996A (en) Pressure test flow scheduling method, pressure test flow control device and computer readable medium
CN111615091B (en) Traffic card opening method and device based on smart watch
CN114885365A (en) Business rule detection method and device, electronic equipment and storage medium
CN110633214B (en) Configuration method and device for internal test message
CN105446867A (en) Method and apparatus for generating test data
CN108135000B (en) Authentication method and equipment
CN111966892B (en) Data processing method and device, computer storage medium and electronic equipment
CN112333140A (en) Method, system and device for monitoring traffic cheating behaviors of mobile internet

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211210

RJ01 Rejection of invention patent application after publication