CN-122027661-A - Full scene state synchronization and priority scheduling system and method based on photoconductive film
Abstract
The invention discloses a full scene state synchronization and priority scheduling system and method based on a photoconductive film, and synchronizing the state data of the user in a plurality of application scenes such as health monitoring, safety protection, social service, virtual world, intelligent home and the like in real time through a unified identity authentication center. The system comprises a state data aggregation module, a state synchronization module, a priority scheduling module, a state persistence module and a conflict arbitration module. The state synchronization adopts a real-time pushing mechanism and a version number mechanism, and real-time performance is guaranteed through parallel pushing. The priority scheduling is classified according to the security level, namely the highest life security class (vehicle-mounted rescue, physiological abnormality rescue, emergency medical help seeking) can interrupt all other operations, the inferior property security class, the third social service class, the fourth health monitoring class and the lowest daily interaction class. The user can set the personalized priority and do not disturb mode, and set real-time synchronization to all devices. The state persistence supports automatic recovery after scene switching, and temporary main households are automatically elected when main household equipment is offline. The state subscription adopts directed acyclic graph management, and the cyclic subscription is automatically detected. The offline data temporary storage adopts a circular queue, when the space is full, records with earliest time stamps and lowest priority are discarded preferentially, and high-priority data is transferred preferentially after recovery. The invention solves the problems of multi-scene state splitting, inconsistent data and lack of unified scheduling in scene conflict, and is a core infrastructure of cross-scene intelligent service.
Inventors
- CHANG LE
Assignees
- 常乐
Dates
- Publication Date
- 20260512
- Application Date
- 20260321
Claims (10)
- 1. A photoconductive film-based full scene state synchronization and priority scheduling system, comprising: The unified identity authentication center is used for collecting the optical spectrum characteristics of the human body of the user through the light guide film, and generating a unique identity characteristic code which is used as an identity basis for cross-scene state synchronization; The state data aggregation module is used for reporting the state data of each application scene to the home management unit in real time through the distributed manager system architecture; the state synchronization module is used for synchronizing the state change of the user in any scene to all relevant scenes in real time, so as to ensure the consistency of the state of the cross-scene; The priority scheduling module is used for predefining priority levels of all scenes, and arbitrating according to priority rules and real-time states of users when a plurality of scenes trigger operation requests simultaneously; the state persistence module is used for persistence storage of the current state of the user in each scene and supporting automatic state recovery after the user switches among the scenes; and the conflict arbitration module is used for detecting and processing operation conflicts triggered by multiple scenes at the same time, and determining an execution strategy through unified arbitration rules.
- 2. The system according to claim 1, wherein in the priority scheduling module, priority levels of all scenes are classified according to security levels, namely, life security scenes are highest priority, operations of all other scenes can be interrupted, property security scenes are inferior, social service scenes are third, health monitoring scenes are fourth, daily interaction scenes are lowest, a user can set a default priority of a personalized priority coverage system in a unified identity authentication center, a do not disturb mode can be set to temporarily shield notification and operations of low priority scenes, and the personalized priority and the do not disturb mode set by the user are synchronized to all the caretaker devices in real time through the state synchronization module.
- 3. The system of claim 1, wherein the state synchronization module employs a real-time push mechanism, wherein when the state of any application scenario is changed, a state change event is immediately pushed to a master home unit through an encrypted communication link, the master home unit synchronizes the state to all other application scenarios subscribed to the state within a preset time, the synchronization process employs a version number mechanism, a later updated state is ensured to cover the earlier updated state, data collision is avoided, and the preset time is ensured through a parallel push mechanism.
- 4. The system of claim 1, wherein in the state persistence module, a user stores the current state of each scene in a home management unit local in a time stamp manner, supports state backtracking, automatically loads the last stored state when the user enters again after leaving the scene, uses a default initial state and pushes a prompt when the state recovery fails, the home management unit is deployed on a user-specified master device, the user can switch home management devices in a unified identity authentication center by himself, and when the home management device is offline, the system automatically elects the highest priority as a temporary home management in the online device, and synchronizes data after the master device is recovered.
- 5. The system of claim 1 wherein the conflict arbitration module arbitrates according to the following rules when a plurality of scenes trigger operation requests simultaneously, wherein the operation requests are firstly ordered according to priority levels, are preferentially executed according to high priority levels, are ordered according to emergency degrees in the same priority levels, are executed according to time sequences in the same priority levels and the emergency degrees, if the scenes trigger the higher priority levels in the execution process, the current operation is immediately interrupted, the interrupted operation is added into a waiting queue, the operation type, the parameter and the execution progress are recorded, the execution is resumed after the high priority operation is completed, the execution is continued from the interrupt point for the recoverable operation, and the operation is marked as interrupted and recorded for the unrecoverable operation.
- 6. The system of claim 1, wherein the state synchronization module supports a state subscription mechanism in which each application scenario can subscribe to a specific state of other scenarios with respect to a hosting unit, subscription relationships are stored locally at the hosting unit and managed using a directed acyclic graph structure, the system automatically detects a cyclic subscription, rejects the last subscription request and pushes a hint when the cyclic is detected, and when the subscribed state changes, the hosting unit pushes an update only to the application scenario subscribed to the state, reducing unnecessary communication overhead.
- 7. The full scene state synchronization and priority scheduling method based on the photoconductive film is characterized by comprising the following steps of: S1, a user completes identity authentication through a light guide film, and a cross-scene unified identity is established; s2, each application scene reports current state data to a home management unit through a distributed home management system; S3, synchronizing the user state data to all relevant scenes subscribed to the state by the master home unit; s4, when any scene is changed in state, immediately pushing a state change event to the master home unit; S5, synchronizing state changes to all subscription scenes in preset time by the main manager unit, and ensuring state consistency across scenes; s6, when a plurality of scenes trigger an operation request at the same time, the priority scheduling module arbitrates according to a preset priority rule and decides an execution sequence; And S7, when the user switches among scenes, the state persistence module automatically loads the last saved state to realize state recovery.
- 8. The method according to claim 7, wherein in step S6, the priority arbitration rule is that the priority of the life safety class is highest, the operation of all other scenes can be interrupted, the property safety class is next, the social service class is third, the health monitoring class is fourth, the daily interactive class is lowest, the daily interactive class is ordered according to the emergency degree in the same priority, the priority and the emergency degree are executed in time sequence, the user can set a do not disturb mode to temporarily shield the notification of the low priority class, the life safety class comprises vehicle rescue, physiological abnormal rescue and emergency medical help, and the user cannot degrade the life safety class.
- 9. The method of claim 7, wherein in step S5, the state synchronization uses a version number mechanism, the version number is incremented each time the state is changed, the master unit performs state coverage based on the latest version number to avoid data collision, the state change temporary storage is local when the network is interrupted, the upper limit of the local temporary storage space of the master is a preset number record, the record with the earliest time stamp and lowest priority is discarded when the space is full and the discard log is recorded by adopting a circular queue for storage, the state change of the high priority scene is preferably supplemented after the network is restored, the master is requested to confirm by the master after the supplement transmission is completed, and the temporary storage queue is emptied after the confirmation.
- 10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method of any of claims 7-9.
Description
Full scene state synchronization and priority scheduling system and method based on photoconductive film Technical Field The invention relates to the technical fields of distributed systems, state synchronization, priority scheduling and man-machine interaction, in particular to a full scene state synchronization and priority scheduling system and method based on a light guide film, the unified identity authentication center is used for synchronizing state data of a plurality of application scenes such as health monitoring, safety protection, social service, virtual worlds, intelligent home furnishings and the like of a user in real time, and intelligent scheduling is carried out according to scene priority and the real-time state of the user, so that the problem that a unified scheduling mechanism is lacking in the prior art when the states of multiple scenes are split, data are inconsistent and the scenes conflict is solved. Citation of the prior application The application is constructed based on the prior application patent technology previously filed by the applicant, and specific references are as follows: 1. previous application patent (application number 2026103505829, application date 2026-03-20, invention name: unique identification method and system for human body optical spectrum characteristics based on photoconductive film) The patent discloses a unique identification method for human body optical spectrum characteristics, which is characterized in that the optical spectrum characteristics of a human body are collected through a light guide film and unique characteristic codes are generated for identification. The unified identity authentication center refers to the spectrum characteristic acquisition and comparison technology of the patent and is used as an identity foundation for cross-scene state synchronization. 2. Prior application patent (application number 2026103373270, application day 2026-03-19, title: distributed housekeeping system and method based on multi-terminal collaboration) The patent discloses a distributed manager system based on multi-terminal collaboration, which comprises a manager unit and a manager unit, wherein the manager unit and the manager unit are used for converging information of all intelligent terminal devices and presenting the information to a user. The multi-terminal state synchronization mechanism in the application is realized based on the manager system architecture of the patent. 3. Various application scene patents submitted by applicant The application provides cross-scene state synchronization and priority scheduling services for various application scene patents, including health monitoring patents, safety protection patents, social service patents and intelligent interaction patents. The health monitoring, safety protection, social service and intelligent interaction technologies cited in the specific embodiments of the application come from corresponding patents filed earlier by the applicant (see the examples of the application). The application date of the prior basic patent is earlier than the application, and the prior art of the application is not disclosed before the application date of the application. Background With the development of intelligent terminals and internet of things, users generate a large amount of state data in a plurality of scenes (health monitoring, security protection, social services, virtual worlds, intelligent home). The prior art has the following defects: 1. The state splitting comprises the steps that the fatigue state of a user in the health monitoring application can not be synchronized to the vehicle-mounted safety application, the position and the activity state of the user in the virtual world can not be synchronized to the intelligent home system, and the scene states are mutually independent to form a data island; 2. The data inconsistency is that the state data (such as whether the user is driving or not and whether the user is sleeping) of the same user on different terminals cannot be synchronized in real time, so that the service decision basis of each scene is inconsistent; 3. Scene conflict is not scheduled, namely when a plurality of scenes need to occupy the attention of a user or perform operation (such as fraud prevention application needs to make a call and vehicle-mounted rescue application needs to make a call), the prior art lacks a unified priority arbitration mechanism; 4. The state recovery is difficult, namely, the user cannot automatically recover to the previous state after switching among scenes (such as the user returns after leaving the virtual world gathering point, and the scene state is lost); 5. the existing synchronization scheme mostly adopts timing polling or manual refreshing of users, and cannot meet the real-time requirement of emergency scenes (such as car accidents and fraud) on state synchronization. The applicant has previously filed a distributed housekeeping system p