Data processing method and system for mode switching based on variable difference
By acquiring initial mode information and preset strategy models of the exhibition scene, and selecting the closest mode scene information to control the terminal equipment, the problem of exhibition delays caused by equipment malfunctions during the exhibition process was solved, and the exhibition effect was quickly restored and the equipment status was adjusted in a timely manner.
Patent Information
- Application Number
- CN202310277884.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2042-11-25
AI Technical Summary
During the exhibition, equipment malfunctions during the switching of working modes caused the exhibition to be unable to proceed as scheduled. Existing technologies are unable to adjust the working modes of terminal equipment in a timely manner in case of emergencies, which affects the exhibition effect and operation and maintenance costs.
By acquiring initial mode information, using a preset strategy model to select the mode scenario information closest to the second scenario, controlling the terminal device to work in the first mode, and when the initial mode information is restored to the original variable information, generating execution instructions based on the differences to switch modes, ensuring the smooth progress of the exhibition.
In the event of equipment malfunction, the mode switching method ensures that the exhibition effect is as close as possible to the ideal effect, quickly restores the exhibition effect, and immediately controls the terminal equipment to work in the ideal state after the equipment is restored to normal, thus avoiding exhibition delays caused by equipment failure.
Smart Images

Figure CN116482985B_ABST
Abstract
Description
[0001] The present application is a divisional application of the invention patent application with application number 202211487339.X and entitled "Data processing method and system for intelligent node control based on mode scenario" filed on November 25, 2022. TECHNICAL FIELD
[0002] The present application relates to the technical field of intelligent exhibition hall data processing, and in particular to a data processing method and system for mode switching based on variable differences. BACKGROUND
[0003] With the development of network technology, serial port distributors are widely used in various small and medium-sized multimedia conference rooms and central control systems. For example, a computer is often needed to control the entire system, and in such systems, in order to reduce the construction cost of the system, instead of using a dedicated control host, various portable computers are used for control. Due to the uncertainty of the computer and the diversity of the system, the entire system is extremely inconvenient to use. The serial port distributor product is designed to solve such engineering application problems. Users can use the device to expand one RS232 port into four or eight. It is very suitable for engineering application systems that need to expand RS232 communication ports. In the prior art, there are multi-mode serial port distributors controlled by programs. For example, CN103336755A discloses a program-controlled multi-mode serial port distributor, which mainly has the following technical features: it includes an FPGA module, a power module, a plurality of MAX232 serial port chips, a plurality of MAX3160 serial port chips, and a storage module. The power module is connected to the FPGA module, the storage module, the MAX232 serial port chip, and the MAX3160 serial port chip to supply power to them. The FPGA module is connected to the MAX232 serial port chip, the MAX3160 serial port chip, and the storage module. One of the MAX232 serial port chips is used as a control serial port and is connected to the upper computer. Through the FPGA module and its connected MAX232 serial port chip and MAX3160 serial port chip, the two-mode multi-serial port arbitrary connection function is realized. Under the control of the upper computer, the working mode of the MAX3160 interface and the connection mode of any serial port can be adjusted to realize the mode conversion and free interconnection function of multiple serial port devices.
[0004] Recently, with the rise of Internet of Things technology, the central control data processing device with serial port distributor has gradually begun to be used in various scenes. For example, in an actual scene such as an exhibition hall, many terminal devices such as light sources, displays, air conditioners, cameras, sound boxes, and display tables are usually used in the exhibition hall. If each device is controlled one by one, a large amount of manpower and material resources are needed to adjust, which is time-consuming and laborious, and the experience effect is very poor. Staff need to spend more time to debug, which also increases energy consumption and operation and maintenance costs of the exhibition hall. In addition, once there is a problem in the exhibition hall, such as hardware device failure or an emergency situation such as a fire or other accidents in the exhibition hall, it is difficult to make appropriate solutions in a timely manner when the problem is discovered. For example, in the exhibition hall, due to reasons such as circuit short circuit, a circuit failure occurs, and at this time, the exhibition is being held. At this time, the terminal devices around the exhibits, such as display screens and light sources, have problems, and even the exhibits are electronic terminal devices that are affected by sudden power failure, thereby affecting the exhibition. At this time, if the traditional maintenance method of the exhibition hall is still used, manual repair is very time-consuming and laborious, which delays the exhibition time within the exhibition period. In the prior art, some new technologies for the intelligent management of the exhibition hall have also been developed. For example, CN114169759A discloses an intelligent operation system for an exhibition hall, which includes a reservation access system, an exhibition hall central control system, an operation data analysis system, and a post-exhibition operation system. The reservation access system includes an information identification module, a data comparison module, a data encryption transmission module, a personnel information database, and a gate. The exhibition hall central control system centrally controls the light circuit, display devices, and host devices in the hall, and sets a scene mode. The exhibition hall central control system also includes an environment detection system, a ventilation control module, and an adjustment module. The exhibition hall central control system centrally controls the entire circuit system, but the central control system here is biased towards control during operation. When an abnormal situation such as a sudden situation or an emergency situation occurs in the same scene based on the existing scene, the existing abnormal situation such as hardware failure cannot work normally until the problem is solved. Usually, the time for holding an exhibition in an exhibition hall is limited, and it is common for users on the exhibition stand to have such failure problems after setting up the exhibition. Since there are many exhibition stands in a large exhibition hall and the technical maintenance personnel of the exhibition organizers are limited, a small number of exhibition stands can be solved in time, but if multiple exhibition stands have such problems, it will seriously affect the exhibition experience of the customers, and the valuable and limited exhibition time is wasted. SUMMARY
[0005] Therefore, the embodiments of the present application provide a data processing method and system for mode switching based on variable difference to solve the technical problem that the exhibition cannot be held as scheduled due to device abnormalities during mode switching in the exhibition.
[0006] The embodiment of the first aspect provides a data processing method based on variable difference for mode switching, and the method comprises the following steps:
[0007] obtaining initial mode information of a first scene;
[0008] receiving a control instruction for generating a second scene, and when it is verified that the initial mode information changes, obtaining mode scene information closest to the second scene according to a preset strategy model, and controlling each terminal device to work in the first mode;
[0009] when variable information in the initial mode information returns to original variable information of the initial mode information in the first scene, generating an execution instruction corresponding to each terminal device according to a difference between variable information of the first mode and the original variable information of the initial mode;
[0010] switching from the first mode to a second mode corresponding to the second scene according to the execution instruction.
[0011] Preferably, the step of obtaining the initial mode information of the first scene comprises the following steps:
[0012] obtaining types of terminal devices of each node and distribution position information of the terminal devices in the first scene;
[0013] collecting temperature information, humidity information and total load power information of the first scene to obtain first scene parameters;
[0014] adjusting working states of the terminal devices according to the first scene parameters to obtain working state information;
[0015] generating and storing the initial mode information of the first scene according to the types of the terminal devices of each node, the distribution position information of the terminal devices in the first scene and the working state information.
[0016] Preferably, the step of receiving the control instruction for generating the second scene, and when it is verified that the initial mode information changes, obtaining mode scene information closest to the second scene according to a preset strategy model, and controlling each terminal device to work in the first mode comprises the following steps:
[0017] selecting one terminal device as an abnormal terminal device according to working state information of each terminal device in the second scene, and searching for associated terminal devices related to the abnormal terminal device from all the remaining terminal devices;
[0018] adjusting working states of the associated terminal devices, selecting a mode scene closest to the second scene through continuous adjustment, and constructing and storing a preset first strategy model based on mode scene information composed of working state information of each terminal device representing the mode scene.
[0019] Continue to select the next terminal device as the abnormal terminal device, and process according to steps S21 and S22 to obtain and store the preset second strategy model: by analogy, until all terminal devices related to the second scene have at least once as an abnormal terminal device, the preset Mth strategy model is obtained, where M is an integer greater than 2;
[0020] Determine the variable information, and select the mode scene information closest to the second scene from the M preset strategy models;
[0021] According to the mode scene information, control each terminal device to work in the first mode.
[0022] Preferably, the controlling each terminal device to work in the first mode according to the mode scene information comprises:
[0023] When the mode scene information closest to the second scene is determined, data processing is performed according to the mode scene information to generate a transition scene execution instruction;
[0024] According to the transition scene execution instruction, control the terminal devices of each node to work in the first mode.
[0025] Preferably, when the variable information in the initial mode information returns to the original variable information of the initial mode information in the first scene, the difference between the variable information of the first mode and the original variable information of the initial mode is generated to generate the execution instruction corresponding to each terminal device.
[0026] When the variable information in the initial mode information returns to the original variable information of the initial mode information in the first scene, first determine whether the type, distribution position information and working state information of the terminal device of each node in the first mode have changed in the first scene and the second scene, if not, first exclude the nodes without change;
[0027] Determine from the remaining terminal devices of the nodes whether the type, distribution position information and working state information of the terminal device in the first mode will change in the second scene; if it will change, restore the variable information in the initial mode information to the original variable information;
[0028] After the variable information of all terminal devices is restored to the original variable information, a virtual verification step is entered to generate new original variable information of the initial mode information;
[0029] According to the new original variable information of the initial mode information, generate the execution instruction corresponding to each node of the terminal device.
[0030] Preferably, after the variable information of all terminal devices is recovered to the original variable information, a virtual verification step is entered to generate new original variable information of the initial mode information, which comprises:
[0031] The recovered original variable information is acquired to generate an alternative virtual scene; the alternative virtual scene is compared and analyzed with the simulation scene of the second scene, and an analysis result is output;
[0032] According to the analysis result, when it is confirmed that the coincidence degree between the alternative virtual scene and the simulation scene of the second scene is less than a preset value, the recovered original variable information is analyzed and calibrated again to generate new recovered original variable information;
[0033] When it is confirmed according to the analysis result that the coincidence degree between the alternative virtual scene and the simulation scene of the second scene is greater than or equal to the preset value, the current recovered original variable information is determined as the new original variable information of the initial mode information.
[0034] Preferably, before the working state information of each terminal device under the second scene is used to select one terminal device as an abnormal terminal device and to find an associated terminal device related to the abnormal terminal device from the remaining all terminal devices, the method further comprises:
[0035] According to the control instruction for generating the second scene, a verification signal is sent to each node in real time;
[0036] After each node receives the verification signal, whether the terminal device has a fault, whether the distribution position is changed, and whether the original terminal device is replaced by a new terminal device is detected, and the detection result is fed back to the node to generate summary information;
[0037] When each node receives the summary information, whether the initial mode information is changed is determined.
[0038] The second aspect of the present application provides a data processing system based on variable difference for mode switching, which comprises:
[0039] A central control data processor;
[0040] The types of each terminal device comprise at least two or more of a light circuit, a display screen, a computer host device, an air conditioner device, a projector, a monitoring camera, a sound box, and a personalized customized device, and the system adopts the data processing method based on variable difference for mode switching according to the first aspect.
[0041] Preferably, the central control data processor is used to, according to the control instruction, when the initial mode information is verified to be changed, derive mode scene information closest to the second scene according to a preset strategy model, and control each terminal device to work in a first mode;
[0042] The central control data processor is further configured to generate an execution instruction corresponding to each terminal device according to a difference between the variable information of the first mode and the original variable information of the initial mode when the variable information in the initial mode information returns to the original variable information of the initial mode information in the first scene.
[0043] Preferably, the system application scene comprises at least one of a science museum, a museum, an astronomical museum, a planning museum, an enterprise exhibition hall and a campus exhibition hall.
[0044] Beneficial effects: The data processing method and system for mode switching based on variable difference in the application can select the mode scene information closest to the second scene by using a preset strategy model when the initial mode information changes due to an abnormal device, control the terminal devices of each node to work in the first mode by using the mode scene information, and immediately switch the working mode according to the difference between the variable information in the first mode and the original variable information when the variable information in the initial mode information returns to the original variable information of the initial mode information in the first scene, so as to control the terminal devices of each node to work according to the requirements of the second scene. The application can ensure the smooth progress of the exhibition by using the first mode to replace the second mode, so as to make the exhibition effect closest to the ideal effect. When the abnormal device returns to normal, the terminal devices can be immediately controlled to work according to the ideal state, so that the exhibition effect can quickly return to the most ideal effect. BRIEF DESCRIPTION OF DRAWINGS
[0045] In order to more clearly illustrate the technical solutions of the embodiments of the application, the drawings needed in the embodiments of the application will be briefly introduced as follows. Those skilled in the art can obtain other drawings according to these drawings without any creative effort, and these drawings are within the protection scope of the application.
[0046] Figure 1 It is a shape diagram of the central control data processor of the application;
[0047] Figure 2 It is a scene layout diagram of the exhibition hall of the application;
[0048] Figure 3 It is a flowchart of the data processing method for mode switching based on variable difference of the application;
[0049] Figure 4 It is a flowchart of another data processing method for mode switching based on variable difference of the application;
[0050] Figure 5 It is a flowchart of the data processing method when the initial mode information does not change.
[0051] Figure 6 Flowchart of the method for generating initial mode information of the present application;
[0052] Figure 7 Flowchart of the method for checking whether the initial mode information has changed of the present application;
[0053] Figure 8 Flowchart of the method for temporarily transitioning the exhibition using the first mode of the present application;
[0054] Figure 9 Flowchart of the method for performing virtual scene checking of the present application;
[0055] Figure 10 Flowchart of the method for selecting a strategy model of the present application;
[0056] Figure 11 Structural block diagram of the data processing system of the present application;
[0057] Figure 12 Schematic diagram of the first scene of the present application;
[0058] Figure 13 Schematic diagram of the second scene of the present application;
[0059] Figure 14 Schematic diagram of the transition scene corresponding to the first mode of the present application;
[0060] Figure 15 Schematic diagram of the virtual checking scene corresponding to the second scene of the present application;
[0061] Figure 16 Schematic diagram of the transition scene temporarily using the first mode of the present application for exhibition;
[0062] Figure 17 Schematic diagram of the virtual scene checking using the first mode before switching to the second scene of the present application. DETAILED DESCRIPTION
[0063] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. It should be noted that, in this document, relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or sequence between these entities or operations. In the description of the present application, it should be understood that the orientations or positional relationships indicated by terms such as "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer" and the like are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and therefore cannot be understood as indicating or implying that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the present application. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or device. Without more limitations, the elements defined by the statement "include" do not exclude the presence of additional identical elements in the process, method, article or device that includes the elements. If there is no conflict, various features in the embodiments and examples of the present application can be combined with each other, and are all within the protection scope of the present application.
[0064] Embodiment 1
[0065] The embodiment provides a data processing method based on variable difference mode switching, which controls terminal equipment of a plurality of nodes through a central control data processor after data processing according to a received control instruction, wherein the central control data processor serial communication adopts hardware photoelectric isolation, ensures signal stability and long-distance transmission network compatibility, easily forms a network by inserting into any network, the communication protocol can be customized to a standardized size, and the guide rail type installation allows it to be placed in a normal lighting distribution box. The appearance of the central control data processor is as shown in Figure 1 .
[0066] The central control data processor has 1 network signal, 2 RS485 and 2 RS232, is responsible for the distribution of serial port signals, and has fast system response speed and no delay. The serial communication adopts 16-bit self-definition, the serial port parameters can be freely set, the controlled equipment can be conveniently and smoothly linked, and the central control data processor can be matched with a projector, a computer control node, a curtain, an access control and a security system. The product parameters of the central control data processor are as follows:
[0067] ARM+Linux system, fast boot, fast response speed;
[0068] Power supply: DC 24V;
[0069] Communication interface: modbus bus, udp, tcp communication;
[0070] Installation method: DIN standard guide rail;
[0071] Appearance size: length x width x height = 160mm x 95mm x 56.
[0072] As Figure 3 shown, the method comprises the following steps:
[0073] S1: determining the number of nodes in the first scene, wherein each node corresponds to a terminal device;
[0074] The first scene can be a scene in which the exhibition hall is before the formal exhibition. For example, when the exhibition hall starts the formal exhibition, the lighting facilities for road guidance in the exhibition area are in the open state, the atmosphere lamp is lit with weak illuminance, and the lighting facilities for lighting the exhibits are in the closed state. The projectors, display screens, and sound in the exhibition hall are also in the closed state, and a part of the monitoring cameras are in the closed state, and another part of the monitoring cameras are in the open state.
[0075] When there are multiple formal exhibition scenes, the first scene can also be one of the multiple formal exhibition scenes.
[0076] The foregoing various lighting facilities, projectors, sound, and monitoring cameras can be terminal devices controlled by the central control data processor in this embodiment, and each terminal device is a node controlled by the central control data processor. For example Figure 2 The exhibition hall scene is arranged with lamps 11, curved screens 12, grounded straight screens 10, screen 20, and other terminal devices.
[0077] For example, in the first scene, there are m lighting facilities, n display screens, s projectors, h sound, t air conditioners, k computer hosts, and z monitoring cameras. Therefore, in this scene, the lighting facilities correspond to m nodes, the display screens correspond to n nodes, the projectors correspond to s nodes, the sound correspond to h nodes, the monitoring cameras correspond to z nodes. Therefore, the number of nodes N1 in this scene = m+n+s+h+t+k+z.
[0078] S2: obtaining the type of terminal device of each node, the distribution position information and the working state information in the first scene, and generating initial mode information;
[0079] For example, in the N1 nodes of the previous step, the terminal device type of m nodes is lighting, the terminal device type of n nodes is display screen, the terminal device type of s nodes is projector, the terminal device type of h nodes is sound, the terminal device type of t nodes is air conditioner, the terminal device type of k nodes is computer host, the terminal device type of n nodes is display screen, and the terminal device type of z nodes is surveillance camera. For example, in the first scenario, the distribution position information of these nodes is that the air conditioners are all located at the first corner of the exhibition hall, the display screens are all located at the summary position of the exhibition hall, the projectors are located at the left side of the display screens, the computer hosts are located at the position below the display screens. The h sound boxes are located at the four corners of the exhibition hall, z1 of the z surveillance cameras are located at the upper left of the exhibition hall, z2 are located at the upper right of the exhibition hall, z3 are located at the upper center of the exhibition hall, m1 of the m lighting facilities are located at the front left of the exhibition hall, m2 are located at the front right of the exhibition hall, m3 are located directly above the first group of exhibits, and m4 are located directly above the second group of exhibits. For example, in the first scenario, the working state information of these nodes is that the working states of s nodes of the projectors, h nodes of the sound, t nodes of the air conditioner, n nodes of the display screen, z1 of the cameras, z2 of the cameras, m1 of the lighting facilities, and k nodes of the computer host are in the closed state, while z3 of the camera nodes and m2 of the lighting facilities and m3 of the lighting facilities are in the open state.
[0080] As shown in Figure 6 As an optional but advantageous embodiment, in the present embodiment, S2 further comprises:
[0081] S21: acquiring the type of the terminal device of each node, the distribution position information in the first scenario;
[0082] For example, in the exhibition hall, the terminal device of 2 nodes is a lighting lamp, the terminal device of 2 nodes is a display screen, the terminal device of 1 node is a projector, the terminal device of 2 nodes is a sound, the terminal device of 2 nodes is an air conditioner, the terminal device of 1 node is a computer host, and the terminal device of 4 nodes is a surveillance camera. In the first scenario, 2 lighting lamps are located in the first and second areas of the exhibition hall respectively. 2 sound boxes are located in the first and second areas of the exhibition hall respectively, and two air conditioners are located in the first and second areas of the exhibition hall respectively.
[0083] S22: collecting the temperature information, humidity information and total load power information of the first scenario to obtain the first scenario parameter;
[0084] For example, the parameters of the first scenario are that the temperature of the first area of the exhibition hall is T11, the humidity is U11, and the illuminance is W11. The temperature of the second area of the exhibition hall is T12, the humidity is U12, and the illuminance is W12.
[0085] S23: Adjusting the working state of each terminal device according to the first scene parameter, and obtaining working state information;
[0086] To achieve the first scene parameter, the related terminal device can be adjusted to obtain the related working state information. For example, the working power of the first air conditioner responsible for the first area is P1, the working power of the second air conditioner responsible for the second area is P2, the working power of the first lighting device responsible for the first area is P3, and the working power of the second lighting device responsible for the second area is P4.
[0087] S24: Generating the initial mode information of the first scene according to the working state information and storing it. For example
[0088] When the working state information of each terminal device in the first scene is obtained, the initial mode information of the first scene is generated using these information and stored.
[0089] S3: Receiving a control instruction for generating a second scene;
[0090] Under the control of the control instruction of the second scene, the terminal devices corresponding to each node in the exhibition hall will execute the control instruction to make them in the working state required in the second scene.
[0091] S4: The central control data processor checks whether the initial mode information changes in real time according to the control instruction for generating the second scene;
[0092] When some terminal devices in the exhibition hall fail or are replaced or their positions change, the initial mode information will change, and these terminal devices cannot strictly perform the corresponding actions according to the requirements of the second scene. For example Figure 7 As shown, the S4 further includes the following steps:
[0093] S41: The central control data processor sends a checking signal to each node in real time according to the control instruction for generating the second scene;
[0094] S42: Each node detects whether the terminal device has a fault, whether the distribution position changes, whether the original terminal device is replaced by a new terminal device, and feeds back the detection result to the node to generate summary information;
[0095] For example, if a lighting device fails, the corresponding node of the lighting device feeds back the information that the lighting device fails. For example, if a display screen in the exhibition hall is replaced by a display screen with higher resolution, the corresponding node of the display screen feeds back the information that the display screen is replaced. For example, if an audio device is moved, the corresponding node of the audio device feeds back the information that the position of the audio device changes.
[0096] S43: When each node receives the summary information, a check feedback signal is sent to the central data processor;
[0097] S44: The central data processor processes the data to determine whether the initial mode information has changed.
[0098] When some terminal devices are faulty or the distribution positions change or the original terminal devices are replaced by new terminal devices, the initial mode information changes.
[0099] S5: If the initial mode information changes, before switching to the second scene, the mode scene information closest to the second scene is selected according to the variable information in the initial mode information and according to a preset strategy model, the central data processor processes the data according to the mode scene information to control the terminal devices of each node to work in the first mode, and when the variable information in the initial mode information returns to the original variable information of the initial mode information in the first scene, the central data processor processes the data according to the difference between the variable information when working in the first mode and the original variable information to generate an execution instruction corresponding to the terminal devices of each node, and switches from the first mode to the second mode corresponding to the second scene to control the terminal devices of each node to work.
[0100] If the initial mode information changes, it indicates that the distribution positions and / or working states of the terminal devices corresponding to all or part of the nodes in the second scene change compared with the first scene. In an ideal case, each node should strictly perform actions according to the requirements of the second scene to make each node be in a distribution position and / or working state completely meeting the requirements of the second scene. However, due to the complex exhibition environment and frequent switching of the scenes, some terminal devices are damaged or have abnormal functions, and the arrangement positions of some terminal devices change, causing the terminal devices in the exhibition hall to not strictly perform corresponding actions according to the requirements in the second scene. These often require the terminal devices in the exhibition hall to be repaired to restore their functions and strictly perform corresponding actions according to the requirements in the second scene.
[0101] As shown in Figure 8 S5 further includes the following steps:
[0102] S51: When the initial mode information changes, the variable information in the initial mode information is found out and a maintenance prompt information is sent out;
[0103] For example, when the initial mode information changes, the information corresponding to a lighting facility in the initial mode information changes, and the information is taken as the variable information. At this time, a maintenance prompt information can be sent out to prompt the maintenance of the lighting facility.
[0104] S52: According to the variable information, a mode scene information closest to the second scene is selected from a plurality of preset strategy models;
[0105] Since the maintenance usually takes a long time, the exhibition in the exhibition hall must be carried out on schedule. In this embodiment, several mode scenes can be prepared in advance, and a mode scene closest to the second scene is selected as a temporary replacement. The aforementioned replacement is the first mode.
[0106] As shown in Figure 10 In this embodiment, step S52 includes:
[0107] S521: According to the working state information of each terminal device in the second scene, one terminal device is selected as an abnormal terminal device, and associated terminal devices related to the abnormal terminal device are searched from all the remaining terminal devices;
[0108] For example, a lighting facility in the exhibition hall is selected as an abnormal terminal device, and a lighting facility closest to the faulty lighting facility can be selected as an associated terminal device related to the abnormal terminal device.
[0109] S522: The working state of the associated terminal device is adjusted, the mode scene closest to the second scene is selected by continuously adjusting, and the first strategy model is constructed and stored based on the mode scene information composed of the working state information of each terminal device representing the mode scene;
[0110] For example, the brightness of the lighting closest to the faulty lighting facility can be adjusted, and different brightness corresponds to different scene modes. The mode scene with the lighting brightness closest to the second scene is the mode scene closest to the second scene. In this case, the corresponding strategy module is constructed based on the state of each terminal device in the scene and stored for backup.
[0111] S523: The next terminal device is selected as an abnormal terminal device, and steps S521 and S522 are processed to obtain and store the second preset strategy model. By analogy, until all terminal devices related to the second scene have at least one time as an abnormal terminal device, the Mth preset strategy model is obtained, where M is an integer greater than 2;
[0112] In this embodiment, the mode scene closest to the second scene when each terminal device is abnormal is obtained as the corresponding strategy scene in the same way as the foregoing steps, and is stored for backup.
[0113] S524: The variable information is determined, and the mode scene information closest to the second scene is selected from the M preset strategy models.
[0114] For example, when the variable information indicates that a sound system is malfunctioning, the strategy model corresponding to the case where the sound system is an abnormal device is selected as the mode scene information closest to the second scene
[0115] S53: After determining the mode scene information closest to the second scene, the central control data processor performs data processing according to the mode scene information to generate a transition scene execution instruction;
[0116] This step outputs the execution instruction according to the mode scene closest to the second scene.
[0117] S54: According to the transition scene execution instruction, the terminal devices of each node are controlled to work in the first mode.
[0118] The execution instruction generated according to the first mode is sent to each terminal device, and each terminal device performs corresponding actions under the control of these execution instructions, thereby working according to the requirements of the first mode.
[0119] S55: After confirming that the maintenance prompt information is received, it is detected whether the variable information in the initial mode information returns to the original variable information of the initial mode information in the first scene.
[0120] After the maintenance is completed, the variable information in the initial mode information is detected. If the variable information returns to the original variable information of the initial mode information in the first scene, it indicates that the maintenance is completed, and the terminal devices can perform corresponding actions according to the requirements in the second scene,
[0121] S56: When it is confirmed that the variable information in the initial mode information returns to the original variable information of the initial mode information in the first scene, the central control data processor performs data processing according to the difference between the variable information when working in the first mode and the original variable information, to generate execution instructions corresponding to the terminal devices of each node.
[0122] S57: When receiving the instruction for confirming the switching, the first mode is switched to the second mode corresponding to the second scene, and the terminal devices of each node are controlled to work.
[0123] After confirming that the maintenance is completed, only the difference between the current alternative solution and the variable information in the second scene needs to be compared, and the nodes whose working states need to be changed are controlled to perform the actions required in the second scene, so that the first mode can be switched to the second mode corresponding to the second scene.
[0124] As one of the implementation manners in this embodiment, as shown in Figure 11 The exhibition hall has a monitoring camera 80, an air conditioner 70, a projector 40, lighting facilities 20, a sound system 50, a computer host device 13, and a flexible screen 90.
[0125] AsFigure 11 As shown in the first scenario, in the case of the preparation stage of the exhibition, there are 3 lighting facilities, 1 display screen, 1 projector, 2 speakers, 1 air conditioner, and 2 monitoring cameras that need to be controlled. The lighting facilities on both sides, the display screen, the projector, the speakers, the air conditioner, and the monitoring camera on the left are all in the off state, and the lighting facilities in the middle and the monitoring camera on the right are in the on state.
[0126] As shown in the first scenario, in the case of the preparation stage of the exhibition, there are 3 lighting facilities, 1 display screen, 1 projector, 2 speakers, 1 air conditioner, and 2 monitoring cameras that need to be controlled. The lighting facilities on both sides, the display screen, the projector, the speakers, the air conditioner, and the monitoring camera on the left are all in the off state, and the lighting facilities in the middle and the monitoring camera on the right are in the on state. Figure 12 As shown in the second scenario, in the case of the formal exhibition state, 3 lighting facilities need to be controlled to be turned on and illuminated at the first illuminance, 1 display screen, 1 air conditioner, the speaker on the left is in the on state, and 2 cameras are in the on state, and the rest of the terminal devices are in the off state.
[0127] However, after detection, it was found that the right lighting facility was damaged and could not be turned on, and the left speaker was damaged and could not be used. At this time, the first mode close to the second scenario was selected to perform the corresponding action of the terminal to temporarily replace the action of the terminal in the second scenario. As shown in the first mode, the working mode of the terminal device corresponding to each node is that 1 display screen, 1 air conditioner, the speaker on the right, and 2 cameras are in the on state, and the lighting in the middle and on the left is on. Among them, the lighting facility on the left illuminates at the first illuminance, and the lighting facility in the middle illuminates at the second illuminance greater than the first illuminance. In the foregoing first mode, the right speaker is turned on to compensate for the left speaker that is not working, and the illuminance of the middle lighting facility is increased to compensate for the right lighting facility that is not working. In this way, during the process of repairing the failed equipment, the exhibition can also be carried out with the effect closest to the actual exhibition scene requirements; Figure 13
[0128] After the repair is completed, it is found through detection that the terminal devices can meet the working requirements of the second scenario. At this time, after comparison, it is found that the working state of the display screen, the air conditioner, the camera, and the lighting facility on the left has not changed compared with the second scenario, and the speaker and the other two lighting facilities have changed. At this time, the right speaker needs to be turned off, the left speaker needs to be turned on, the right lighting facility needs to be turned on to illuminate at the first illuminance, and the illuminance of the middle lighting facility needs to be adjusted back to the first illuminance. The foregoing process can be referred to in Figure 16 .
[0129] As another embodiment in the present embodiment, there are 4 lighting facilities, 2 display screens, 1 projector, 2 speakers, 1 air conditioner, and 3 monitoring cameras in the exhibition hall. In the first scenario, in the case of displaying the first group of exhibits, the projector, the air conditioner, the monitoring camera, the two lighting facilities above the first group of exhibits, and the speaker corresponding to the first group of exhibits are turned on, and the rest of the devices are turned off.
[0130] In the second scenario, where the second set of exhibits is being displayed, the projector, air conditioner, security camera, two lighting fixtures above the second set of exhibits, and the speakers corresponding to the second set of exhibits are all turned on and operating at the highest volume, while the other equipment is off. However, after inspection, it was discovered that the speakers corresponding to the second set of exhibits had been moved to a position that is too far away from the second set of exhibits.
[0131] At this point, the first mode, which is closest to the second scene, is selected with the projector, air conditioner, surveillance camera, and two lighting facilities above the second group of exhibits turned on. The speaker closest to the second group of exhibits (the speaker corresponding to the first group of exhibits) is turned on and operates at a second volume greater than the first volume to compensate for the second group of exhibits' speakers not meeting the requirements due to the change in position.
[0132] While operating in the first mode, move the speakers corresponding to the second set of exhibits to positions that meet the requirements of the second scenario. Once maintenance is completed and testing confirms that all terminal devices meet the requirements of the second scenario, the operating mode can be switched. At this point, comparison reveals that the operating status of the projector, air conditioner, surveillance camera, and the two lighting fixtures above the second set of exhibits remains unchanged compared to the second scenario. However, the operating status of the two speakers has changed. Therefore, the speakers used in the first mode should be turned off, and the speakers corresponding to the second set of exhibits should be turned on and operated at the first volume.
[0133] Example 2
[0134] In this embodiment, the data processing method for mode switching based on variable differences further includes S6: if the initial mode information has not changed, then according to the control command for generating the second scene, the central control data processor performs data processing to generate execution commands for the terminal devices of each node, and controls the terminal devices of each node to work.
[0135] If the initial mode information remains unchanged, it indicates that all terminal devices are currently in normal condition, or have been restored to their original normal condition after maintenance. In this case, the operation of each terminal device can be strictly controlled according to the requirements of the second scenario.
[0136] like Figure 5 As shown, as an optional but advantageous implementation, S6 in this embodiment further includes the following step:
[0137] S61: When it is determined that the initial mode information has not changed, the central control data processor parses the second scene preset parameters of each terminal device and the second scene according to the control command for generating the second scene;
[0138] For example, the second scenario is a formal exhibition scene mode. In order to match the second scenario, the preset parameters of the second scenario are that the temperature of the first area of the exhibition hall is T1, the humidity is U1, the illumination is W1, the temperature of the second area of the exhibition hall is T2, the humidity is U2, and the illumination is W2.
[0139] S62: generating an execution instruction of the terminal device corresponding to each node according to the second scene preset parameter of each terminal device;
[0140] S63: the terminal device of each node works according to the execution instruction after receiving the execution instruction, and feeds back the execution situation information to the central control data processor.
[0141] For example, the central control data processor sends a control instruction to the first air conditioner responsible for the first area, the control instruction controls the first air conditioner to work at a first power so as to adjust the temperature of the first area to T21 and the humidity to U21; the central control data processor sends a control instruction to the second air conditioner responsible for the second area, the control instruction controls the second air conditioner to work at a second power so as to adjust the temperature of the second area to T22 and the humidity to U22. For another example, the central control data processor sends a control instruction to the first lighting facility responsible for the lighting of the first area, the control instruction controls the lighting to work at a third power so as to adjust the illumination of the first area to W21; the central control data processor sends a control instruction to the second lighting facility responsible for the lighting of the second area, the control instruction controls the lighting to work at a fourth power so as to adjust the illumination of the second area to W22.
[0142] Embodiment 3
[0143] As shown in Figure 9 As an optional but advantageous implementation, in the present embodiment, the data processing method based on variable difference for mode switching further comprises the following steps:
[0144] S561: when the variable information in the initial mode information is restored to the original variable information of the initial mode information in the first scene, the central control data processor first determines whether the type, distribution position information and working state information of the terminal device of each node in the first mode have changed in the first scene and the second scene, and if not, the nodes without change are excluded first;
[0145] When the abnormal equipment in the exhibition hall, such as the equipment in failure mode, the equipment in position moving mode, the equipment in updating mode and the like, is repaired, the variable information in the initial mode information will be restored to the original variable information of the initial mode information in the first scene. At this time, it is firstly judged whether the type, distribution position information and working state information of the terminal equipment of each node in the first mode working are changed in the first scene and the second scene, and the nodes with no change are excluded firstly. For example, the air conditioner in the exhibition hall has the same position distribution and working state in the first mode working and in the first scene and the second scene, and then the node corresponding to the air conditioner is excluded to reduce the data to be processed subsequently, so that the data processing efficiency is improved significantly.
[0146] S562: determining whether the type, distribution position information and working state information of the terminal equipment in the first mode working are to be changed in the second scene from the terminal equipment of the remaining nodes; if the change is to be made, the variable information in the initial mode information is restored to the original variable information;
[0147] For example, the brightness of a certain lighting facility in the first mode is to be reduced in the second scene, and then the variable information corresponding to the lighting facility is restored to the original variable information in the initial mode information.
[0148] S563: after the variable information of all the terminal equipment is restored to the original variable information, a virtual verification step is entered, and the virtual verification step comprises:
[0149] obtaining the restored original variable information to generate a virtual scene as an alternative;
[0150] As shown in FIG. 6, this step generates a scene similar to the scene effect obtained when each terminal equipment is controlled according to the original variable information as a virtual scene based on the restored original variable information. Figure 15
[0151] comparing and analyzing the alternative virtual scene with the simulation scene of the second scene, and outputting an analysis result;
[0152] This step compares the virtual scene generated in the previous step with the simulation scene of the second scene respectively, and analyzes the size of the coincidence degree.
[0153] According to the analysis result, when the coincidence degree between the alternative virtual scene and the simulation scene of the second scene is less than a preset value, the restored original variable information is analyzed and calibrated again to generate new restored original variable information;
[0154] This step uses the preset value as a standard for verifying whether the verification is completed, and the preset value can be determined according to experience. If the coincidence degree does not meet the requirement, the adjustment of the variable information is continued.
[0155] When the coincidence degree between the alternative virtual scene and the simulation scene of the second scene is greater than or equal to the preset value according to the analysis result, the current recovered original variable information is determined as the new original variable information of the initial mode information;
[0156] When the coincidence degree of a certain virtual scene meets the requirement, it indicates that the original variable information has been adjusted in place, and the original variable information is taken as the new original variable information of the initial mode information
[0157] S564: According to the new original variable information of the initial mode information, the execution instructions of the terminal devices corresponding to each node are generated.
[0158] When the virtual check is completed, the original variable information obtained by the virtual check is used to generate the execution instructions for controlling each node terminal. The foregoing process can be referred to Figure 17 .
[0159] Embodiment 4
[0160] The embodiment provides a data processing system based on variable difference mode switching, which comprises:
[0161] a central control data processor;
[0162] The types of the terminal devices include at least two of a light circuit, a display screen, a computer host device, an air conditioner device, a projector, a monitoring camera, a sound box and a personalized customized device. The system adopts the data processing method based on variable difference mode switching described in any of the foregoing embodiments. The personalized customized device can be, for example, an air purifier or a humidifier.
[0163] The application scenarios of the system include at least one of a science museum, a museum, an astronomical museum, a planning museum, an enterprise exhibition hall and a campus exhibition hall.
[0164] The foregoing is a detailed introduction to the data processing method and system based on variable difference mode switching.
[0165] It should be noted that the present application is not limited to the specific configurations and processes described above and shown in the drawings. For the sake of brevity, detailed descriptions of known methods are omitted herein. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order of the steps, after understanding the spirit of the present application.
[0166] The functional blocks shown in the structural block diagrams described above can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application specific integrated circuits (ASICs), appropriate firmware, plug-ins, functional cards, and the like. When implemented in software, the elements of the present application are program or code segments that are used to perform the required tasks. The program or code segments can be stored in a machine-readable medium or transmitted through a data signal carried in a carrier wave over a transmission medium or communication link. A "machine-readable medium" includes any medium that can store or transport information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, and the like. The code segments can be downloaded via computer networks such as the Internet, intranets, and the like.
[0167] It should also be noted that the exemplary embodiments mentioned in the present application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in an order different from that in the embodiments, or several steps can be performed simultaneously.
[0168] The above description is merely a specific implementation of the present application. Those skilled in the art can clearly understand the specific working processes of the above-described system, modules and units for the convenience and brevity of description, which can refer to the corresponding processes in the foregoing method embodiments, which will not be described here. It should be understood that the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements should be covered within the protection scope of the present application.
Claims
1. A data processing method for mode switching based on variable differences, characterized in that, The method includes: Obtain the initial mode information for generating the first scene; Receive a control command to generate a second scene. According to the control command, when the initial mode information changes, obtain the mode scene information closest to the second scene based on the preset strategy model, and control each terminal device to work in the first mode. When the variable information in the initial mode information is restored to the original variable information of the initial mode information in the first scenario, first determine whether the type, distribution location information and working status information of the terminal devices of each node have changed in the first scenario and the second scenario. If they have not changed, then exclude the nodes that have not changed. Determine from the remaining nodes whether the type, distribution location information, and working status information of the terminal devices used in the first mode need to be changed in the second scenario. If changes are required, the variable information in the initial mode information will be restored to the original variable information; After all the variable information of all terminal devices has been restored to the original variable information, the virtual verification step is entered to generate new original variable information of the initial mode information. Based on the new original variable information of the initial mode information, the execution instructions for the terminal devices of each node are generated. According to the execution instruction, the system switches from the first mode to the second mode corresponding to the second scene; wherein, the variable information includes information on the corresponding changes in lighting facilities in the initial mode information when the initial mode information changes.
2. The data processing method for mode switching based on variable differences according to claim 1, characterized in that, The process of obtaining the initial mode information for generating the first scene includes: Obtain the type of terminal device and its distribution location information in the first scenario for each node; Collect temperature, humidity, and total load power information of the first scenario to obtain the parameters of the first scenario. Based on the first scenario parameters, adjust the working status of each terminal device to obtain working status information; Based on the type of terminal devices at each node, their distribution location information in the first scenario, and the working status information, the initial mode information of the first scenario is generated and stored.
3. The data processing method for mode switching based on variable differences according to claim 2, characterized in that, The step of receiving a control command to generate a second scene, and according to the control command, when the initial mode information changes, obtaining the mode scene information closest to the second scene based on a preset strategy model, and controlling each terminal device to work in the first mode, includes: Based on the working status information of each terminal device in the second scenario, one terminal device is selected as the abnormal terminal device, and the associated terminal devices related to the abnormal terminal device are searched from all the remaining terminal devices. Adjust the working status of associated terminal devices, select the mode scenario that is closest to the second scenario through continuous adjustment, and construct and store a preset first strategy model based on the mode scenario information composed of the working status information of each terminal device that represents the mode scenario. Continue to select the next terminal device as the abnormal terminal device, process it according to steps S21 and S22, obtain the preset second strategy model and store it: and so on, until all terminal devices related to the second scenario have been abnormal terminal devices at least once, and obtain the preset Mth strategy model, where M is an integer greater than 2. Determine the variable information, and select the pattern scenario information that is closest to the second scenario from M preset strategy models; Based on the scenario information, control each terminal device to work in the first mode.
4. The data processing method for mode switching based on variable differences according to claim 3, characterized in that, The step of controlling each terminal device to operate in the first mode based on the mode scenario information includes: Once the pattern scenario information closest to the second scenario is determined, data processing is performed based on the pattern scenario information to generate transition scenario execution instructions; Based on the transition scenario, execute the instructions to control the terminal devices of each node to work in the first mode.
5. The data processing method for mode switching based on variable differences according to claim 1, characterized in that, After all terminal devices' variable information has been restored to its original state, the virtual verification step is initiated, generating new original variable information for the initial mode information, including: Obtain the restored original variable information and generate candidate virtual scenes; compare and analyze the candidate virtual scenes with the simulated scene of the second scene, and output the analysis results; If the overlap between the candidate virtual scene and the simulated scene of the second scene is less than the preset value, the restored original variable information is re-analyzed and calibrated to generate new restored original variable information. When the analysis results confirm that the overlap between the candidate virtual scene and the simulated scene of the second scene is greater than or equal to the preset value, the restored original variable information is determined as the new original variable information of the initial mode information.
6. The data processing method for mode switching based on variable differences according to claim 3, characterized in that, Before selecting one terminal device as the abnormal terminal device based on the working status information of each terminal device in the second scenario, and searching for associated terminal devices related to the abnormal terminal device from all remaining terminal devices, the following steps are included: Based on the control instructions for generating the second scene, a verification signal is sent to each node in real time. After receiving the verification signal, each node checks whether the terminal device is faulty, whether its distribution location has changed, or whether the original terminal device has been replaced by a new terminal device, and feeds back the detection results to the node to generate summary information. Once each node receives the aggregated information, it determines whether the initial pattern information has changed.
7. A data processing system for mode switching based on variable differences, used to implement the data processing method for mode switching based on variable differences as described in any one of claims 1-6, characterized in that, The system includes: Central control data processor; The types of terminal equipment include at least two of the following: lighting circuits, displays, computer mainframes, air conditioning equipment, projectors, surveillance cameras, speakers, and customized equipment.
8. The data processing system for mode switching based on variable differences according to claim 7, characterized in that, The central control data processor is used to, according to the control command, when the initial mode information changes, to obtain the mode scenario information closest to the second scenario based on the preset strategy model, and control each terminal device to work in the first mode. The central control data processor is also used to generate execution instructions for each terminal device based on the difference between the variable information of the first mode and the original variable information of the initial mode when the variable information in the initial mode information is restored to the original variable information of the initial mode information in the first scenario.
9. The data processing system for mode switching based on variable differences according to claim 7, characterized in that, The system can be applied in at least one of the following scenarios: science and technology museums, museums, planetariums, planning museums, corporate exhibition halls, and campus exhibition halls.
Citation Information
Patent Citations
Program-controlled multimode serial port distributor
CN103336755A
Intelligentized operation system for exhibition hall
CN114169759A
Science and technology exhibition hall light exhibition intelligent regulation and control system
CN110493939A
Exhibition hall system rapid switching and subsystem remote control system supporting one-key control
CN113608447A