Method, apparatus, storage medium, and electronic device for monitoring labor force
By analyzing operator signaling data to generate workforce profiles, the problems of high labor costs and poor real-time performance in traditional workforce monitoring have been solved, achieving efficient workforce monitoring and analysis.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM CORP LTD
- Filing Date
- 2022-12-29
- Publication Date
- 2026-04-14
AI Technical Summary
Traditional labor force monitoring relies on manual statistics, which makes it difficult to achieve real-time and efficient monitoring, especially in the case of rapid labor mobility and transfer, resulting in high data collection costs and difficulty in real-time monitoring and analysis.
By analyzing operator signaling data, the movement location and speed of target objects are obtained, calculation rules are applied to generate labor force profiles, and monitoring results are displayed using charts to achieve real-time labor force monitoring.
It reduced the labor costs of data collection, improved the efficiency of labor force monitoring, and enabled real-time monitoring and analysis of labor flow and transfer.
Smart Images

Figure CN116227783B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of big data, and more specifically, to a method, apparatus, storage medium, and electronic device for monitoring the workforce. Background Technology
[0002] Traditional labor force statistics and monitoring largely rely on grassroots units such as townships and sub-districts, collecting and registering data through manual visits or telephone surveys, and then summarizing the data through a hierarchical reporting process to form statistical analysis results. With the development of information technology, some information systems related to labor force monitoring have gradually emerged. However, these systems mainly use software to replace the traditional hierarchical reporting and summarization process, without changing the way labor force statistics and monitoring are conducted.
[0003] With the acceleration of urbanization and the advent of the high-speed rail era, the flow and transfer of labor have become more and more frequent. The focus of labor monitoring has changed significantly. The original static labor statistics indicators no longer meet the labor analysis needs of relevant departments. Moreover, the requirements for real-time labor monitoring are getting higher and higher. That is, dynamic analysis of labor flow and transfer has become a common business need of relevant departments.
[0004] Existing labor force monitoring still has some problems. The methods for collecting labor force data still require a lot of manpower. The labor force is characterized by rapid mobility and transfer, making it difficult to monitor and analyze the labor force in real time.
[0005] There is currently no effective solution to the above problems. Summary of the Invention
[0006] This application provides a method, apparatus, storage medium, and electronic device for monitoring labor force, in order to at least solve the technical problem that labor force is difficult to monitor and analyze in real time due to the large amount of labor costs required for the collection of labor force data and the rapid flow and transfer of labor force.
[0007] According to one aspect of the embodiments of this application, a method for monitoring labor force is provided, comprising: acquiring operator signaling data corresponding to a target object, wherein the operator signaling data includes at least: the target object's movement location and movement speed during a specified time period; acquiring calculation rules corresponding to each labor force mobility tag; analyzing the operator signaling data based on the calculation rules; determining at least a labor force profile corresponding to the target object based on the analysis results; and displaying labor force monitoring results based on the labor force profile.
[0008] Optionally, the calculation rules corresponding to each labor mobility tag are obtained, including: determining the parameter structure of the input parameters in the basic labor force database, wherein the basic labor force database includes the basic identity information of each target object; determining the calculation window and the calculation window triggering conditions, wherein the calculation window includes: a rolling time window, a sliding time window, and a rolling quantity window, and the triggering conditions include: triggering based on the processing time interval, triggering based on the data time interval, and triggering based on the quantity parameter; determining the slicing rules and operator configuration, wherein the slicing rules are grouped according to mobile phone number and location information; the operator configuration includes: operator value type, operator calculation rules, and operator calculation result expiration time; and generating calculation rules based on the parameter structure, calculation window, calculation window triggering conditions, slicing rules, and operator configuration.
[0009] Optionally, the operator signaling data is analyzed according to the calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: obtaining the various locations the target object has reached within a predetermined time period, and the number of times each location has been reached; ranking the number of times in descending order, and determining the locations corresponding to the top two positions in the ranking results; if the locations corresponding to the top two positions are across cities or provinces, the target object is determined to be a cross-city labor force or a cross-province mobile labor force.
[0010] Optionally, the operator signaling data is analyzed according to the calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: obtaining the target object's movement speed during a specified time period; determining the target object's mode of travel as car travel when the movement speed is less than a first predetermined speed; determining the target object's mode of travel as train travel when the movement speed is greater than the first predetermined speed and less than a second predetermined speed; determining the target object's mode of travel as high-speed rail travel when the movement speed is greater than the second predetermined speed and less than a third predetermined speed; and determining the target object's mode of travel as air travel when the movement speed is greater than the third predetermined speed.
[0011] Optionally, the operator signaling data is analyzed according to the calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: obtaining the target object's home address and workplace; if the home address and workplace are not in the same region, the target object is determined to be a migrant worker; if the home address and workplace are in the same region, the target object is determined to be a non-migrant worker.
[0012] Optionally, after determining that the target is a migrant worker, the method further includes: if the target appears only once in a month in the area corresponding to the home address, the target is determined to be a monthly commute worker; if the target appears at least twice in a month in the area corresponding to the home address, the target is determined to be a weekend commute worker; if the target appears only in the area corresponding to the home address during the Spring Festival, the target is determined to be a Spring Festival commute worker.
[0013] Optionally, the operator signaling data is analyzed according to the calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: identifying the first associated object that has a relationship with the target object, wherein the relationship includes: a spousal relationship; if the target object and the first associated object both appear in the same area that is not their home address within a specified time period, then the labor force type of the target object and the first associated object is determined to be a couple working away from home together.
[0014] Optionally, the operator signaling data is analyzed according to the calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: determining the call records of the target object within a specified time period, and filtering out a second associated object from the call records that belongs to the same area as the target object's home address; if the target object and the second associated object are both in the same area other than their home address within the specified time period, the labor force type of the target object and the second associated object is determined to be migrant workers from the same hometown.
[0015] Optionally, the labor force monitoring results can be displayed based on the labor force profiles, including: determining the number of labor mobility tags corresponding to the labor force profiles; and constructing a bar chart or line chart based on the numbers, wherein the horizontal axis of the bar chart or line chart represents each labor force profile, and the vertical axis represents the number corresponding to each labor force profile.
[0016] According to another aspect of the embodiments of this application, an apparatus for monitoring labor force is also provided, comprising: an acquisition module, configured to acquire operator signaling data corresponding to a target object, wherein the operator signaling data includes at least: the moving location of the target object during a specified time period and the moving speed; an analysis module, configured to acquire calculation rules corresponding to each labor force mobility tag, analyze the operator signaling data based on the calculation rules, and at least determine a labor force profile corresponding to the target object based on the analysis results; and a display module, configured to display the labor force monitoring results based on the labor force profile.
[0017] According to another aspect of the embodiments of this application, a non-volatile storage medium is also provided, comprising: the storage medium including a stored program, wherein, when the program is running, it controls the device where the storage medium is located to perform any method for monitoring labor.
[0018] According to another aspect of the embodiments of this application, an electronic device is also provided, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement any of the methods for monitoring workforce.
[0019] In this embodiment, the method of analyzing operator signaling data and determining the labor force profile of the target object based on the analysis results is adopted. This involves acquiring operator signaling data corresponding to the target object, which includes at least: the target object's location and speed during a specified time period; acquiring calculation rules corresponding to each labor flow tag; analyzing the operator signaling data based on the calculation rules; and determining the labor force profile corresponding to the target object based on the analysis results. The labor force monitoring results are then displayed based on the labor force profile, achieving the goal of real-time monitoring and analysis of the labor force. This reduces the manual cost of data collection and improves the efficiency of labor force monitoring, thereby solving the technical problem of difficulty in real-time monitoring and analysis of the labor force due to the large manual cost required for data collection and the rapid flow and transfer of labor. Attached Figure Description
[0020] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0021] Figure 1 This is a flowchart illustrating a method for monitoring labor force according to an embodiment of this application;
[0022] Figure 2 This is a schematic diagram of an overall structure according to an embodiment of this application;
[0023] Figure 3 This is a schematic diagram of a labor mobility tag according to an embodiment of this application;
[0024] Figure 4 This is a schematic diagram illustrating a calculation rule configuration according to an embodiment of this application;
[0025] Figure 5 This is a schematic diagram of a real-time computing process according to an embodiment of this application;
[0026] Figure 6 This is a schematic diagram of a device for monitoring labor force according to an embodiment of this application;
[0027] Figure 7 This is a schematic block diagram of an example electronic device 700 according to an embodiment of this application. Detailed Implementation
[0028] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0030] According to an embodiment of this application, a method for monitoring workforce is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0031] Figure 1 This is a method for monitoring the workforce according to an embodiment of this application, such as... Figure 1 As shown, the method includes the following steps:
[0032] Step S102: Obtain the operator signaling data corresponding to the target object, wherein the operator signaling data includes at least: the target object's moving location and moving speed during the specified time period;
[0033] Step S104: Obtain the calculation rules corresponding to each labor mobility tag, analyze the operator signaling data based on the calculation rules, and at least determine the labor profile corresponding to the target object based on the analysis results.
[0034] Step S106: Display the labor force monitoring results based on the labor force profile.
[0035] In this embodiment, the method of analyzing operator signaling data and determining the labor force profile of the target object based on the analysis results is adopted. This involves acquiring operator signaling data corresponding to the target object, which includes at least: the target object's location and speed during a specified time period; acquiring calculation rules corresponding to each labor flow tag; analyzing the operator signaling data based on the calculation rules; and determining the labor force profile corresponding to the target object based on the analysis results. The labor force monitoring results are then displayed based on the labor force profile, achieving the goal of real-time monitoring and analysis of the labor force. This reduces the manual cost of data collection and improves the efficiency of labor force monitoring, thereby solving the technical problem of difficulty in real-time monitoring and analysis of the labor force due to the large manual cost required for data collection and the rapid flow and transfer of labor.
[0036] In an exemplary embodiment of this application, obtaining the calculation rules corresponding to each labor mobility tag includes: determining the parameter structure of the input parameters in the basic labor force database, wherein the basic labor force database includes the basic identity information of each target object; determining the calculation window and the calculation window triggering conditions, wherein the calculation window includes: a scrolling time window, a sliding time window, and a scrolling quantity window, and the triggering conditions include: triggering based on the processing time interval, triggering based on the data time interval, and triggering based on the quantity parameter; determining the slicing rules and operator configuration, wherein the slicing rules are grouped according to mobile phone numbers and location information; the operator configuration includes: operator value type, operator calculation rules, and operator calculation result expiration time; and generating calculation rules based on the parameter structure, calculation window, calculation window triggering conditions, slicing rules, and operator configuration.
[0037] It should be noted that the basic identity information of the target objects involved in this application, such as name, mobile phone number, ID number, home address, and movement location during a specified period, were all collected with the user's authorization.
[0038] In some optional embodiments of this application, the operator signaling data is analyzed according to calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: obtaining the various locations that the target object has reached within a predetermined time period, and the number of times each location has been reached; ranking the number of times in descending order, and determining the locations corresponding to the top two positions in the ranking results; if the locations corresponding to the top two positions are across cities or provinces, the target object is determined to be a cross-city labor force or a cross-province mobile labor force.
[0039] As an optional implementation method, the operator signaling data is analyzed according to calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: obtaining the target object's movement speed during a specified time period; determining the target object's mode of travel as car travel when the movement speed is less than a first predetermined speed; determining the target object's mode of travel as train travel when the movement speed is greater than the first predetermined speed and less than a second predetermined speed; determining the target object's mode of travel as high-speed rail travel when the movement speed is greater than the second predetermined speed and less than a third predetermined speed; and determining the target object's mode of travel as air travel when the movement speed is greater than the third predetermined speed.
[0040] In some optional embodiments of this application, the operator signaling data is analyzed according to calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: obtaining the target object's home address and workplace; if the home address and workplace are not in the same region, the target object is determined to be a migrant worker; if the home address and workplace are in the same region, the target object is determined to be a non-migrant worker.
[0041] As an optional implementation, after determining that the target is a migrant worker, the method further includes: if the target appears only once in a month in the area corresponding to the home address, the target is determined to be a monthly commute worker; if the target appears at least twice in a month in the area corresponding to the home address, the target is determined to be a weekend commute worker; if the target appears only in the area corresponding to the home address during the Spring Festival, the target is determined to be a Spring Festival commute worker.
[0042] In some optional embodiments of this application, the operator signaling data is analyzed according to calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: determining a first associated object that has a relationship with the target object, wherein the relationship includes: a spousal relationship; if the target object and the first associated object both appear in the same area where the non-family address is located within a specified time period, then the labor force type of the target object and the first associated object is determined to be a couple working away from home together.
[0043] As an optional implementation method, the operator signaling data is analyzed according to the calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: determining the call records of the target object within a specified time period, filtering out a second associated object from the call records that belongs to the same area as the target object's home address; if the target object and the second associated object are both in the same area other than their home address within the specified time period, the labor force type of the target object and the second associated object is determined to be migrant workers from the same hometown.
[0044] Understandably, labor mobility labels include: based on geographical location, inter-provincial mobility, intra-provincial inter-city mobility, and intra-city inter-county mobility; based on mode of travel, recent travel by car, recent travel by train, recent travel by high-speed rail, and recent travel by air; based on whether the workplace and home address are the same, migrant workers and non-migrant workers; and based on the frequency of the workplace and home address appearing within a specified time, travel between two places during the Spring Festival, monthly travel between two places, and weekend travel between two places.
[0045] In an exemplary embodiment of this application, displaying labor force monitoring results based on labor force profiles includes: determining the number of labor mobility tags corresponding to the labor force profiles; and constructing a bar chart or line chart based on the number, wherein the coordinates on the horizontal axis of the bar chart or line chart are each labor force profile, and the coordinates on the vertical axis are the number corresponding to each labor force profile.
[0046] To facilitate a better understanding of the technical solutions of this application by those skilled in the art, a specific embodiment will now be described.
[0047] Figure 2 This is a schematic diagram of an overall structure according to an embodiment of this application, such as... Figure 2 As shown in the diagram, the main structure includes the following:
[0048] I. Basic Labor Force Database: Contains basic labor force information, which includes at least the place of household registration, mobile phone number, and labor force type.
[0049] II. Label Definition and Rule Configuration Module: Defines labor mobility labels and determines the configuration of calculation rules.
[0050] Figure 3 This is a schematic diagram of a labor mobility tag according to an embodiment of this application, such as... Figure 3 As shown, labor mobility labels include: based on geographical location, inter-provincial mobility, intra-provincial inter-city mobility, and intra-city inter-county mobility; based on mode of travel, recent travel by car, recent travel by train, recent travel by high-speed rail, and recent travel by air; based on whether the workplace and home address are the same, they are classified as migrant workers and non-migrant workers; based on the frequency of the workplace and home address appearing within a specified time, they are classified as travel between two places during the Spring Festival, travel between two places monthly, and travel between two places on weekends.
[0051] Figure 4 This is a schematic diagram illustrating a calculation rule configuration according to an embodiment of this application, such as... Figure 4 As shown, the calculation rule configuration is determined based on the parameter structure, calculation window, triggering conditions of the calculation window, slicing rules, and the operator configuration. The specific calculation rule configuration is as follows:
[0052] (1) Source: Determine the source of the data;
[0053] (2) Input parameter structure: Determine the parameter structure of the input parameters;
[0054] (3) Calculation window: Determine the calculation window for real-time data. The purpose of the calculation window is to cut infinite data into finite "data blocks" for processing. The calculation window includes: rolling time window, sliding time window and rolling quantity window.
[0055] It should be noted that the scrolling time window uses a time-type window size parameter for window division; the sliding time window uses both a time-type window size parameter and a time-type sliding size parameter for window division; and the scrolling quantity window uses an integer-type window size parameter for window division.
[0056] For example, such as Figure 4 In the configuration example shown:
[0057] {"type":"time_tumbling","size":"day(1)"} indicates that the calculation window is set to a scrolling time window with a window size of 1 day, meaning that data from the same day will be calculated in one window.
[0058] (4) Triggering calculation rules: Determine the triggering conditions for the calculation window. The triggering conditions include: triggering based on the processing time interval, triggering based on the data time interval, and triggering based on the quantity parameter.
[0059] For example, such as Figure 4 In the configuration example shown:
[0060] {"type":"continuous_event_time","param":"minus(10)"} indicates that the calculation is performed every 10 minutes after the calculation window starts.
[0061] (5) Slice KEY: Determines the grouping rules before data calculation.
[0062] For example, such as Figure 4 In the configuration example shown: msisdn and sitecode indicate that the data is grouped by phone number and location before data calculation.
[0063] (6) Operator definition: The operator is the core data of the rule calculation. This data is derived from the conversion or operation of the input parameter fields. The operator definition includes: operator value type, operator calculation rules and operator calculation result expiration time configuration.
[0064] For example, such as Figure 4 In the configuration example shown:
[0065] {"op1":{"desc":"Position Count","data_type":"long","rule":"$count","ttl":"day(30)"}} defines an operator named Position Count, of type long integer. The operator uses the preset count function to calculate the total number of data entries in the window. The result of each calculation is retained in the engine context for 30 days and then automatically expires and is cleaned up.
[0066] (7) Calculation rules: Calculation rules are based on operators and are used to configure calculation rules. Calculation rules can be configured with multiple calculation steps, and the configuration of each calculation step is the same as that of the operator rule.
[0067] For example, such as Figure 4 In the configuration example shown:
[0068] {"S1":{"rule":"$aggreOpByKey(\"op1\")","state":"positionsCount"},
[0069] "S2":{"rule":"$elementofList($mapListOrder($getTaskContextVal(\"positionsCount\"),\"desc\"),0","state":"first"},
[0070] "S3":{"rule":"$elementofList($mapListOrder(\$getTaskContextVal("positionsCount\"),\"desc\"),1","state":"second"},
[0071] The code "S4":{"rule":"$ne($siteProvince($mapkey($getTaskContextVal("first"))),$siteProvince($mapkey($getTaskContextVal("second"))))"}} defines a four-step calculation rule. The first step uses the built-in operator aggregation function `aggreOpByKey` to aggregate all operators in the current task context by group key, and stores the result in the current task context using `positionsCount` as the key. The second and third steps use the aggregation result from the first step, and through built-in sorting and retrieval functions, obtain the largest and second largest data for the position calculation operator, storing them in the current task context using `first` and `second` as keys, respectively. The fourth step uses the calculation results from the second and third steps, and through the built-in extended function `siteProvince`, obtains the province corresponding to the site location, and compares the province data for consistency using a comparison function.
[0072] (8) Output: Determine the output channel of the calculation results. After the calculation results are output, the portrait update module updates the portrait information based on the calculation results.
[0073] III. Front-end signaling data acquisition module: Collects operator signaling data in real time, and saves the data into the database after parsing it through the supporting signaling data parsing module. Then, it triggers the real-time calculation engine for labor monitoring to perform real-time calculations on the labor force involved in the signaling data.
[0074] IV. Real-time Calculation Engine for Labor Force Monitoring: Figure 5 This is a schematic diagram of a real-time computing process according to an embodiment of this application, such as... Figure 5 As shown, the configuration of labor mobility tags and calculation rules is obtained, and labor profile calculation is performed on the data in the signaling database.
[0075] V. Real-time Dynamic Analysis and Display Module: The labor force profile is displayed in a chart-based visualization to show the labor force monitoring results in real time.
[0076] Figure 6 This is a schematic diagram of a device structure for monitoring labor force according to an embodiment of this application, as shown below. Figure 6 As shown, the device includes:
[0077] The acquisition module 60 is used to acquire the operator signaling data corresponding to the target object. The operator signaling data includes at least the target object's moving location and moving speed during a specified time period.
[0078] Analysis module 62 is used to obtain the calculation rules corresponding to each labor mobility tag, analyze the operator signaling data based on the calculation rules, and at least determine the labor profile corresponding to the target object based on the analysis results.
[0079] Display module 64 is used to display labor force monitoring results based on labor force profiles.
[0080] In this device, the acquisition module 60 is used to acquire operator signaling data corresponding to the target object, wherein the operator signaling data includes at least: the target object's movement location and movement speed during a specified time period; the analysis module 62 is used to acquire the calculation rules corresponding to each labor mobility tag, analyze the operator signaling data based on the calculation rules, and at least determine the labor profile corresponding to the target object based on the analysis results; the display module 64 is used to display the labor monitoring results based on the labor profile, thereby achieving the purpose of real-time monitoring and analysis of the labor force, thus realizing the technical effect of reducing the labor cost required for data collection and improving the efficiency of labor force monitoring, and thus solving the technical problem of difficulty in real-time monitoring and analysis of the labor force caused by the large amount of labor cost required for labor data collection and the rapid flow and transfer characteristics of the labor force.
[0081] According to another aspect of the embodiments of this application, a non-volatile storage medium is also provided, the non-volatile storage medium including a stored program, wherein, when the program is running, it controls the device where the non-volatile storage medium is located to execute any method for monitoring labor.
[0082] Specifically, the aforementioned storage medium is used to store program instructions for the following functions, thereby implementing the following functions:
[0083] Obtain operator signaling data corresponding to the target object, wherein the operator signaling data includes at least: the target object's location and speed during a specified time period; obtain the calculation rules corresponding to each labor mobility tag, analyze the operator signaling data based on the calculation rules, and at least determine the labor profile corresponding to the target object based on the analysis results; display the labor monitoring results based on the labor profile.
[0084] Optionally, in this embodiment, the storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. More specific examples of the storage medium include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0085] In an exemplary embodiment of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements any of the above-described methods for monitoring workforce.
[0086] Optionally, when executed by a processor, the computer program may perform the following steps:
[0087] Obtain operator signaling data corresponding to the target object, wherein the operator signaling data includes at least: the target object's location and speed during a specified time period; obtain the calculation rules corresponding to each labor mobility tag, analyze the operator signaling data based on the calculation rules, and at least determine the labor profile corresponding to the target object based on the analysis results; display the labor monitoring results based on the labor profile.
[0088] An electronic device is provided according to an embodiment of this application, the electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform any of the above-described methods for monitoring workforce.
[0089] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0090] Figure 7 This is a schematic block diagram of an example electronic device 400 according to an embodiment of this application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present application described and / or claimed herein.
[0091] like Figure 7As shown, device 700 includes a computing unit 701, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 702 or a computer program loaded from storage unit 708 into random access memory (RAM) 703. RAM 703 may also store various programs and data required for the operation of device 700. The computing unit 701, ROM 702, and RAM 703 are interconnected via bus 704. Input / output (I / O) interface 705 is also connected to bus 704.
[0092] Multiple components in device 700 are connected to I / O interface 705, including: input unit 706, such as keyboard, mouse, etc.; output unit 707, such as various types of monitors, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0093] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as methods for monitoring labor force. For example, in some embodiments, the method for monitoring labor force may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the method for monitoring labor force described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the method for monitoring labor force by any other suitable means (e.g., by means of firmware).
[0094] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0095] The program code used to implement the methods of this application may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0096] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0097] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0098] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0099] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0100] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0101] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0102] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0103] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0104] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0105] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0106] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for monitoring the workforce, characterized in that, include: Obtain the operator signaling data corresponding to the target object, wherein the operator signaling data includes at least: the moving location and moving speed of the target object during a specified time period; Obtain the calculation rules corresponding to each labor mobility tag, analyze the operator signaling data based on the calculation rules, and at least determine the labor profile corresponding to the target object based on the analysis results; The labor force monitoring results are displayed based on the aforementioned labor force profile. Obtain the calculation rules corresponding to each labor mobility tag, including: The parameter structure of the input parameters in the basic labor force database is determined, wherein the basic labor force database includes the basic identity information of each target object; The calculation window and its triggering conditions are determined, wherein the calculation window includes a scrolling time window, a sliding time window, and a scrolling quantity window, and the triggering conditions include triggering based on a processing time interval, triggering based on a data time interval, and triggering based on a quantity parameter; The slicing rules and operator configurations are determined, wherein the slicing rules are grouped according to mobile phone numbers and location information; the operator configurations include: operator value type, operator calculation rules, and operator calculation result expiration time. The calculation rules are generated based on the parameter structure, the calculation window, the triggering conditions of the calculation window, the slicing rules, and the operator configuration. The operator signaling data is analyzed according to the calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: Obtain the locations the target object has visited within a predetermined time period, and the number of times each location has been visited; The number of occurrences are ranked in descending order, and the positions corresponding to the top two in the ranking results are determined. If the positions corresponding to the first two items involve cross-city or cross-province activities, the target group is determined to be cross-city or cross-province migrant workers. The labor force profile is used to display labor force monitoring results, including: Determine the number of labor mobility tags corresponding to the labor force profile; Based on the stated quantities, construct a bar chart or line chart, wherein the coordinates on the horizontal axis of the bar chart or line chart represent the individual labor force profiles, and the coordinates on the vertical axis represent the quantities corresponding to each individual labor force profile.
2. The method according to claim 1, characterized in that, The operator signaling data is analyzed according to the calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: Obtain the movement speed of the target object during the specified time period; When the moving speed is less than a first predetermined speed, the travel mode of the target object is determined to be automobile travel. If the moving speed is greater than the first predetermined speed and less than the second predetermined speed, the travel mode of the target object is determined to be train travel. If the moving speed is greater than the second predetermined speed and less than the third predetermined speed, the travel mode of the target object is determined to be high-speed rail travel. The travel mode of the target object is determined to be air travel when the moving speed is greater than the third predetermined speed.
3. The method according to claim 1, characterized in that, The operator signaling data is analyzed according to the calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: Obtain the home address and workplace of the target object; If the home address and workplace are not in the same region, the target person is determined to be a migrant worker. If the home address and workplace are in the same region, the target is determined to be a non-migrant worker.
4. The method according to claim 3, characterized in that, After determining that the target is a migrant worker, the method further includes: If the target person appears in the area corresponding to the home address only once within a month, the target person is determined to be a monthly commuter worker. If the target person appears in the area corresponding to the home address at least twice within a month, the target person is determined to be a weekend commuter worker. If the target person only appears in the area corresponding to the home address during the Spring Festival, the target person is determined to be a worker who travels between two places during the Spring Festival.
5. The method according to claim 1, characterized in that, The operator signaling data is analyzed according to the calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: Identify a first associated object that has a relationship with the target object, wherein the relationship includes: a spousal relationship; If both the target object and the first associated object appear in the same area outside their home address within the specified time period, then the labor force type of the target object and the first associated object is determined to be a couple working away from home together.
6. The method according to claim 1, characterized in that, The operator signaling data is analyzed according to the calculation rules, and at least the labor force profile corresponding to the target object is determined based on the analysis results, including: Determine the call records of the target object within the specified time period, and filter out a second associated object from the call records that belongs to the same area as the target object's home address; If, during the specified time period, both the target object and the second associated object are located in the same area other than their home address, it is determined that the labor force type of the target object and the second associated object is that they are from the same hometown and are working together.
7. A device for monitoring labor force, characterized in that, include: The acquisition module is used to acquire the operator signaling data corresponding to the target object, wherein the operator signaling data includes at least: the moving position of the target object during a specified time period and the moving speed; The analysis module is used to obtain the calculation rules corresponding to each labor mobility tag: determine the parameter structure of the input parameters in the basic labor force database, wherein the basic labor force database includes the basic identity information of each target object; determine the calculation window and the triggering conditions of the calculation window, wherein the calculation window includes: a scrolling time window, a sliding time window, and a scrolling quantity window, and the triggering conditions include: triggering based on the processing time interval, triggering based on the data time interval, and triggering based on the quantity parameter; determine the slicing rules and operator configuration, wherein the slicing rules are grouped according to mobile phone number and location information; the operator configuration includes: operator value type, operator calculation rules, and operator calculation result expiration time; generate the calculation rules according to the parameter structure, the calculation window, the triggering conditions of the calculation window, the slicing rules, and the operator configuration; analyze the operator signaling data based on the calculation rules, and at least determine the labor force profile corresponding to the target object based on the analysis results: The system obtains the locations the target object has visited within a predetermined time period, as well as the number of times each location has been visited; it ranks the number of visits in descending order and determines the locations corresponding to the top two positions in the ranking results; if the locations corresponding to the top two positions are across cities or provinces, the system determines that the target object is a cross-city labor force or a cross-province migrant labor force. The display module is used to display labor monitoring results based on the labor force profile: determining the number of labor mobility tags corresponding to the labor force profile; and constructing a bar chart or line chart based on the number, wherein the coordinates on the horizontal axis of the bar chart or line chart are each of the labor force profiles, and the coordinates on the vertical axis are the number corresponding to each of the labor force profiles.
8. A non-volatile storage medium, characterized in that, The storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the storage medium to perform the method for monitoring labor force as described in any one of claims 1 to 6.
9. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method for monitoring workforce as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Personnel mobility analysis method and device based on mobile terminal
CN106649636A
Method for improving city management capability based on operator signaling data
CN111160851A