CN114639462A - Method, device and equipment for generating health card punching task and storage medium - Google Patents

Method, device and equipment for generating health card punching task and storage medium Download PDF

Info

Publication number
CN114639462A
CN114639462A CN202210255628.0A CN202210255628A CN114639462A CN 114639462 A CN114639462 A CN 114639462A CN 202210255628 A CN202210255628 A CN 202210255628A CN 114639462 A CN114639462 A CN 114639462A
Authority
CN
China
Prior art keywords
health
card punching
task
information
grade
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
CN202210255628.0A
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.)
Shenzhen Ping An Smart Healthcare Technology Co ltd
Original Assignee
Ping An International Smart City 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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202210255628.0A priority Critical patent/CN114639462A/en
Publication of CN114639462A publication Critical patent/CN114639462A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/60ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to nutrition control, e.g. diets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • G06F40/242Dictionaries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/20ICT specially adapted for the handling or processing of patient-related medical or healthcare data for electronic clinical trials or questionnaires
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/30ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for calculating health indices; for individual health risk assessment

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Epidemiology (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Nutrition Science (AREA)
  • Biomedical Technology (AREA)
  • Pathology (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention relates to an artificial intelligence technology, and discloses a method for generating a healthy card punching task, which comprises the following steps: evaluating health information by using a health evaluation model to obtain a health evaluation result; calculating the health grade of the user according to the health evaluation result; generating a health card punching task according to the health grade and the health information, and sending the card punching task to a user; receiving card punching information returned by the user according to the card punching task, updating the health evaluation result according to the card punching information, and recalculating the health grade of the user according to the updated health evaluation result; if the re-determined health level reaches the preset condition, re-generating a card punching task; and if the re-determined health level does not reach the preset condition, continuing to execute the card punching task. In addition, the invention also relates to a block chain technology, and the health information of the user can be stored in the nodes of the block chain. The invention also provides a device, equipment and medium for generating the healthy card punching task. The invention can improve the interactivity between the health management system and the user.

Description

Method, device and equipment for generating health card punching task and storage medium
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a method and a device for generating a health card punching task, electronic equipment and a computer readable storage medium.
Background
With the increase of economy and the improvement of national living standard, the dietary structure and living style of people are changed to a certain extent, such as the increase of drinking capacity, the increase of scenes of sweet food use, the reduction of exercise amount caused by busy work and the like. The result of this change is a decrease in the physical quality and an increase in the prevalence of the disease, and it is important to develop healthy eating habits for both the average population and those who have suffered from the disease. Most of health management products on the market at present utilize artificial intelligence to perform online consultation, record body health information and the like, the interactivity between the system and the user is low, the practical problem of the user cannot be deeply solved, and the user is difficult to be prompted to perform normal health management.
Disclosure of Invention
The invention provides a method and a device for generating a health card punching task and a computer readable storage medium, and mainly aims to solve the problem of low interactivity between a health management system and a user.
In order to achieve the above object, the method for generating a health card punching task provided by the present invention comprises:
acquiring health information of a user, and evaluating the health information by using a preset health evaluation model to obtain a health evaluation result;
calculating the health grade of the user according to the health evaluation result;
generating a health card punching task according to the health grade and the health information, and sending the card punching task to a user;
receiving card punching information returned by the user according to the card punching task, updating the health evaluation result according to the card punching information, and recalculating the health grade of the user according to the updated health evaluation result;
judging whether the re-determined health grade reaches a preset grade condition or not;
if the re-determined health level reaches a preset level condition, returning to the step of generating a health card punching task according to the health level;
and if the re-determined health level does not reach the preset level condition, continuing to execute the card punching task.
Optionally, the evaluating the health information by using a preset health evaluation model to obtain a health evaluation result includes:
extracting health characteristics of the health information;
selecting a target decision tree from the health assessment model according to the health information;
selecting one healthy feature from the healthy features one by one as an input value;
and inputting the input value into the target decision tree to obtain a health evaluation result output by the target decision tree.
Optionally, the extracting the health feature of the health information includes:
performing word segmentation processing on the health information to obtain a plurality of word segmentation data;
searching the word segmentation data by using a preset dictionary;
and selecting the retrieved word segmentation data as the health characteristics.
Optionally, the calculating the health level of the user according to the health assessment result comprises:
calculating a distance value of a grade characteristic corresponding to the health evaluation result and a preset health grade;
and determining the health grade of the health evaluation result according to the distance value.
Optionally, the generating a health card punching task according to the health level and the health information includes:
extracting the health attribute of the health information, and extracting a corresponding task table from a preset task table as a target task table according to the health attribute;
and extracting a corresponding task from the target task table according to the health grade to serve as a health card punching task.
Optionally, the sending the punch task to the user includes:
generating a card punching message according to the card punching task, and pushing the card punching message to a message queue;
and sending the message in the message queue to a mobile terminal of a user by using preset message middleware.
Optionally, before the evaluating the health information by using the preset health evaluation model, the method further includes:
acquiring a plurality of historical health information, and extracting the historical health information characteristics of the historical health information;
classifying the historical health information features to obtain a plurality of groups of health information features, and selecting one of the historical health information features of each group one by one as a target feature;
assigning a preset decision function by taking the target characteristics as parameters, and generating a decision tree by taking the assigned decision function as a decision condition;
and collecting the decision tree generated by all the historical health information characteristics of each group to obtain a decision tree model, and determining the decision tree model as a health evaluation model.
In order to solve the above problem, the present invention further provides a device for generating a health card punching task, wherein the device comprises:
the health assessment result generation module is used for acquiring health information of a user and assessing the health information by using a preset health assessment model to obtain a health assessment result;
the health grade generation module is used for calculating the health grade of the user according to the health evaluation result;
the health card punching task sending module is used for generating a health card punching task according to the health grade and the health information and sending the card punching task to a user;
the health evaluation result recalculation module is used for receiving the card punching information returned by the user according to the card punching task, updating the health evaluation result according to the card punching information and recalculating the health grade of the user according to the updated health evaluation result;
the health card punching task re-determining module is used for returning to the step of generating the health card punching task according to the health grade when the re-determined health grade reaches a preset grade condition; and when the re-determined health level does not reach the preset level condition, continuing to execute the card punching task.
In order to solve the above problem, the present invention also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of generating a health punch task as described above.
In order to solve the above problem, the present invention further provides a computer-readable storage medium, in which at least one computer program is stored, and the at least one computer program is executed by a processor in an electronic device to implement the method for generating a health card-punching task described above.
According to the embodiment of the invention, the health evaluation result is obtained by calculating the health information of the user through the health evaluation model, and the health grade is determined according to the health evaluation result, so that the aim of generating a health card punching task in a differentiation mode according to the health information of different users is fulfilled; and generating a card punching task through the health grade and the health information, and evaluating the card punching information returned by the user according to the card punching task to determine a subsequent card punching task, so that the interactivity between the health management system and the user is realized. Therefore, the method and the device for generating the health card punching task, the electronic equipment and the computer readable storage medium can solve the problem of low interactivity between the health management system and the user.
Drawings
Fig. 1 is a schematic flow chart of a method for generating a health card-punching task according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a process for generating a health assessment result according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of generating health levels according to an embodiment of the present invention;
FIG. 4 is a functional block diagram of an apparatus for generating a health punch task according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device for implementing the method for generating the health card punching task according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a method for generating a healthy card punching task. The execution subject of the generation method of the health card punching task includes, but is not limited to, at least one of electronic devices such as a server and a terminal, which can be configured to execute the method provided by the embodiment of the present application. In other words, the generation method of the health card punching task may be executed by software or hardware installed in the terminal device or the server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
Fig. 1 is a schematic flow chart of a method for generating a health card punching task according to an embodiment of the present invention. In this embodiment, the method for generating the health card punching task includes:
s1, acquiring health information of a user, and evaluating the health information by using a preset health evaluation model to obtain a health evaluation result;
in the embodiment of the invention, the health information of the user can be questionnaire information, life habit information, diet information and the like which are filled or input by the user aiming at a certain disease or health condition; the health assessment model may be used to assess a disease or symptom, and may be an algorithm model, a neural network model, a decision tree model, or the like.
In the embodiment of the present invention, the health assessment result may be a specific health degree score or a health condition related description.
In an alternative embodiment of the present invention, the computer sentences with data capture function (such as java sentences, python sentences, etc.) may be used to obtain the health information from pre-constructed storage areas for storing the health information of the user, and the storage areas include, but are not limited to, databases, block chain nodes, network caches, etc.
In an embodiment of the present invention, referring to fig. 2, the evaluating the health information by using a preset health evaluation model to obtain a health evaluation result includes:
s11, extracting the health characteristics of the health information;
s12, selecting a target decision tree from the health assessment model according to the health information;
s13, selecting one healthy feature from the healthy features one by one as an input value;
and S14, inputting the input value into the target decision tree to obtain a health evaluation result output by the target decision tree.
In the embodiment of the invention, the health information can be evaluated through nodes of different levels of a decision tree and two-level nodes after node bifurcation, and finally, the output results corresponding to paths formed by the nodes of different levels are different, so that a health degree score is obtained and taken as a health evaluation result; or taking the finally obtained decision tree path as the health evaluation result.
In an optional embodiment of the invention, the health information can be evaluated through a set algorithm model, corresponding coefficients are set in the algorithm model according to different characteristics corresponding to the health information, and the coefficients are calculated according to a preset operation rule, so that a health evaluation result is obtained.
In another optional embodiment of the present invention, a corresponding score may be extracted from a preset health score table according to the health characteristics corresponding to the health information, and the extracted score may be calculated to obtain a health evaluation result.
Specifically, the extracting to obtain the health feature of the health information includes:
performing word segmentation processing on the health information to obtain a plurality of word segmentation data;
searching the word segmentation data by using a preset dictionary;
and selecting the retrieved word segmentation data as the health characteristics.
In the embodiment of the invention, the dictionary comprises a plurality of participles, and the participles are participles related to health characteristics; when the word segmentation data is retrieved by the dictionary, the retrieved same word segmentation can be used as a health feature; or using the corresponding characteristics of the retrieved same participles in the dictionary as the health characteristics, for example: often drinking in dictionaries corresponds to features that are not less than three times a week, and occasionally drinking in dictionaries corresponds to features that are once a week.
In an embodiment of the present invention, before the evaluating the health information by using a preset health evaluation model, the method further includes:
acquiring a plurality of historical health information, and extracting the historical health information characteristics of the historical health information;
classifying the historical health information features to obtain a plurality of groups of health information features, and selecting one of the historical health information features of each group one by one as a target feature;
assigning a preset decision function by taking the target characteristics as parameters, and generating a decision tree by taking the assigned decision function as a decision condition;
and collecting the decision tree generated by all the historical health information characteristics of each group to obtain a decision tree model, and determining the decision tree model as a health evaluation model.
In the embodiment of the present invention, the historical health information features may be classified by classifying data required for different types of diseases, for example, the historical health information required for hyperuricemia includes the dietary intake of coarse grains, the intake of animal viscera, the intake of wine, and the like, and a health assessment model of decision tree diet related to hyperuricemia may be generated according to the dietary habit features.
Illustratively, the decision function may be:
Figure BDA0003548509780000061
wherein f (x) is the output value of the decision function, x is the parameter of the decision function, and g (y) is the input value of the decision function.
In detail, one of the historical health information features of each group can be selected one by one as a target feature, the target feature is used for assigning a parameter x of the decision function, and the assigned decision function is used as a decision condition to generate the following decision tree:
when the input value g (y) of the decision tree is the same as the parameter x of the decision tree, the decision tree output value f (x) α;
when the input to g (y) of the decision tree is not the same as the parameter x of the decision tree, the decision tree outputs a value f (x) β.
In the embodiment of the invention, decision trees generated by all historical health information characteristics of each group can be collected in a parallel or serial mode to obtain a health evaluation model.
S2, calculating the health grade of the user according to the health evaluation result;
in the embodiment of the invention, the health condition can be divided according to the health grade according to the health evaluation result, and the condition of the health habit of the user is represented.
In an embodiment of the present invention, please refer to fig. 3, the calculating the health level of the user according to the health assessment result includes:
s21, calculating a distance value of a grade characteristic corresponding to the health evaluation result and a preset health grade;
and S22, determining the health grade of the health evaluation result according to the distance value.
Further, in the embodiment of the present invention, the distance value of the grade feature corresponding to the health assessment result and the preset health grade may be calculated by the following formula:
Figure BDA0003548509780000071
wherein D is the distance value, RiAnd T is a grade characteristic corresponding to the ith health grade, T is a health evaluation result, and theta is a preset coefficient.
In another optional embodiment of the present invention, a preset health level table may be used to determine the health level corresponding to the health assessment result. For example, the health evaluation result is a health degree score, a first health degree score, a second health degree score and a third health degree score exist, the health degree score corresponding to the first health degree score is [100, 80 ], the health degree score corresponding to the second health degree score is [ 80-60 ], the health degree score corresponding to the third health degree score is [ 60-0 ], the health degree score of the user a is 80, and the health degree score corresponding to the user a is the second health degree score.
S3, generating a health card punching task according to the health grade and the health information, and sending the card punching task to a user;
in the embodiment of the invention, the health card punching task is a health adjustment scheme made according to health conditions with different health grades, wherein the health adjustment scheme comprises dietary restrictions and recommendations, life habit restrictions and recommendations and the like.
In an embodiment of the present invention, the generating a health card punching task according to the health level and the health information includes:
extracting the health attribute of the health information, and extracting a corresponding task table from a preset task table as a target task table according to the health attribute;
and extracting a corresponding task from the target task table according to the health grade to serve as a health card punching task.
In the embodiment of the invention, the task table comprises life habit task plans, eating habit task plans and the like corresponding to different types (namely different attributes) of diseases, or task tables corresponding to different sexes and ages. For example, a hyperuricemia task table, a diabetes task table may exist according to disease classification.
In the embodiment of the present invention, the sending the card punching task to the user includes:
generating a card punching message according to the card punching task, and pushing the card punching message to a message queue;
and sending the message in the message queue to a mobile terminal of a user by using preset message middleware.
In the embodiment of the present invention, the pre-constructed message middleware may be a Kafka message middleware, where Kafka is a distributed, partition-supported, multi-copy (replication) distributed message system based on zookeeper coordination, the largest characteristic of which is that it can process a large amount of data in real time to meet various demand scenarios, and has the characteristics of high throughput and low delay, and Kafka can process hundreds of thousands of messages per second, and its delay is only a few milliseconds at minimum, and the distribution and processing of messages in the message system can be performed through the message middleware.
In the embodiment of the invention, the task table is divided into different card punching task requirements according to different health grades, for example, the card punching task requirements are executed for users with poor diet, living habits and the like according to the tasks with lower grades, so that the adjustment of the health habits can be performed step by step, and the actual conditions of the users are better met.
S4, receiving card punching information returned by the user according to the card punching task, updating the health evaluation result according to the card punching information, and recalculating the health grade of the user according to the updated health evaluation result;
in the embodiment of the invention, the health condition of the user after the card punching can be updated in real time by receiving the card punching information returned by the user, so that the next health card punching plan is carried out.
In the embodiment of the present invention, the step of updating the health assessment result according to the card punching information is similar to the step of calculating the health information by using the preset health assessment model in the above S1 to obtain the health assessment result, and details are not repeated here.
In this embodiment of the present invention, the step of recalculating the health level of the user according to the updated health assessment result is similar to the step of calculating the health level of the user according to the health assessment result in S2, and is not repeated here.
S5, judging whether the re-determined health grade reaches a preset grade condition or not;
in the embodiment of the invention, the grade condition can be different from the original health grade, if the redetermined health grade is different from the original health grade, the condition is met, and a card punching task is generated according to the redetermined health grade; and when the re-determined health level is the same as the original health level, the condition is not met, and the card punching task corresponding to the original health level is continuously executed.
If the re-determined health level reaches the preset level condition, returning to S3;
in the embodiment of the invention, if the redetermined health level reaches the preset level condition, the card punching task executed by the user meets the requirement, the health condition of the user is changed, the card punching tasks corresponding to other health levels can be entered until the card punching task of the highest health level is completed, and the user is enabled to keep the card punching task corresponding to the highest health level for a long time, so that the purpose of enabling the user to be nourished into healthy eating habits and living habits is achieved.
In the embodiment of the invention, a follow-up task can be set, and the current diet and living habits of the user are obtained through dialogue with the user and inquiry, so that whether the current diet and living habits of the user conform to the card punching task corresponding to the current health level of the user or not and whether the adjustment of the card punching task is needed or not is judged.
And if the newly determined health level does not reach the preset level condition, executing S6 and continuing to execute the card punching task.
In the embodiment of the invention, if the redetermined health level reaches the preset level condition, the card punching task executed by the user is not in accordance with the requirement, the change degree of the health condition of the user does not reach the standard, the card punching tasks corresponding to other health levels cannot be entered, and the card punching task of the level needs to be continuously executed.
According to the embodiment of the invention, the health evaluation result is obtained by calculating the health information of the user through the health evaluation model, and the health grade is determined according to the health evaluation result, so that the purpose of generating a health card punching task according to the health information differentiation of different users is finally realized; and generating a card punching task through the health grade and the health information, and evaluating the card punching information returned by the user according to the card punching task to determine a subsequent card punching task, so that the interactivity between the health management system and the user is realized. Therefore, the method for generating the health card punching task can solve the problem of low interactivity between the health management system and the user.
Fig. 4 is a functional block diagram of a device for generating a health card-punching task according to an embodiment of the present invention.
The device 100 for generating a health card punching task can be installed in electronic equipment. According to the realized functions, the generation device 100 of the health card punching task can comprise a health evaluation result generation module 101, a health grade generation module 102, a health card punching task sending module 103, a health evaluation result recalculation module 104 and a health card punching task re-determination module 105. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the health assessment result generation module 101 is configured to acquire health information of a user, and assess the health information by using a preset health assessment model to obtain a health assessment result;
the health grade generation module 102 is configured to calculate a health grade of the user according to the health evaluation result;
the health card punching task sending module 103 is configured to generate a health card punching task according to the health level and the health information, and send the card punching task to a user;
the health assessment result recalculation module 104 is configured to receive the card punching information returned by the user according to the card punching task, update the health assessment result according to the card punching information, and recalculate the health level of the user according to the updated health assessment result;
the health card punching task re-determining module 105 is used for returning to the step of generating the health card punching task according to the health grade when the re-determined health grade reaches a preset grade condition; and when the re-determined health level does not reach the preset level condition, continuing to execute the card punching task.
In detail, when used, each module in the device 100 for generating a health card-punching task according to the embodiment of the present invention adopts the same technical means as the method for generating a health card-punching task described in fig. 1 to 3, and can produce the same technical effect, which is not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device implementing a method for generating a health card punching task according to an embodiment of the present invention.
The electronic device 1 may include a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further include a computer program stored in the memory 11 and executable on the processor 10, such as a generation program of a health card punching task.
In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same function or different functions, and includes one or more Central Processing Units (CPUs), a microprocessor, a digital Processing chip, a graphics processor, a combination of various control chips, and the like. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device by running or executing programs or modules (such as a generation program for executing a health card punching task) stored in the memory 11 and calling data stored in the memory 11.
The memory 11 includes at least one type of readable storage medium including flash memory, removable hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, for example a removable hard disk of the electronic device. The memory 11 may also be an external storage device of the electronic device in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used not only to store application software installed in the electronic device and various types of data, such as codes of a generation program of a health card punching task, but also to temporarily store data that has been output or is to be output.
The communication bus 12 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
The communication interface 13 is used for communication between the electronic device and other devices, and includes a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are typically used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
Fig. 5 only shows an electronic device with components, and it will be understood by a person skilled in the art that the structure shown in fig. 5 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management and the like are realized through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
It is to be understood that the embodiments described are illustrative only and are not to be construed as limiting the scope of the claims.
The generation program of the health card punching task stored in the memory 11 of the electronic device 1 is a combination of a plurality of instructions, and when running in the processor 10, can realize:
acquiring health information of a user, and evaluating the health information by using a preset health evaluation model to obtain a health evaluation result;
calculating the health grade of the user according to the health evaluation result;
generating a health card punching task according to the health grade and the health information, and sending the card punching task to a user;
receiving card punching information returned by the user according to the card punching task, updating the health evaluation result according to the card punching information, and recalculating the health grade of the user according to the updated health evaluation result;
judging whether the re-determined health grade reaches a preset grade condition or not;
if the re-determined health level reaches a preset level condition, returning to the step of generating a health card punching task according to the health level;
and if the re-determined health level does not reach the preset level condition, continuing to execute the card punching task.
Specifically, the specific implementation method of the instruction by the processor 10 may refer to the description of the relevant steps in the embodiment corresponding to the drawings, which is not described herein again.
Further, the integrated modules/units of the electronic device 1, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
acquiring health information of a user, and evaluating the health information by using a preset health evaluation model to obtain a health evaluation result;
calculating the health grade of the user according to the health evaluation result;
generating a health card punching task according to the health grade and the health information, and sending the card punching task to a user;
receiving card punching information returned by the user according to the card punching task, updating the health evaluation result according to the card punching information, and recalculating the health level of the user according to the updated health evaluation result;
judging whether the re-determined health grade reaches a preset grade condition or not;
if the re-determined health level reaches a preset level condition, returning to the step of generating a health card punching task according to the health level;
and if the re-determined health level does not reach the preset level condition, continuing to execute the card punching task.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention 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 invention 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 signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
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 system 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.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A generation method of a health card punching task is characterized by comprising the following steps:
acquiring health information of a user, and evaluating the health information by using a preset health evaluation model to obtain a health evaluation result;
calculating the health grade of the user according to the health evaluation result;
generating a health card punching task according to the health grade and the health information, and sending the card punching task to a user;
receiving card punching information returned by the user according to the card punching task, updating the health evaluation result according to the card punching information, and recalculating the health grade of the user according to the updated health evaluation result;
judging whether the re-determined health grade reaches a preset grade condition or not;
if the re-determined health level reaches a preset level condition, returning to the step of generating a health card punching task according to the health level;
and if the re-determined health level does not reach the preset level condition, continuing to execute the card punching task.
2. The method for generating a health card-punching task according to claim 1, wherein the evaluating the health information by using a preset health evaluation model to obtain a health evaluation result comprises:
extracting health characteristics of the health information;
selecting a target decision tree from the health assessment model according to the health information;
selecting one healthy feature from the healthy features one by one as an input value;
and inputting the input value into the target decision tree to obtain a health evaluation result output by the target decision tree.
3. The method for generating a health card-punching task according to claim 2, wherein the extracting health features of the health information comprises:
performing word segmentation processing on the health information to obtain a plurality of word segmentation data;
searching the word segmentation data by using a preset dictionary;
and selecting the retrieved word segmentation data as the health characteristics.
4. The method for generating a health card-punching task according to claim 1, wherein the calculating the health level of the user according to the health assessment result comprises:
calculating a distance value of a grade characteristic corresponding to the health evaluation result and a preset health grade;
and determining the health grade of the health evaluation result according to the distance value.
5. The method for generating a health card punching task according to claim 1, wherein the generating of the health card punching task according to the health grade and the health information comprises:
extracting the health attribute of the health information, and extracting a corresponding task table from a preset task table as a target task table according to the health attribute;
and extracting a corresponding task from the target task table according to the health grade to serve as a health card punching task.
6. The method for generating the health card punching task according to claim 1, wherein the step of sending the card punching task to a user comprises the following steps:
generating a card punching message according to the card punching task, and pushing the card punching message to a message queue;
and sending the message in the message queue to a mobile terminal of a user by using preset message middleware.
7. The method for generating a health card-punching task according to any one of claims 1 to 6, wherein before the health information is evaluated by using a preset health evaluation model, the method further comprises:
acquiring a plurality of historical health information, and extracting the historical health information characteristics of the historical health information;
classifying the historical health information features to obtain a plurality of groups of health information features, and selecting one of the historical health information features of each group one by one as a target feature;
assigning a preset decision function by taking the target characteristics as parameters, and generating a decision tree by taking the assigned decision function as a decision condition;
and collecting the decision tree generated by all the historical health information characteristics of each group to obtain a decision tree model, and determining the decision tree model as a health evaluation model.
8. An apparatus for generating a health card punching task, the apparatus comprising:
the health assessment result generation module is used for acquiring health information of a user and assessing the health information by using a preset health assessment model to obtain a health assessment result;
the health grade generation module is used for calculating the health grade of the user according to the health evaluation result;
the health card punching task sending module is used for generating a health card punching task according to the health grade and the health information and sending the card punching task to a user;
the health evaluation result recalculation module is used for receiving the card punching information returned by the user according to the card punching task, updating the health evaluation result according to the card punching information and recalculating the health grade of the user according to the updated health evaluation result;
the health card punching task re-determining module is used for returning to the step of generating the health card punching task according to the health grade when the re-determined health grade reaches a preset grade condition; and when the re-determined health level does not reach the preset level condition, continuing to execute the card punching task.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of generating a health punch task as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for generating a health card-punching task according to any one of claims 1 to 7.
CN202210255628.0A 2022-03-15 2022-03-15 Method, device and equipment for generating health card punching task and storage medium Pending CN114639462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210255628.0A CN114639462A (en) 2022-03-15 2022-03-15 Method, device and equipment for generating health card punching task and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210255628.0A CN114639462A (en) 2022-03-15 2022-03-15 Method, device and equipment for generating health card punching task and storage medium

Publications (1)

Publication Number Publication Date
CN114639462A true CN114639462A (en) 2022-06-17

Family

ID=81948559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210255628.0A Pending CN114639462A (en) 2022-03-15 2022-03-15 Method, device and equipment for generating health card punching task and storage medium

Country Status (1)

Country Link
CN (1) CN114639462A (en)

Similar Documents

Publication Publication Date Title
CN114663198A (en) Product recommendation method, device and equipment based on user portrait and storage medium
CN113626606B (en) Information classification method, device, electronic equipment and readable storage medium
CN114722281B (en) Training course configuration method and device based on user portrait and user course selection behavior
CN113688923A (en) Intelligent order abnormity detection method and device, electronic equipment and storage medium
CN114612194A (en) Product recommendation method and device, electronic equipment and storage medium
CN113706322A (en) Service distribution method, device, equipment and storage medium based on data analysis
CN114398560B (en) Marketing interface setting method, device, equipment and medium based on WEB platform
CN116483976A (en) Registration department recommendation method, device, equipment and storage medium
CN113627160B (en) Text error correction method and device, electronic equipment and storage medium
CN114862140A (en) Behavior analysis-based potential evaluation method, device, equipment and storage medium
CN112269875A (en) Text classification method and device, electronic equipment and storage medium
CN116741358A (en) Inquiry registration recommendation method, inquiry registration recommendation device, inquiry registration recommendation equipment and storage medium
CN114639462A (en) Method, device and equipment for generating health card punching task and storage medium
CN115966274A (en) Method and device for screening questionnaire questions, electronic equipment and storage medium
CN113419951B (en) Artificial intelligent model optimization method and device, electronic equipment and storage medium
CN114613471A (en) Diet scheme generation method, device, equipment and medium based on artificial intelligence
CN114219367A (en) User scoring method, device, equipment and storage medium
CN115099339A (en) Fraud behavior identification method and device, electronic equipment and storage medium
CN115114992A (en) Method, device and equipment for training classification model and storage medium
CN113344415A (en) Deep neural network-based service distribution method, device, equipment and medium
CN113780473A (en) Data processing method and device based on depth model, electronic equipment and storage medium
CN115225489B (en) Dynamic control method for queue service flow threshold, electronic equipment and storage medium
CN113723554B (en) Model scheduling method, device, electronic equipment and computer readable storage medium
CN115565674A (en) Method and device for determining target data based on historical data
CN114742238B (en) Method, device, equipment and medium for screening raw materials of thick broad-bean sauce

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
TA01 Transfer of patent application right

Effective date of registration: 20220921

Address after: Room 2601 (Unit 07), Qianhai Free Trade Building, No. 3048, Xinghai Avenue, Nanshan Street, Qianhai Shenzhen-Hong Kong Cooperation Zone, Shenzhen, Guangdong 518000

Applicant after: Shenzhen Ping An Smart Healthcare Technology Co.,Ltd.

Address before: 1-34 / F, Qianhai free trade building, 3048 Xinghai Avenue, Mawan, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong 518000

Applicant before: Ping An International Smart City Technology Co.,Ltd.

TA01 Transfer of patent application right