Intelligent shared office comprehensive management method and system
By leveraging the collaborative efforts of the shared office management platform and the device access gateway, the problem of inconsistent device status in shared office spaces has been resolved, achieving unified synchronization of device status and improving management efficiency.
Patent Information
- Application Number
- CN202611275864.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-21
- Publication Date
- 2026-11-27
AI Technical Summary
In existing shared office spaces, equipment control commands, configuration parameters, and equipment status are not linked in the same management chain, leading to inconsistent equipment actions, persistent erroneous statuses, and equipment not being properly stored away after use.
By acquiring space reservation information and equipment registration records through the shared office management platform, a set of scenario resources is generated, the target operating status and execution sequence of the equipment are determined, the control frames are converted using the equipment access gateway, and the status verification module identifies and corrects status differences to ensure that the equipment is synchronized in the same management link.
It achieves unified synchronization of device status, reduces the possibility of inconsistencies and abnormal states in multi-device linkage, and improves the management efficiency and reliability of shared office scenarios.
Smart Images

Figure CN123180923A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a smart shared office integrated management method and system. Background Technology
[0002] Shared office spaces are typically equipped with conference display terminals, conference media servers, access control devices, environmental devices, and software platforms for space reservation and data management. Existing solutions often deploy various hardware devices, media processing devices, and office software separately. Each device operates independently according to its own interface and control protocol. The management platform sends control commands or modifies configuration parameters through different entry points, and the device's operating status is presented separately by its respective management interface.
[0003] At the start, end, or transition of a meeting, administrators need to operate multiple devices sequentially and manually verify screen display status, signal access status, media transmission status, and power supply status. Because control commands, configuration parameters, and actual device status are not linked within the same management chain, the platform struggles to promptly identify discrepancies between the target and actual states after some devices fail to execute commands, execute them late, or disconnect and reconnect. This can lead to inconsistent actions across multiple devices within the same office space, persistent erroneous statuses, and devices not being properly stored away after use. Therefore, ensuring consistent synchronization of control commands, configuration parameters, and device status in shared office environments is a key challenge that existing shared office management technologies need to address. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a smart shared office integrated management method and system that can identify state differences caused by non-execution of instructions, non-access to signals, or abnormal power supply.
[0005] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows: Firstly, a smart shared office integrated management method is applied to a management system including a shared office management platform, a device access gateway, and multiple office device terminals, the method comprising: Obtain space reservation information, target scene information, and device registration records. Based on the space identifier and usage time period in the space reservation information, select associated and available office equipment terminals from the device registration records to obtain a scene resource set. Based on the target scene information and the scene resource set, the target operating status, execution order and operation permissions of each office equipment terminal are determined to obtain the scene control package; The scene control packet is sent to the device access gateway, which converts the scene control packet into a matching control frame according to the protocol description of each office device terminal, and sends the control frame according to the execution order. Obtain the device status record returned by each office equipment terminal after executing the control frame. The device status record includes the operating status, signal status, and power supply status. The device status record is compared item by item with the target operating status to identify the target office equipment terminal with a status difference; Based on the type of state difference, a control frame is resent to the target office equipment terminal or it is switched to a safe state to obtain the scene execution result; In response to the end of the usage period, a storage control package is generated based on the scenario execution result, which controls each office equipment terminal to stop its business, store movable parts, and cut off the controlled power supply in the reverse order of startup.
[0006] Secondly, an intelligent shared office integrated management system includes a shared office management platform, a device access gateway, and multiple office device terminals; the shared office management platform includes a resource determination module, a scene arrangement module, a status verification module, and a storage control module. The resource determination module is used to obtain a set of scene resources based on space reservation information, target scene information, and device registration records; The scene orchestration module is used to determine the target operating status, execution order, and operation permissions of each office equipment terminal and generate scene control packages; The status verification module is used to compare the device status records returned by each office equipment terminal with the target operating status item by item and generate status correction instructions. The storage control module is used to generate a storage control package at the end of the usage period. The device access gateway is used to convert scene control packages, status correction instructions, or collection control packages into control frames according to the protocol description; the office equipment terminal is used to execute the control frames and send back device status records including operating status, signal status, and power supply status.
[0007] The above-described solution of the present invention has at least the following beneficial effects: By filtering device registration records through space identifiers and usage time periods in space reservation information, office equipment terminals participating in a shared office scenario can form a set of scenario resources corresponding to the actual space and time period, which can reduce the situation of irrelevant devices being erroneously controlled. By uniformly setting the target operating status, execution order, and operation permissions of each office equipment terminal in the scenario control package, and having the device access gateway convert them into control frames that match different terminals according to the protocol description, office equipment terminals that originally used different control protocols can be orchestrated to perform collaborative actions according to the same scenario.
[0008] By collecting device status records including operating status, signal status, and power supply status, and comparing these records with the target operating status item by item, it is possible to identify status differences caused by non-execution of instructions, non-access to signals, or abnormal power supply status. By re-issuing control frames according to the type of status difference or switching to a safe state, and stopping services, storing movable parts, and cutting off controlled power supply in the reverse order of startup after the usage period ends, control instructions, configuration parameters, and actual device status form a verifiable closed loop in the same management link, thereby reducing the possibility of inconsistent linkage among multiple devices and the continued retention of abnormal status in shared office scenarios. Attached Figure Description
[0009] Figure 1 This is a flowchart illustrating an intelligent shared office integrated management method provided by an embodiment of the present invention.
[0010] Figure 2 This is a schematic diagram of an intelligent shared office integrated management system provided by an embodiment of the present invention. Detailed Implementation
[0011] To make the technical solution and implementation process of the present invention clearer, the structural basis, common power supply relationship and electricity theft risk detection process of the modular splicing metering box system are described in detail below. The box type, connection direction and user type are used to distinguish different structures or power supply objects, and do not necessarily limit the arrangement order of the boxes.
[0012] like Figure 1 and Figure 2 As shown, to clarify the implementing entity, data objects, and processing order of the technical solution, the following explanation is based on the scenarios of meeting display, media distribution, data collaboration, and equipment maintenance in a shared office space. The shared office management platform is a software service used to store space, users, equipment, scenarios, and operation records, and to perform scenario orchestration. The device access gateway is a protocol adaptation node located between the shared office management platform and the office equipment terminal. The office equipment terminal includes a flip-screen terminal, a conference media server, an access control terminal, environmental equipment, or other office equipment that can receive control frames and return device status records. The terms "first" and "second" are used to distinguish similar objects, without limiting the importance or fixed order of the objects. "Multiple" means two or more. "Association" means establishing a queryable correspondence through an identifier field, mapping record, or session record. "Security status" means stopping further expansion of device actions under the current abnormal conditions and maintaining or restoring to a state that allows manual processing.
[0013] The shared office management platform, device access gateway, and office equipment terminals can be deployed on the same local area network (LAN), or they can be jointly carried by the campus LAN and a controlled remote network. The shared office management platform can run on a local server, a cloud server, or a service cluster composed of multiple computing nodes. The device access gateway can be deployed as an independent device or integrated with a conference media server or space controller. The office equipment terminals can access the network via Ethernet, serial bus, or other communication links defined by protocol description files. The system architecture and application scenarios are used to illustrate the data flow and control relationships. While maintaining resource binding, protocol adaptation, status feedback, and difference correction relationships, specific network media, processor models, and terminal forms can be replaced.
[0014] A scenario resource set is a collection of office equipment terminal records that can be scheduled by the shared office management platform during a scenario execution. Each record contains at least the device identifier, device type, space identifier, communication address, protocol version, capability items, current available status, and most recent status time. The target scenario information describes the desired combination of equipment states for an office activity, which may include meeting mode, presentation mode, collaborative editing mode, or storage mode. The target operating status is a set of status fields decomposed from the target scenario information for a single office equipment terminal. For example, the target operating status of a flip display terminal may include power on, communication online, screen unfolded, and video signal valid. The target operating status of a conference media server may include acquisition on, encoding parameter level, and receiving terminal set. Because the scenario resource set incorporates space, time period, and device capabilities into the filtering, the same device will not be repeatedly allocated in two scenarios with overlapping times.
[0015] A scenario control package is a structured control object generated by the shared office management platform for a single scenario execution. It includes at least a scenario control package identifier, a space identifier, a scenario identifier, a usage period, device action items, an execution sequence number, operation permissions, an expiration period, and a failure handling method. Each device action item includes a device identifier, a target running status, a control action, dependent device identifiers, and a desired response field. The device access gateway does not directly control the terminal based on the natural language scenario name, but instead reads the device action items and forms a control frame according to the protocol mapping record. The scenario control package identifier is used to associate the control frame, response data, device status records, and scenario execution results with the same scenario execution, avoiding the overwriting of status data from different scenarios.
[0016] The device status record is a structured return object generated after the office equipment terminal executes a control frame. It includes at least the device identifier, scene control package identifier, control frame identifier, acquisition time, operating status, signal status, power supply status, and fault identifier. The operating status describes the terminal's working stage or mechanical position; the signal status describes whether the input signal, output signal, or communication link is valid; the power supply status describes the status of the main power supply, controlled power supply, or protection circuit; and the fault identifier describes the type of abnormality detected by the terminal itself. For office equipment terminals that cannot return all fields at once, the device access gateway can combine multiple response frames within the same acquisition cycle into a single device status record based on the device identifier and control frame identifier, and write the missing status for any unreturned fields instead of replacing them with speculative values.
[0017] In one deployment method, the shared office space is equipped with multiple flip-screen terminals, a conference media server, a device access gateway, and several user terminals. The flip-screen terminals are installed at corresponding workstations on the conference table. The conference media server is connected to cameras, audio input devices, public display devices, and the local area network. The device access gateway is connected to the shared office management platform through a network interface and to the flip-screen terminals through a network interface or serial bus. The shared office management platform stores space reservation forms, device registry entries, protocol mapping tables, scene template tables, permission tables, status tables, and operation logs. User terminals submit reservations, select scenes, or access materials through web, desktop, or mobile terminals. The system creates a scene execution task based on the information submitted by the user.
[0018] In traditional split-deployment methods, the scheduling software only records space and time, the flip display terminal is raised or lowered or flipped via an independent controller, and the conference media server sets acquisition and encoding parameters through another management interface. Each system determines whether its own operation is complete. When the administrator starts a meeting in the scheduling software, the scheduling software cannot confirm whether the flip display terminal has actually unfolded, nor can it confirm whether the media server has received a valid input signal. If a controller goes offline, a terminal malfunctions, or the media link is reconnected, the status displayed by each system may be correct individually, but they cannot form a usable overall scenario. This problem stems from the lack of binding of control objects, the lack of unified protocol actions, and the failure of the actual status to return to the same scenario task. Therefore, simply adding a remote button or a status page cannot form a closed-loop linkage.
[0019] To address the aforementioned issues, the shared office management platform transforms the space, time slots, and equipment capabilities involved in reservations into a set of scenario resources. It then decomposes the scenario objectives into the target operating states of each terminal and their interdependent execution sequences. The device access gateway converts unified device actions into control frames that each terminal can recognize. After execution, the terminal sends back its operating, signal, and power supply status. The shared office management platform compares the returned status with the target operating status item by item and performs corrections or safe switching when discrepancies exist. This processing chain places the planned status, issued actions, and actual status under the same scenario control package identifier, ensuring that each stage can use the data returned by the device as the basis for entering the next stage.
[0020] A smart shared office integrated management method includes the following steps: S101, Obtain scene input and establish appointment task The shared office management platform receives space reservation information and target scenario information submitted by user terminals. The space reservation information includes at least a reservation identifier, space identifier, start time, end time, and reservation user identifier. The target scenario information includes at least the scenario type, required equipment capabilities, and data service requirements. The platform first checks whether the start time is earlier than the end time, whether the space identifier exists, whether the reservation user has usage rights in the corresponding time period, and whether there are any valid reservations with overlapping times for the space. If any check fails, the platform returns the corresponding reason and stops creating the task. If all checks pass, a reservation task identifier is generated and associated with and saved with the space reservation information and target scenario information. Since the reservation task completes time period and permission verification before equipment screening, the subsequent scenario orchestration uses executable input objects.
[0021] Target scenario information can be selected by the user from scenario templates, or the user can combine device capabilities within the scope of their permissions. Scenario templates record scenario type, required capabilities, optional capabilities, device quantity conditions, start action group, storage action group, and failure handling method. When the user customizes the combination, the shared office management platform compares the capability items selected by the user with the set of capabilities allowed by the scenario template. Capabilities that exceed the allowed range are not written into the target scenario information, and the unused capability items and reasons are returned to the user terminal. When the target scenario only requires data collaboration and does not require a display terminal, the device filtering may not include flip display terminals, but the resource records corresponding to the conference media server or data service node are still retained.
[0022] S102, Obtain the scene resource set based on space and time period. The shared office management platform queries the device registry based on space identifiers to obtain candidate device records installed in the target space or configured to serve the target space. It then queries device occupancy and maintenance records based on usage time periods, excluding candidate devices that are already occupied by other scenarios during the usage time period, are under maintenance, have a recent status time exceeding the allowed interval, or are marked as incompatible. The platform matches the capability items of the remaining candidate devices with the required device capabilities in the target scenario information item by item. For each required capability, at least one office device terminal that meets the conditions is selected. For optional capabilities, selection is made according to the quantity conditions in the scenario template to obtain a scenario resource set. If no device is available for any required capability, the platform writes the missing capability, the corresponding candidate device, and the reason for exclusion into the resource shortage record and stops entering the control phase.
[0023] The capability entries in the device registry are stored using enumerable fields. For example, a flip-screen terminal can register display, mechanical unfolding, mechanical folding, video input detection, and controlled power-off capabilities, while a conference media server can register audio and video capture, encoding, media distribution, and disconnection reconnection capabilities. When multiple candidate devices exist for the same capability, the shared office management platform compares in turn whether the device belongs to the target space, whether its recent status is normal, whether the current number of sessions is lower than the capability limit, and whether the communication path is reachable, and selects the device that meets the conditions. If multiple devices are still the same, the selection is based on the stable order of the device identifiers. This selection method provides a definite and repetitive execution result, avoiding random changes in device combinations with each orchestration.
[0024] After the scene resource set is generated, the shared office management platform establishes a resource lock for each device in the set. The resource lock includes the reservation task identifier, device identifier, lock start time, lock end time, and lock status. When writing a resource lock, the platform checks again whether a new valid lock appears for the device in the same time period. If it does, it cancels all resource locks that have been written and re-executes the device selection. If it does not appear, it changes the scene resource set status to confirmed. When the reservation is canceled or the resource creation fails, the platform releases the corresponding resource lock. After the usage period ends and the collection process is completed, the platform changes the resource lock to the released status, thereby ensuring that the device has a consistent occupancy relationship during the scene creation, execution, and termination stages.
[0025] S103, Generate target running status and execution order The shared office management platform reads the target scene information and scene resource set, instantiates the action groups in the scene template into devices, replaces the device type in the template with the device identifier in the scene resource set, and generates a target operating state for each device. For example, the target operating state of the meeting mode can require the meeting media server to first enter the power-on and communication online state, then enable the flip display terminal to enter the power-on, communication online, and screen unfolded state, and after the display terminal reports that it has been unfolded, enable the meeting media server to enter the acquisition and media distribution state. The target operating state only saves fields that can be verified by the device status record. Actions without feedback capabilities are not written as completed, but are recorded as pending manual confirmation or using alternative sensor fields directly related to the action.
[0026] The execution order is generated according to the action dependency relationship. The platform first registers the preconditions for each device action item, and then forms the first execution sequence from the action items that do not have unmet preconditions. After the first execution sequence is completed, the action items with the first execution sequence as a precondition form the subsequent execution sequence, until all action items are arranged. If it is found that action item A depends on action item B and action item B directly or indirectly depends on action item A, the platform determines that there is a circular dependency and stops generating scene control packages. At the same time, it returns the device identifier and action identifier of the loop. For multiple independent action items, the platform puts these action items into the same execution sequence and allows them to be issued in parallel to reduce unnecessary serial waiting.
[0027] The startup execution sequence can include controlled power supply activation, communication establishment, movable part deployment, signal access, and service activation in sequence. The retraction execution sequence can include service cessation, signal release, movable part retraction, and controlled power supply disconnection in sequence. The reverse order here is determined for action chains with dependencies. It does not require all devices to strictly execute in reverse order one by one. For example, if two independent flip display terminals are in the same execution sequence during startup, they can still be in the same execution sequence and retracted in parallel during retraction. By retaining action dependencies rather than a fixed device number order, the same scene template can continue to be used when the number of devices changes.
[0028] S104, Generate and verify the scene control package The shared office management platform writes the target running status, execution order, and operation permissions into the scene control package. The operation permissions are jointly determined by the user identifier, space identifier, usage time period, scene type, device identifier, and allowed actions. The platform generates a unique identifier for the scene control package and an action item identifier for each device action item, and sets the start effective time, expiration time, allowed number of retries, and failure handling method. The failure handling method can be to reissue, skip non-essential devices, pause dependent actions, or switch to a safe state. After the scene control package is generated, the platform checks whether each device action item has a device identifier, target status, control action, and execution sequence number, checks whether dependent devices are located in the scene resource set, and checks whether the operation permissions cover the corresponding actions. After all checks pass, the scene control package status is changed to pending issuance.
[0029] The scene control package uses a version field to identify its structure version. After receiving the scene control package, the device access gateway first checks the structure version, integrity check value, and validity period. If the structure version is not supported, the integrity check fails, or the current time exceeds the validity period, the device access gateway does not generate a control frame and returns a gateway processing record containing the scene control package identifier and the reason for rejection. After receiving the rejection record, the shared office management platform keeps the scene task in an inactive state and releases resources that have not yet generated any actual actions to prevent incorrectly formatted or expired tasks from being executed by the device.
[0030] S105, convert and send control frames according to the protocol description. The device access gateway reads the device action items of the current execution sequence from the scene control packet, queries the device type and protocol version in the device registry using the device identifier, and then queries the protocol mapping table using the device type, protocol version, and control action. The protocol mapping table records at least the control field, field length, value rules, byte order, verification method, response field, response success condition, and timeout duration. The gateway writes the target running status in the device action item into the control field according to the value rules, and generates a control frame after adding the control frame identifier, sequence number, and verification data. For cases where the same device action requires multiple control frames, the protocol mapping table records both the intra-frame order and the minimum acknowledgment condition between frames. The gateway sends the next control frame only after receiving a successful response to the previous control frame.
[0031] The protocol mapping table is indexed by both device type and protocol version. The same control action can be configured with different control fields for different protocol versions. When a device firmware upgrade causes a change in the protocol version, the device access gateway reads the new protocol version when the device is re-registered and only selects the protocol mapping record that matches the new protocol version and is in the enabled state. The original protocol mapping record retains its version status for historical log parsing. If no matching record is found, the gateway marks the device as incompatible and returns the missing device type, protocol version, and control action to the shared office management platform. It does not attempt to use records with similar versions, thereby preventing incorrect mechanical actions or incorrect power supply actions caused by changes in field meanings.
[0032] The device access gateway saves a transmission record for each control frame. The transmission record includes the scene control packet identifier, action item identifier, control frame identifier, device identifier, transmission time, number of transmissions, and current waiting status. When the control frame is transmitted over the network, it can use a connection-oriented reliable communication channel. When the control frame is transmitted over the serial bus, it can be sent frame by frame according to the device address. The same control frame identifier is retained regardless of the link used. After receiving a terminal response, the gateway looks up the transmission record using the control frame identifier. Responses for which no corresponding record is found are written to the isolated response record and are not used to advance the execution sequence, preventing delayed responses from being incorrectly assigned to new scene tasks.
[0033] Before the control frame is sent, the device access gateway re-verifies the operation permissions. The verification includes whether the user permissions in the scene control package allow the target action, whether the target device belongs to the specified space, and whether the current time is within the allowed execution period. If the verification is successful, the gateway converts and sends the control frame. If the verification fails, the gateway returns a permission rejection record and maintains the current state of the device. For the safe storage action, independent storage permissions can be configured in the scene template. When the normal reservation permission has expired but the device is still in the unfolded or business running state, the gateway allows the storage control package with storage permission to continue to execute, avoiding the device being unable to restore the safe state when the usage period ends.
[0034] S106, Collect and combine device status records After receiving a control frame, the office equipment terminal first verifies the target device address, control frame structure, verification data, and control frame identifier. If verification fails, a rejection response is returned without driving the execution component. If verification passes, it checks whether the control frame identifier has already been executed. If the control frame identifier already exists in the terminal's recent execution record, the terminal returns the previous execution result and does not drive the movable component again. If the control frame identifier does not appear, the corresponding control action is invoked, and the action start time, action completion time, and execution result are recorded. The operating status, signal status, and power supply status are also collected. This idempotent processing avoids repeated toggling or repeated power-on / off when the device access gateway retransmits the control frame due to lost response.
[0035] Taking a flip display terminal as an example, when the terminal executes the unfold control frame, the transmission drive circuit drives the flip transmission mechanism to move, and the signal acquisition circuit continuously reads the unfold position detection signal and the drive abnormal signal. After reaching the unfold position, the drive stops and the running status is written as unfolded. If the unfold position is not reached within the allowed action time, the drive current is in a protection state, or the position detection signals are contradictory, the terminal stops the drive, writes the running status as unfolded abnormal, and writes the corresponding abnormality type in the fault identifier. Since the terminal first stops the potentially expanding mechanical action and then returns to abnormal, the platform will not directly promote media services in an unknown mechanical state when performing subsequent status correction.
[0036] When the conference media server executes the acquisition start control frame, it first checks whether there are valid signals for the specified video and audio inputs, and then establishes the acquisition buffer, encoding session, and receiving terminal session. When the video input is valid, the audio input is valid, and the encoding session has been established, the running status is set to "service running". The signal status records the video input, audio input, and output stream status respectively, and the power supply status records the host power supply and the controlled peripheral power supply. If the input signal is missing, the conference media server can keep the encoding session ready but set the service status to "waiting signal". Based on this, the platform can identify that the media server has started but the target scenario does not yet have complete signal conditions.
[0037] Some office equipment terminals can return all status fields in a single response frame, while others return mechanical status, signal status, and power supply status separately. The device access gateway combines multiple response frames according to the device identifier, scene control package identifier, and status acquisition cycle. When the combination window ends, the returned fields use the terminal report values, and the unreturned fields are written as missing with a field missing identifier. The gateway does not use the values from the previous acquisition cycle to automatically fill in the missing fields for the current cycle. The combined device status record is written to the status message queue and sent to the shared office management platform, enabling the status verification module to distinguish between unchanged status and status not acquired.
[0038] S107, Compare the target state and perform difference correction. After receiving the device status record, the shared office management platform locates the corresponding device action item using the scene control package identifier and device identifier. It then compares the operating status, signal status, and power supply status in the device status record with the corresponding fields in the target operating status. If the fields are the same, it is marked as consistent; if the fields are missing, it is marked as pending confirmation; and if the fields are different, it is marked as different. The difference type is determined according to the category to which the difference field belongs. Operating status differences may include actions not started, actions not completed, or entering a fault state; signal status differences may include missing inputs, outputs not established, or communication interrupted; and power supply status differences may include controlled power supply not turned on, protection power off, or power not turned off after storage. The platform writes the comparison results into the status comparison record and accumulates them into the scene execution results.
[0039] For differences where retry is possible and the terminal does not report a protection fault, the shared office management platform regenerates corrective control items containing only the differing actions. The corrective control items retain the original scenario control package identifier and use a new control frame identifier. The device access gateway performs permission verification and protocol conversion again before issuing the corrective control items. The number of retry attempts is derived from the scenario template or device registration records. Before each retry, the platform checks whether the current status of the device still allows the target action and stops retrying when the allowed number of retry attempts is reached, a protection fault is received, or the usage period has ended. By using a new control frame identifier for each correction, the platform can avoid the terminal recognizing the correction action as a duplicate frame and retain the causal relationship between the original action and the correction action in the operation log.
[0040] For differences where retrying is not appropriate, the shared office management platform selects a safety status based on the device type. For example, when a flip-up display terminal experiences a mechanical protection failure during unfolding, it stops transmission and maintains its current protected position. When the input signal is continuously missing, the conference media server stops distributing invalid media streams but maintains management communication. When the device access gateway is interrupted, it stops sending subsequent dependent control to the device. The safety status is determined by the set of safety actions in the device registration record and the current observable status. When the storage position is confirmed, the controlled power supply can be cut off. When the storage position is not confirmed, the power supply required for position detection and communication is retained, and a maintenance event is generated.
[0041] Once all necessary actions in the current execution sequence are in the same state, the shared office management platform marks the execution sequence as complete and triggers the next execution sequence. When a non-essential device enters a different state, if the scenario template allows skipping and there are no other actions dependent on the device, the platform removes the device from the subsequent execution sequence and continues execution. When a necessary device enters a different state or there are actions dependent on the device, the platform pauses the corresponding dependent branch without affecting other independent branches. This branch-level advancement method avoids blindly starting subsequent devices when critical prerequisite states are not met, and also avoids the failure of a single non-critical device causing all independent devices in the entire space to lose availability.
[0042] S108, generate the scene execution result and perform collection. The shared office management platform combines the completion status, device consistency field, device difference field, number of corrections, security status, and unexecuted actions of each execution sequence into a scenario execution result. The scenario execution result includes at least the scenario control package identifier, scheduled task identifier, start time, end time, overall status, and device-level results. The overall status can be completed, partially completed, failed, or safely terminated. Completed means that all necessary actions have reached the target operating state. Partially completed means that necessary actions have reached the target state and there are non-necessary actions that can be skipped. Failed means that necessary actions have not reached the target state and security processing has not been completed. Safely terminated means that the business cannot continue but the relevant devices have entered a verifiable security state. The scenario execution result is sent to the user terminal and used for subsequent storage and control.
[0043] When the usage period ends, the reservation is terminated early by an authorized user, or the scenario execution fails and needs to be terminated, the shared office management platform reads the current scenario execution result and the latest device status record to generate a storage control package. The storage control package does not simply copy the preset storage template, but only generates action items for devices that are still in the state of business operation, signal occupation, movable parts unfolding, or controlled power supply on, and arranges them according to the dependency relationship of business stoppage, signal release, movable parts storage, and controlled power supply cutoff. If a device is already in the storage and power-off state, it is marked as no action is required to avoid repeated driving and meaningless power on / off.
[0044] When the flip display terminal executes the storage control frame, it first stops the display-related business sessions and releases the video input, then drives the flip transmission mechanism to move the display screen to the storage position. After the position detection signal confirms that the storage position has been reached, the drive stops, and the power failure protection circuit cuts off the controlled power supply to the display and drive parts while retaining the necessary wake-up circuit. If the position detection signal does not confirm that the storage is in place, the terminal stops the drive and maintains the necessary power supply, does not execute the controlled power failure, and then returns to the storage abnormal state. Since the power failure action is based on the prior storage position confirmation, it can reduce the situation where the position cannot be determined after the power failure is directly cut off when the position of the movable parts is unknown.
[0045] After the tidying process is completed, the shared office management platform appends the execution results of the tidying control package to the scene execution results, closes the media session and data distribution session associated with the reservation task, releases the resource lock in the scene resource set, and writes the latest status of the device back to the device registration record. If there are untidyed devices, undisconnected controlled power supply devices, or communication interruption devices, the platform retains the abnormal occupancy identifier of the corresponding resource lock and generates a maintenance task. The maintenance task includes space identifier, device identifier, last observable status, executed actions, and suggested check items. The abnormal device will be excluded when screening new devices for subsequent reservations.
[0046] The specific implementation process of protocol adaptation is as follows: The protocol mapping table can be configured with fields for device type, protocol version, action name, frame header, device address, command, data length, data, verification, response command, response status location, and timeout duration. Configuration personnel create records for office equipment terminals whose interfaces have been confirmed. When the device access gateway loads the records, it checks for overlapping fields, data length exceeding the protocol's allowed length, whether the verification field is within its calculation range, and whether the response status location is within the response frame length. Records that pass the checks are marked as enabled, while those that fail remain disabled. This table structure ensures that protocol adaptation has verifiable field sources, avoiding the inability to determine how to convert based solely on a "private protocol" statement.
[0047] Taking the screen unfolding action as an example, the target running status in the scene control package specifies that the screen position is unfolded. The device access gateway queries the unfolding action record corresponding to the target device protocol, writes the device address in the device registration record into the device address field, writes the value corresponding to the unfolding action into the command field or data field, writes the length of the valid data for this time into the data length field, and then generates verification data for the bytes within the range specified by the protocol according to the verification method in the record and writes it into the verification field to form a control frame. After the terminal returns a response, the gateway verifies the frame header, device address and verification data, reads the acceptance status from the response status position, and interprets the acceptance success as the action being accepted rather than the action being completed. Whether the action is completed is still determined by the subsequent position status field.
[0048] When the protocol uses network packets instead of byte frames, the protocol mapping record can configure the control field as a structured message path. The device access gateway writes the device identifier, control frame identifier, action name, and target value into the corresponding path and establishes a connection according to the authentication method of the record. Regardless of whether the underlying layer uses byte frames or structured messages, the gateway outputs a unified device status record field to the shared office management platform. Therefore, the status verification module does not need to understand the underlying protocol of each device. Protocol differences are limited to the device access gateway, and new terminal types can be added without modifying the scenario orchestration logic.
[0049] When a device access gateway parses a response, it first performs a format check, followed by a service field check. The format check includes minimum length, frame header, device address, control frame identifier or sequence number, and verification data. The service field check includes whether the response command corresponds to a sent action, whether the status value is within the protocol definition range, and whether the time is within the waiting window of the corresponding sending record. Responses that fail the format check are written to an invalid response record, and responses that fail the service field check are written to a mismatch response record. Neither of these changes the device's target status. Only responses that pass the check are converted into a device status record or action acceptance record.
[0050] The specific implementation process of the flip display terminal is as follows: The flip-screen terminal includes a display screen, a flip-screen bracket supporting the display screen, a transmission mechanism connecting the flip-screen bracket, a motor driving the transmission mechanism, a transmission drive circuit, a position detection component, a video signal interface, a video input detection circuit, a main control circuit, a power failure protection circuit, and a communication interface. The main control circuit is connected to the transmission drive circuit, the position detection component, the video input detection circuit, the power failure protection circuit, and the communication interface, which can be a network interface or a serial bus interface. The terminal is installed inside a conference table or office desk. When the display screen is in the stowed position, it is hidden inside the desk or close to the desk. When the display screen is in the unfolded position, it faces the user to display the meeting screen or shared information.
[0051] The position detection component can include an unfolded position detector and a retracted position detector. The main control circuit reads the valid status of both to determine the position of the display screen. When the unfolded position detector is valid and the retracted position detector is invalid, the running status is unfolded. When the retracted position detector is valid and the unfolded position detector is invalid, the running status is retracted. When both are invalid, the most recent action is used to determine whether the screen is unfolding, retracting, or stopped in the middle. When both are valid at the same time, a position detection conflict is determined and the drive is stopped. If the position detection conflict is not resolved by simple retry, the main control circuit returns a fault mark and waits for maintenance to avoid continuous drive caused by conflicting detection signals.
[0052] The drive circuit receives the direction and enable signals output by the main control circuit to control the motor. When the action begins, the main control circuit starts the action timing and periodically reads the position detection signal and drive protection signal. When the target position detector is valid, the drive enable is immediately canceled. If the action timing reaches the allowed duration but the time is not reached, the drive enable is canceled and an overtime fault is written. When the drive protection signal is valid, the drive enable is canceled and a drive protection fault is written. The allowed duration is obtained from the equipment registration record or terminal firmware configuration and can be determined through prototype debugging and structural stroke calibration. The official document does not write a single production value lacking test conditions as a universal threshold for all equipment.
[0053] The video input detection circuit detects whether there is a valid input at the video interface, and the main control circuit writes the detection result into the signal status. When the display screen is unfolded but the video input is invalid, the terminal can keep the display screen on and return to the waiting signal state. The shared office management platform decides to re-establish media output, switch to a backup signal source, or stop media services based on the scenario failure handling method. The terminal does not merge "unfolded" and "displayable" into the same state. By recording the mechanical position and signal validity separately, the platform can accurately locate whether the scenario difference occurs in the transmission chain or the media chain.
[0054] The power failure protection circuit controls the controlled power supply to the display and drive sections respectively. When the storage position detector is valid, the drive has been canceled, and there is no mechanical control frame to be executed, the main control circuit outputs a power failure permission, and the power failure protection circuit cuts off the controlled power supply accordingly. When the terminal receives the start control frame, the wake-up circuit restores the controlled power supply, and the main control circuit allows the drive to move only after completing communication and position self-check. If both position detectors are invalid after the power supply is restored, the main control circuit records the current position as the intermediate position to be confirmed, and searches for the reference position at low speed according to the recovery direction specified by the scene template or keeps it stopped and waits for manual processing, without directly assuming that the display screen is in the storage position.
[0055] The specific implementation of the conference media server is as follows: The conference media server includes a video input interface, an audio input interface, a capture module, a time association module, an encoding module, a transmission buffer, a network interface, a transmission status detection module, and a parameter adjustment module. The capture module obtains video frames and audio sampling data and appends the capture time. The time association module writes the video frames and audio sampling data of the corresponding time period into the same media timeline according to the capture time. The encoding module generates video encoded data and audio encoded data respectively according to the target media parameters. The transmission buffer saves the data to be sent according to the receiving terminal session. The network interface sends the media data to the flip display terminal, public display device, or user terminal.
[0056] Target media parameters may include video encoding type, audio encoding type, resolution level, frame rate level, bit rate level, keyframe interval, and upper limit of transmission buffer. The parameter values are jointly determined by the scene template, input capabilities, receiving terminal capabilities, and current transmission status. When the conference media server establishes a session, it first obtains the intersection of the input signal capabilities and the receiving terminal capabilities, and selects the parameter level allowed by the scene template from the intersection. If a receiving terminal does not support the current level, a compatible level is selected for that terminal or it is marked as incompatible. It does not require all terminals to use the same parameters at the expense of availability.
[0057] The transmission status detection module statistically analyzes the connection validity, transmission buffer growth, acknowledgment data interval, and retransmission status of each receiving terminal according to the detection cycle, and classifies the results into stable, limited, or interrupted states. When the transmission status changes from stable to limited, the parameter adjustment module moves from the current parameter level to an adjacent lower data volume level, prioritizing a reduction in bit rate. If the conditions are still not met, the resolution or frame rate is then reduced. After several consecutive detection cycles, the parameters are gradually increased without exceeding the upper limit of the receiving terminal's capabilities. The level table is stored by the system configuration, and each level records the compatible resolution, frame rate, and bit rate ranges. Whether boundary values are assigned to a higher or lower data volume level is explicitly defined by the inclusion relationships in the table.
[0058] When a connection is interrupted, the conference media server retains the receiving terminal's session identifier, the last confirmed data location, the current parameter level, and the session validity period, and stops writing to the infinitely growing send buffer of the interrupted connection. When the receiving terminal reconnects within the session validity period and carries the same session identifier, the server checks the session permissions and the current media timeline, and retransmits from the recoverable data location or the most recently independently decodeable location. If the session validity period expires, a new session is established. This process avoids continuous buffer occupation during disconnection and allows the terminal to resume the current conference media stream after a short disconnection.
[0059] The process of implementing data collaboration and sharing space operation is as follows: The shared office management platform can create a data space for scheduled tasks. The data space records the data space identifier, scheduled task identifier, owner, member permissions, file list, and retention period. When a user uploads data, the platform generates a file identifier and an initial version identifier for the file, saves the file content, file type, upload time, and access permissions, and then sends a data availability notification to the associated user terminal based on the data service needs in the target scenario. Before the user terminal downloads the data, the platform verifies whether the user is a scheduled member, whether the current time is within the allowed access period, and whether the requested operation is within the permission scope. After successful verification, the platform returns the data content or the controlled access address.
[0060] When multiple users edit the same data, the user terminal sends the editing operation along with the base version identifier, user identifier, operation order, and target field to the collaborative data module. The platform first compares the base version identifier with the current version identifier. If the base versions are consistent, the editing is applied according to the operation order and a new version is generated. If the base versions are inconsistent, it is determined whether the editing operation and operations applied after the base version apply to the same field or the same object. If there is no conflict, the current version is used to relocate and apply the changes. If there is a conflict, two candidate modifications are retained and provided to users with merging permissions for selection. The platform saves the source version, operating user, operation time, and changed object for each version change, enabling it to trace how the data was created without overwriting the original version.
[0061] When a user terminal is offline, editing operations are written into the offline operation sequence in local order and the base version identifier is recorded. After the connection is restored, the data is uploaded in sequence. The collaborative data module first verifies whether the user's permissions are still valid during the offline period. Offline operations with invalid permissions are saved as local modifications that the user can export without being written to the shared version. When the permissions are valid, they are processed item by item according to the aforementioned version comparison and conflict handling rules. The same offline operation has a stable operation identifier. When the platform receives the same operation identifier repeatedly, it returns the existing processing result to prevent the same modification from being applied repeatedly due to network retransmission.
[0062] The shared office management platform can also link space reservations, equipment usage, and data space. Before the reservation begins, only users with preparation permissions are allowed to upload materials. After the reservation begins, the corresponding materials are made available to users who arrive and complete identity verification. After the reservation ends, adding or editing is stopped, and materials are converted to read-only, archived, or deleted by the owner according to the retention policy. When it comes to billing, the platform generates billing records based on the actual usage period, occupied space, and enabled services. Billing records are stored separately from equipment control logs. The billing function does not participate in the judgment of equipment status differences to avoid operational data changing the equipment security control logic.
[0063] The implementation process for permissions, logging, and status monitoring is as follows: The permission table allows setting user roles, space ranges, device ranges, permitted actions, valid time periods, and authorization sources. The operation permissions in the scene control package are obtained by taking the intersection of the valid authorization of the reserved user and the actions required by the scene template. Ordinary users can start reserved scenes, access authorized data, and end their own scenes. Space administrators can adjust scene templates and handle abnormal devices. Device maintenance personnel can perform diagnostic actions but cannot access reserved data. System administrators can maintain protocol mapping records, but protocol mapping records still need to be checked through fields before they can be enabled. By dividing permissions by object and action, device control permissions and data access permissions can be managed separately.
[0064] Operation logs are stored and associated with scenario control package identifiers, including platform-generated actions, gateway conversion actions, and terminal-executed actions. Platform logs record scheduled tasks, resource sets, target status, and comparison results. Gateway logs record protocol mapping versions, control frame identifiers, sending times, and response parsing results. Terminal logs record action start, action end, location status, signal status, power supply status, and fault identifiers. Each node uses its own timestamp, and the platform saves the receiving time. When there is a time discrepancy between nodes, the action order is determined by the control frame identifier and the relationship between preceding and subsequent events, without forcibly rewriting the original node time. Logs are used to verify the control chain and do not contain real network addresses, device physical addresses, or login credentials in user documents.
[0065] The device monitoring module sets the status collection cycle according to the device type. Office equipment terminals actively report their status within the cycle or the device access gateway initiates a query. When the module fails to receive a status record for a consecutive time, the number of missing records is incremented. The first missing record can be recorded as pending confirmation. When the offline judgment condition is met, it is recorded as offline. After receiving a new valid status record, the consecutive missing records are cleared and the current operating status is re-evaluated. The offline judgment condition is obtained by network characteristics, device reporting cycle and allowable error calibration. A single duration in a certain briefing example is not used as a universal standard for all deployment environments.
[0066] When the status value in the device status record exceeds the allowed range of the device registration record, when the same device returns conflicting statuses in the same collection cycle, or when the status time is earlier than the processed record, the status monitoring module will mark the record as an abnormal input. The abnormal input saves the original content and the reason for the abnormality, but does not directly overwrite the current trusted status. The platform can request the device to re-report or the gateway can re-parse it. The trusted status is updated only when the new record can be mutually verified with the device action and other status fields, thereby avoiding error correction actions triggered by format errors or out-of-order data.
[0067] The exception, boundary, and recovery handling process is as follows: When space reservation information lacks space identifier, start time, or end time, the shared office management platform will not create a scenario task; when the usage period and an existing reservation only meet at the boundary time, the end time of the previous reservation will not be included in the occupancy period of the subsequent reservation, allowing the subsequent reservation to start from that time. However, if the previous scenario has not been cleared, the corresponding device will still be excluded due to the abnormal occupancy identifier; when the number of devices required for the target scenario is zero or the device capability set is empty, the platform requires at least one executable service node, otherwise it will return an empty scenario content to avoid generating a scenario control package without technical actions.
[0068] When duplicate device identifiers exist in the device registry, the platform compares the record version and update time, allowing only one valid record to participate in the filtering. If a valid record cannot be determined, the device is marked as having a registration conflict. When multiple valid device identifiers correspond to the same communication address, the device access gateway stops sending control frames with mechanical or power supply functions to that address and generates an address conflict event. When multiple enabled records with identical device type, protocol version, and control actions exist in the protocol mapping table, the gateway stops random selection, returns the mapping conflict to the configuration management end, and executes the process only after retaining a unique enabled record.
[0069] If the scene control package arrives at the device access gateway after the validity period has expired, the gateway will directly reject it; if the scene control package starts execution within the validity period but exceeds the usage time during execution, the shared office management platform will stop starting the business actions that have not yet been executed, read the current actual status and switch to the storage process; if there are movable parts in motion at that time, the platform will wait for the terminal to stop or reach a identifiable position before deciding to store it according to the latest status, and will not send control frames in opposite directions to the same transmission mechanism at the same time.
[0070] When the connection between the device access gateway and the shared office management platform is interrupted, the gateway continues to save the accepted scene control packages, control frame sending records, and terminal responses, but does not accept new tasks from unknown sources. For actions that have already entered the current execution sequence, the gateway can complete the sequence and maintain a safe state according to the failure handling method pre-written in the scene control package, while pausing subsequent sequences that depend on the comparison results of the platform. After the connection is restored, the gateway uploads the unsynchronized records according to the scene control package identifier. The platform removes duplicate records, recalculates the current scene state, and then decides whether to continue, correct, or accept the record.
[0071] When a device access gateway restarts, it reads incomplete transmission records from persistent storage and first queries the current status of the corresponding terminal, without directly retransmitting all control frames. If the current status already meets the target status, the original action is marked as completed with status confirmation. Only when the current status does not meet the target status and the control frame is still valid will a new control frame identifier be generated to perform correction. If the current status is unavailable, it switches to security processing. When a terminal restarts, it reports the startup reason, current location, signal status, and power supply status. The platform re-establishes a trusted status based on this information to avoid treating the cached status before restart as the actual status after restart.
[0072] In a meeting space, the device registry registers one meeting media server, four flip display terminals, and one device access gateway. After the user submits a reservation and selects a meeting demonstration scenario, the shared office management platform verifies the space and time slot, selects devices with media acquisition, media distribution, display deployment, signal detection, and controlled power-off capabilities, establishes a scenario resource set, and writes it to a resource lock. The platform divides the startup process into three sequences: the first sequence restores controlled power to the meeting media server and flip display terminals and establishes communication; the second sequence deploys the four flip display terminals; and the third sequence enables the meeting media server to access video and audio signals and begin distributing media data to the four terminals.
[0073] During the execution of the first sequence, the device access gateway queries the protocol mapping records of the conference media server and the flip display terminal respectively, generates corresponding control frames and sends them down, and each terminal returns the power supply status and communication status. The status of three flip display terminals is consistent with that of the conference media server, and the other flip display terminal does not return within the waiting window. The platform records the terminal as pending confirmation and suspends its unfolding action. However, the other devices in the first sequence are already consistent and their actions do not depend on the abnormal terminal, so the platform allows other branches to continue. After the gateway queries the abnormal terminal again to obtain the communication status, the platform adds the terminal back to the second sequence.
[0074] During the second sequence, four flip display terminals unfold in parallel. One terminal returns to its position to detect a conflict. The terminal has stopped moving, and the platform switches it to mechanical protection mode and removes it from the subsequent media receiving set. The other three terminals reach the unfolded position and return, with video input temporarily invalid. The third sequence then starts the conference media server. The media server detects external video and audio signals, establishes an encoded session, and sends media data to the three available terminals. The video input status of the three terminals becomes valid. The platform records the overall status as partially completed and clearly records the skipped terminals and the reason for protection in the scene execution result.
[0075] During the meeting, the transmission status detection module detected that the transmission buffer of one receiving terminal was continuously increasing. It then gradually lowered the parameter level of that terminal, while other terminals maintained their original parameter levels. When the connection of that terminal was briefly interrupted, the conference media server retained the session identifier and stopped the infinite accumulation of the buffer. After the connection was restored, transmission resumed from the position where it could be independently decoded. The shared office management platform continuously received the status records of the media server and the flip display terminal. The changes in parameter levels were considered an acceptable operating state and were not mistakenly judged as scenario failures. Only when the connection interruption exceeded the session validity period would a new abnormal event be generated.
[0076] After the usage period ends, the platform reads the latest status and generates a storage control package. First, it stops the media services of the three available terminals and releases the signal. Then, it controls the three deployed terminals to be stored in parallel. After the position detection confirms that the terminals are in place, it cuts off the controlled power supply to their display and drive. Terminals with position detection conflicts do not execute unconfirmed continued drive and power-off actions. They only maintain the protection state and generate maintenance tasks. The conference media server stops the encoding session and enters standby. The platform writes the normal storage devices, abnormal protection devices, and executed actions into the final scene execution result, releases the resource locks of normal devices, and retains the abnormal occupancy flags of abnormal devices.
[0077] During the data collaboration process for the same scheduled task, the platform establishes a data space and grants controlled access to the scheduled members. When multiple users edit the same presentation data, the collaborative data module merges modifications applied to different objects based on the base version and operation sequence, and retains candidate versions for modifications applied to the same object but with different content. If a user continues editing after going offline, the platform first verifies that their permissions are still valid when the connection is restored, and then processes the offline operation sequence. Duplicate uploads are not applied again because they have the same operation identifier. Data collaboration records and equipment control records are associated through the scheduled task identifier, but data conflicts do not trigger corrective actions on mechanical equipment.
[0078] The process for maintaining data tables, scene templates, and parameters is as follows: The space reservation table can be configured with reservation identifier, space identifier, start time, end time, reservation user identifier, target scene identifier, and reservation status. The device registry can be configured with device identifier, device type, associated space identifier, communication address, protocol version, capability items, status collection cycle, most recent status time, current availability status, and security action set. Both tables participate in resource filtering through space identifier and reservation time period. The device identifier serves as a stable primary key in the device registry. When the device communication address changes, the communication address field is updated without changing the device identifier, ensuring that historical operation logs can still be traced back to the same physical device. When a record is deactivated, the deactivation time and reason are retained, and records associated with historical scene results are not directly deleted.
[0079] The scene template table can be set with scene identifier, scene name, required capability set, optional capability set, action group, dependency group, failure handling method, and template version. Each template action in the action group records the device type, control action, target status field, and whether the action is required. The dependency group records the sequential relationship between the previous template action and the next template action. Before the template is released, the platform checks whether all required capabilities have corresponding template actions, whether each target status field can be verified by at least one device status field, whether there is a loop in the dependency group, and whether the included actions cover all movable parts and controlled power supplies that may be activated. If the check fails, the template remains in draft state. Only after the check passes can it be used to generate the scene control package.
[0080] When a scene template is updated, a new template version is generated. Reservation tasks that have already started execution continue to use the template version bound to them when they were created. Reservation tasks that have not yet started and are allowed to update automatically are bound to the new version after re-verification. When a device action is deleted in the new version, the platform checks whether the action is still dependent on by other actions. When the action order is changed in the new version, the circular dependency check is re-executed. When the failure handling method is changed in the new version, the set of security actions is checked to see if it supports the new handling method. The template version number is written into the scene control package and the scene execution result, so that subsequent reviews can determine the exact orchestration rules used in a particular scene.
[0081] The protocol mapping table and the scenario template table are maintained separately. The scenario template describes the higher-level actions related to the device type, while the protocol mapping table describes how a specific protocol version implements the action. When a new device of the same type is added, as long as the new device's registration capability is consistent with the template action and a corresponding protocol mapping record is established, the original scenario template can continue to be used. The scenario template only needs to be updated when a completely new capability is added. This hierarchical relationship avoids writing specific byte positions into the scenario business rules and also avoids modifying all reservation and orchestration logic at the same time when the protocol field is updated.
[0082] The status field dictionary can be configured with field name, applicable device type, allowed values, target value comparison method, missing value handling method, and whether it belongs to a safety critical field. Enumerated statuses are compared according to equality, range statuses are compared according to whether they fall within the target allowed range, and set statuses are compared according to whether all required members exist. When a safety critical field is missing, it is directly recorded as pending confirmation and the dependent action is paused. When a non-safety critical field is missing, the scenario template can be used to determine whether the scenario is allowed to be partially completed. Any missing field is not filled by the platform based on other unrelated fields.
[0083] The media parameter hierarchy table allows setting hierarchy identifiers, video encoding types, audio encoding types, resolution ranges, frame rate ranges, bit rate ranges, and applicable terminal capabilities. The hierarchy is arranged from highest to lowest according to the amount of data generated per unit time. The parameter adjustment module obtains the current hierarchy and transmission status. When transmission is restricted, it selects the adjacent lower hierarchy. If the current hierarchy is already the lowest, it remains the lowest hierarchy and the transmission status is recorded as continuously restricted. When transmission is restored, it selects the adjacent higher hierarchy only if the restoration conditions are met continuously. When the input value is at the common boundary of two ranges, its affiliation is determined by whether the upper boundary in the table contains a field, avoiding the same boundary value from being assigned to different hierarchies at different nodes.
[0084] Threshold and duration parameters are not directly scattered in the program code. Instead, they can be stored in parameter records that include the parameter source, applicable device type, applicable network environment, effective time, and version status. The parameter source can be device specifications, prototype debugging, structural travel calibration, or deployment network measurement. After the configuration personnel modify the parameters, the platform checks the value type, allowable range, unit, and whether the lower limit is less than the upper limit. Only after the check passes will a new version be released. The running scenario continues to use the startup snapshot, and the next scenario uses the new version, thereby avoiding inconsistencies in judgment caused by threshold changes during the execution of the same scenario.
[0085] When a database write fails, the platform will not continue to issue device control if it cannot save the scene control package identifier or resource lock. If a device action has been completed but the scene result cannot be written temporarily, the gateway and terminal retain local records with identifiers. After the database is restored, the records will be rewritten according to the record identifiers. When rewriting, the platform first checks whether the same identifier already exists. If it already exists, it compares the content summary and retains the consistent record. If the content is inconsistent, a data conflict event is generated and automatic overwriting is stopped. This process ensures that there is at least a recoverable association between the control action and the persistent record.
[0086] The installation, initialization, and verification process is as follows: During system installation, technicians first assign a stable device identifier to each office equipment terminal and register the device type, associated space, communication address, protocol version, and capabilities. Then, they load the corresponding protocol mapping record into the device access gateway. The gateway performs a read-only identification query on the terminal, comparing the device type and protocol version returned by the terminal with the device registration record. Subsequently, it queries the operation, signal, and power supply status to confirm that the response fields can be parsed. Devices with inconsistent identification results remain in an inactive state. Only after the device identifier, protocol version, and status fields are all confirmed can they be added to the scene resource set.
[0087] During the initialization of the flip display terminal, the unfolding position detector and the retracting position detector are checked before the no-load expansion action. The mechanism is manually placed in a verifiable reference position and the detection combination is recorded. Then, a single low-speed unfolding and a single low-speed retracting are performed with maintenance privileges. The start of the action, the position change, the arrival of the target position, and the drive stop are recorded to ensure they correspond. If a detection conflict, mechanism jamming, or protection signal occurs during the action, the operation is stopped immediately and the structure or wiring is corrected. After verification, the allowed action duration and the set of safe actions are written into the device registration record. This initialization provides the correspondence between the mechanical status field and the actual position, providing a basis for state comparison during scene operation.
[0088] During the initialization of the conference media server, supported video and audio inputs are connected respectively. The input type, resolution capability, and sampling capability of the acquisition module are checked. A receiving terminal session is established and the ability to send and decode encoded data is verified. Then, receiving terminals are added step by step to check the transmission buffer and connection status records. The disconnection and reconnection verification is performed by actively disconnecting a receiving terminal and restoring the connection within the session validity period. It is confirmed that the server uses the same session identifier to resume transmission. After the validity period expires, it is confirmed that the server establishes a new session. These verifications only confirm whether the functional chain is executed as configured. The throughput or latency figures lacking a unified test environment are not written as invention effects.
[0089] Before the scenario template goes live, simulation verification and controlled physical verification are performed. Simulation verification uses device capabilities and protocol mapping metadata to check whether resources are available, whether action dependencies are complete, and whether each target state has a return field. Controlled physical verification establishes a test appointment during maintenance periods and observes power-on startup, communication establishment, mechanical deployment, signal access, service startup, service shutdown, signal release, mechanical retraction, and controlled power-off in sequence. Each stage only proceeds to the next stage after the state record is consistent with the target state. Intentionally disconnecting a non-critical terminal can verify branch skipping, and intentionally blocking input signals can verify waiting for signals and safe stopping. After the test, test data is deleted, but device action records without sensitive information are retained.
[0090] During system upgrades, the platform program, gateway program, and terminal firmware record their software versions and compatible protocol ranges, and the upgrade order is determined by compatibility. If the new gateway program is compatible with both the old and new terminal protocols, the gateway can be upgraded first, followed by phased upgrades of the terminals. If they are incompatible, scene resource allocation is suspended during maintenance periods, and upgrades are performed in groups. After the upgrade is completed, device identification queries and key status field verifications are re-executed. Devices that fail verification return to an inactive state, and the ability to participate in scene linkage is directly recognized without relying on successful program installation prompts.
[0091] During operation and maintenance, maintenance personnel obtain the device identifier, abnormal fields, occurrence time, original target status, last trusted status, and executed corrective actions from the abnormal event log. They then check the communication link, location detection, video input, or power supply protection according to the abnormality category. After maintenance is completed, the verification actions corresponding to the abnormal fields are executed through maintenance permissions. Only after the platform receives the expected device status record will it clear the abnormal occupancy identifier and restore the device to an available state. This restoration process ensures that the device has an actual state basis before re-entering the resource set.
[0092] In the intelligent shared office integrated management system, the resource determination module performs space, time period, equipment status and capability matching; the scene orchestration module performs target state decomposition, dependency checking, execution sequence generation and scene control package generation; the status verification module performs field comparison of equipment status records, difference classification and correction action selection; and the storage control module performs current status reading, reverse dependency orchestration and storage result confirmation. Protocol adaptation, control frame sending and response parsing are performed by the device access gateway, and status acquisition and specific mechanical, media or power supply actions are performed by the office equipment terminal. The input, processing relationship and output of each module are consistent with the aforementioned method steps.
[0093] A shared office management platform can consist of at least one processor, memory, network interface, and database. The memory stores management copies of the device registry, scene template table, protocol mapping table, status records, operation logs, and program instructions for the processor to execute. When the processor executes the program instructions, it completes reservation verification, resource filtering, scene arrangement, status comparison, and collection control. The device access gateway can consist of a processor, communication interface, and non-volatile memory. The non-volatile memory stores protocol mapping records and incomplete transmission records. The processor performs protocol conversion, permission verification, control frame transmission, and response parsing. Each processor can be a general-purpose processor, a controller, or a dedicated processing circuit capable of executing corresponding logic.
[0094] When the system uses multiple computing nodes, scene control packets and device status records can be transmitted between nodes through message queues. Messages are partitioned by scene control packet identifiers and device identifiers, so that messages from the same device in the same scene maintain the processing order. When the status verification service migrates, it reads the completed sequence, the current target status, and the last trusted device status from the persistent status table and continues processing. Device status records that have already been processed are not pushed into the sequence again because their record identifiers are the same. Node expansion changes the processing location, but does not change the technical relationships of resource sets, protocol adaptation, and status closure.
[0095] The computer-readable storage medium can be a non-volatile memory, magnetic storage medium, optical storage medium, or solid-state storage medium capable of storing program instructions. When the program instructions are executed by the processor, the management system completes the following processes: acquiring space reservation information, establishing a scene resource set, generating scene control packages, converting and issuing control frames, acquiring device status records, comparing target statuses, performing difference corrections, and sequentially storing data. The program can be deployed separately as a shared office management platform program, a device access gateway program, and an office equipment terminal program. Each program executes collaboratively through the data objects and control relationships described herein.
[0096] In the absence of logical conflicts, the device type, communication link, media parameter level, permission granularity, and exception handling method mentioned above can be used in combination. When combined, the controlled object is still limited by the scene resource set, the target state and execution dependency are expressed by the scene control package, the actual state is provided by the device state record, and the correction or security handling is determined by the state comparison result. The method steps can be executed in parallel or merged into the same processing stage according to the mutual dependencies, but subsequent actions cannot be executed in advance before their necessary prerequisite states are confirmed. The system module can be implemented by software, hardware, firmware, or a combination thereof.
[0097] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A smart shared office integrated management method, characterized in that, The method, applied to a management system including a shared office management platform, a device access gateway, and multiple office device terminals, includes: Obtain space reservation information, target scene information, and device registration records. Based on the space identifier and usage time period in the space reservation information, select associated and available office equipment terminals from the device registration records to obtain a scene resource set. Based on the target scene information and the scene resource set, the target operating status, execution order and operation permissions of each office equipment terminal are determined to obtain the scene control package; The scene control packet is sent to the device access gateway, which converts the scene control packet into a matching control frame according to the protocol description of each office device terminal, and sends the control frame according to the execution order. Obtain the device status record returned by each office equipment terminal after executing the control frame. The device status record includes the operating status, signal status, and power supply status. The device status record is compared item by item with the target operating status to identify the target office equipment terminal with a status difference; Based on the type of state difference, a control frame is resent to the target office equipment terminal or it is switched to a safe state to obtain the scene execution result; In response to the end of the usage period, a storage control package is generated based on the scenario execution result, which controls each office equipment terminal to stop its business, store movable parts, and cut off the controlled power supply in the reverse order of startup.
2. The intelligent shared office integrated management method according to claim 1, characterized in that, The obtained set of scene resources includes: The device registration record is queried using the spatial identifier to obtain candidate device records associated with the target space; Based on the equipment occupancy record, maintenance record, and most recent status time, candidate equipment records that were occupied, under maintenance, or in a failed state during the usage period are excluded to obtain selectable equipment records; Match the capability items in the optional device record with the required device capabilities in the target scenario information item by item, and select the corresponding office equipment terminal for each required device capability; A resource lock, including a reservation task identifier, a device identifier, and a lock time period, is established for the selected office equipment terminal to obtain the scenario resource set; If any required equipment capability does not have a corresponding office equipment terminal, stop generating the scene control package and output a resource shortage record.
3. The intelligent shared office integrated management method according to claim 1, characterized in that, The determination of the target operating status, execution order, and operation permissions of each office equipment terminal includes: Replace the device type in the target scene information with the device identifier in the scene resource set to obtain the target operating status of each office equipment terminal; Based on the preconditions between the control actions corresponding to each target's operating state, the following sequences are formed in sequence: power supply start-up sequence, communication establishment sequence, movable component deployment sequence, signal access sequence, and service start-up sequence. Set independent control actions in the same execution sequence, and set control actions with preconditions in different execution sequences; The operation permissions are determined based on the reservation user identifier, space identifier, usage time period, device identifier, and permitted actions; Stop generating scene control packages when there are circular dependencies between control actions or when operation permissions do not cover the corresponding control actions.
4. The intelligent shared office integrated management method according to claim 1, characterized in that, The step of converting the scene control packet into a matching control frame includes: Based on the device identifier in the scene control package, query the corresponding device type and protocol version; The protocol mapping record is queried based on the device type, protocol version, and control action. The protocol mapping record includes control fields, field length, value rules, verification methods, response fields, and timeout duration. The target running state is written into the control field according to the value taking rule, and the control frame is generated according to the field length and the verification method. The data returned by the office equipment terminal is parsed based on the response fields to form the equipment status record; If no corresponding protocol mapping record is found, the corresponding office equipment terminal will be marked as incompatible and control frames will be blocked from being sent to it.
5. The intelligent shared office integrated management method according to claim 1, characterized in that, The step of re-issuing control frames or switching to a safe state based on the type of state difference includes: Write the differences in operating status, signal status, and power supply status into the status comparison record respectively; When the target office equipment terminal does not report a protection fault and the number of retries has not reached the allowed number of retries, a correction control item containing only the difference action is generated, and a new control frame identifier is used to resend the control frame; Retrying will stop when the target office equipment terminal reports a protection fault, the number of retries reaches the allowed number of retries, or the usage period ends; Based on the device type and current observable state of the target office equipment terminal, a security action is selected from the set of security actions in the device registration record, and the target office equipment terminal is controlled to stop further expanding the device action.
6. The intelligent shared office integrated management method according to claim 1, characterized in that, The office equipment terminal includes a flip-screen display terminal, and the control of the flip-screen display terminal to execute control frames includes: When executing the unfold control frame or the retract control frame, the drive flip transmission mechanism drives the display screen to move, and collects the unfold position detection signal, the retract position detection signal and the drive protection signal; When the target position detection signal is valid, the drive stops and the corresponding operating status is written into the device status record. If the target position is not reached within the allowed operation time, the drive protection signal is valid, or the unfolded position detection signal and the retracted position detection signal conflict with each other, the drive will stop and a fault identifier will be written. The controlled power supply to the display and drive sections is cut off only when the detection signal at the storage position is valid, the drive has stopped, and there is no mechanical control frame to be executed.
7. The intelligent shared office integrated management method according to claim 1, characterized in that, The office equipment terminal includes a conference media server, and controlling the conference media server to execute control frames includes: Acquire video and audio signals, and write the video and audio signals into the same media timeline according to the acquisition time; Audio and video data are generated based on the target media parameters, and the audio and video data are sent to the receiving terminal associated with the target scene information; Obtain the connection status and data transmission status of each receiving terminal; when the data transmission status does not meet the transmission conditions corresponding to the current target media parameters, reduce the bit rate, resolution or frame rate step by step according to the preset parameter levels. When the connection is interrupted, the session identifier of the receiving terminal is retained, and the transmission of audio and video data is resumed according to the session identifier after the receiving terminal reconnects.
8. The intelligent shared office integrated management method according to claim 1, characterized in that, Also includes: A data space is established for the reservation task corresponding to the target scene information; Distribute the data files to the user terminals associated with the appointment task according to user permissions; Receive editing operations submitted by user terminals, assign an operation identifier and a sequence identifier to the editing operations, and update the data version according to the sequence identifier; When the user terminal is offline, save the offline operation sequence. After the user terminal reconnects, compare the base version targeted by the offline operation sequence with the current data version. Merge edit operations that do not have field conflicts, and retain multiple candidate versions for edit operations that have field conflicts; When the same operation identifier is received repeatedly, the existing processing result is returned, and the corresponding editing operation is not applied again.
9. The intelligent shared office integrated management method according to claim 1, characterized in that, Also includes: The operation permissions are written into the scene control package, and control frames are converted and sent when the operation permissions match the device identifier, space identifier and current usage time of the target office equipment terminal. Write the scene control package identifier, control frame identifier, device status record identifier, execution time, and execution result into the operation log. When the same control frame identifier is repeatedly received by the office equipment terminal, the previous execution result is returned instead of the corresponding device action is repeated. When the number of consecutive missing device status records meets the offline condition, the corresponding office device terminal will be marked as offline and prevented from being added to a new scene resource set; After obtaining a valid device status record again, the availability status of the office equipment terminal is re-determined based on the valid device status record.
10. A smart shared office integrated management system, wherein the system implements the method as described in any one of claims 1 to 9, characterized in that, It includes a shared office management platform, a device access gateway, and multiple office device terminals; the shared office management platform includes a resource determination module, a scene arrangement module, a status verification module, and a storage control module; The resource determination module is used to obtain a set of scene resources based on space reservation information, target scene information, and device registration records; The scene orchestration module is used to determine the target operating status, execution order, and operation permissions of each office equipment terminal and generate scene control packages; The status verification module is used to compare the device status records returned by each office equipment terminal with the target operating status item by item and generate status correction instructions. The storage control module is used to generate a storage control package at the end of the usage period. The device access gateway is used to convert scene control packages, status correction instructions, or collection control packages into control frames according to the protocol description; the office equipment terminal is used to execute the control frames and send back device status records including operating status, signal status, and power supply status.
