CN115801748A - Equipment system automatic switching method, electronic equipment, device and readable storage medium - Google Patents

Equipment system automatic switching method, electronic equipment, device and readable storage medium Download PDF

Info

Publication number
CN115801748A
CN115801748A CN202211434741.1A CN202211434741A CN115801748A CN 115801748 A CN115801748 A CN 115801748A CN 202211434741 A CN202211434741 A CN 202211434741A CN 115801748 A CN115801748 A CN 115801748A
Authority
CN
China
Prior art keywords
equipment
working area
software system
target software
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211434741.1A
Other languages
Chinese (zh)
Other versions
CN115801748B (en
Inventor
孟亚光
刘碧波
陈昕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Sany Electronic Technology Co ltd
Original Assignee
Shanghai Sany Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Sany Electronic Technology Co ltd filed Critical Shanghai Sany Electronic Technology Co ltd
Priority to CN202211434741.1A priority Critical patent/CN115801748B/en
Publication of CN115801748A publication Critical patent/CN115801748A/en
Application granted granted Critical
Publication of CN115801748B publication Critical patent/CN115801748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an equipment system automatic switching method, electronic equipment, a device and a readable storage medium, wherein a related target software system is determined according to a working area where the equipment is currently located, and when the software system currently operated by the equipment is not the target software system, the target software system is automatically switched, so that convenience is brought to a user, and the efficiency is improved.

Description

Equipment system automatic switching method, electronic equipment, device and readable storage medium
Technical Field
The invention belongs to the technical field of system switching, and particularly relates to an automatic switching method of an equipment system, electronic equipment, a device and a readable storage medium.
Background
At present, in many fields, in order to avoid waste of hardware resources and reduce cost, a plurality of software systems are often arranged in the same equipment, for example, in the mine field, an aboveground system and an underground system are arranged in the equipment, the aboveground system is mainly used for monitoring underground, the underground system is mainly used for positioning underground personnel and equipment, the monitoring and positioning are related to the safety of mine operation, when an inspector carries the equipment to the underground, the system needs to be switched to the aboveground system, the underground monitoring is timely performed, when the inspector carries the equipment to the underground, the system needs to be switched to the underground system, the equipment is positioned, so that the aboveground system can know the real-time position of the equipment, in the process, the switching of the system is usually performed through gestures, voice instructions and other modes, however, the modes firstly need a user to actively perform switching, if the user does not perform switching operation in time, a great safety risk exists, secondly, the user may not be able to release gestures for switching, or the noise of an area where the user is located is large, and therefore, the recognition effect of the voice instructions is not good.
Therefore, in the prior art, a user needs to actively switch the system to the corresponding software system in different working areas of the device with multiple systems, which is very inconvenient, inefficient and has safety risk.
Disclosure of Invention
Based on the above technical problem, a convenient, efficient and safe device system automatic switching method, an electronic device, an apparatus and a readable storage medium are provided.
The technical scheme adopted by the invention is as follows:
as a first aspect of the present invention, there is provided an automatic switching method for an equipment system, including:
s101, determining a working area where the equipment is located currently;
s102, determining a target software system associated with the working area according to the working area;
s103, determining whether the software system currently operated by the equipment is the target software system, and if not, switching the equipment to the target software system.
As a second aspect of the present invention, there is provided an automatic switching apparatus of an equipment system, comprising:
the working area determining module is used for determining the current working area of the equipment;
the target software system determining module is used for determining a target software system associated with the working area according to the working area;
and the system switching module is used for determining whether the software system currently operated by the equipment is the target software system, and if not, switching the equipment to the target software system.
As a third aspect of the present invention, there is provided an electronic device, including a storage module, where the storage module includes instructions loaded and executed by a processor, and when the instructions are executed, the processor is caused to execute the device system automatic switching method of the first aspect.
As a fourth aspect of the present invention, there is provided a computer-readable storage medium storing one or more programs which, when executed by a processor, implement an automatic device system switching method of the first aspect described above.
According to the invention, the associated target software system is determined according to the current working area of the equipment, and when the software system currently operated by the equipment is not the target software system, the target software system is automatically switched to, so that convenience is brought to users, the efficiency is improved, and the safety is high.
Drawings
The invention is described in detail below with reference to the following figures and detailed description:
fig. 1 is a flowchart of an automatic switching method for an equipment system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an automatic switching device of an equipment system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described below with reference to the drawings attached to the specification. It should be noted that the embodiments mentioned in the present description are not exhaustive and do not represent the only embodiments of the present invention. The following examples are provided for clarity of the inventive concepts of the present invention and are not intended to limit the scope of the invention. It will be apparent to those skilled in the art that various changes and modifications can be made in the embodiment without departing from the spirit and scope of the invention, and it is intended to cover all such changes and modifications as fall within the true spirit and scope of the invention.
The embodiment of the invention is applied to the portable equipment in the mine field, the portable equipment adopts an intelligent operating system (such as Linux, hongmon, android and the like) to partition a physical disk therein, the physical disk is separated from each other to be separated into two different spaces, the two spaces are respectively provided with an aboveground system and a downhole system, so that the application and data in the aboveground system and the downhole system are separated from each other and are independent, do not interfere with each other and cannot be accessed to each other, a user can only use one system at the same time, but the two systems share other hardware resources of the equipment except the physical disk, so that each system can maximally use the hardware resources of the equipment, the partitioned disks of the two systems are exclusive resources, and do not issue access and modify permission to ensure the performance, stability and safety of the system.
Two independent systems of cutting apart can carry out the safe settlement and the customization of external environment respectively according to the requirement in wisdom mine: the external network is forbidden at the operating system level, the external telephone is forbidden to be dialed, only the emergency call telephone and the internal telephone can be dialed, the data service is forbidden, the fixed IP is set, and the like, so that the use environment safety of the equipment is ensured.
The underground system is mainly used for monitoring underground equipment, vehicles and personnel conditions, issuing scheduling instructions, calling underground equipment, personnel and the like, and the underground system is mainly used for (personnel/equipment) positioning, traffic light control, vehicle scheduling, monitoring of a base station and a base station power supply system, keeping calling connection with the ground and the like.
The underground system and the aboveground system can be connected to an industrial ring network of a mine and interact with a server at a background.
It is understood that for application scenarios outside the mine, the number of software systems in the device may be two or more, and similarly, the number of work areas may also be two or more, and each software system may be associated with a work area in a one-to-one manner, or may be associated with a work area in a one-to-many manner.
As shown in fig. 1, an embodiment of the present invention provides an automatic switching method for an equipment system, which includes the following specific processes:
s101, determining a current working area of the equipment.
In this embodiment, a working area where the communication node device currently accesses is determined, and then the working area where the communication node device is located is used as the working area where the device is currently located.
And if the working area of the communication node equipment currently accessed by the equipment is the underground coal mine working area, the working area of the equipment currently accessed is also the underground coal mine working area.
In the mine field, the communication node equipment is usually a base station, and when one base station is installed and networked, whether the base station is located on the ground or in the well is determined. The base station can continuously send out a private communication protocol (broadcast), equipment near the base station can receive the private protocol, the equipment capable of identifying and processing the private protocol is credible equipment, when the base station sends the private communication protocol, a special networking flag bit is added in the protocol while basic data/command information is sent to identify whether the base station is above the ground or below the ground, after the credible equipment receives the protocol information sent by the base station and analyzes the basic data/command information, the special networking flag bit is also analyzed from the protocol information, and the base station communicating with the equipment is determined to be above the ground or below the ground according to the analyzed networking flag bit, so that the equipment is determined to be above the ground or below the ground.
And S102, determining a target software system associated with the working area according to the working area.
And if the current working area of the equipment is the underground coal mine working area, the target software system is an underground system, and if the current working area of the equipment is the above-coal mine working area, the target software system is an above-ground system.
S103, determining whether the software system currently operated by the equipment is a target software system, and if not, switching the equipment to the target software system.
In the above example, the target software system is a downhole system, and if the software system currently operated by the equipment is an uphole system, the equipment is switched to the downhole system.
Considering that the currently running software system may have a task being executed, before switching the systems, it is determined whether the currently running software system of the device has a task being executed, if yes, the currently executed task is processed through a preset task processing policy, and after the processing is completed, the device is switched to the target software system, otherwise, the device is directly switched to the target software system.
Among them, the task processing policy can be configured by the user, and the following exemplarily shows two policies:
1. and waiting for the completion of the execution of the task being executed, and simultaneously giving a corresponding prompt, such as 'the task is still being executed in the current system, and the task is automatically switched to a new system after the execution is completed'.
2. Task information (data, commands and the like required by the tasks) of the tasks being executed is collected and uploaded, for example, the task information is uploaded to a server in a background through an industrial ring network in a mine, a data processing center on the server processes unfinished tasks instead, and the device is notified after the processing is finished.
Therefore, the method determines the associated target software system according to the current working area of the device, and automatically switches to the target software system when the current software system operated by the device is not the target software system, so that convenience is brought to users, efficiency is improved, and safety is high.
The automatic switching apparatus of an equipment system according to one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these switching means can be constructed by configuring the steps taught in the present scheme using commercially available hardware components. Fig. 2 shows an automatic switching apparatus for equipment systems according to an embodiment of the present invention, as shown in fig. 2, the switching apparatus includes a work area determining module 11, a target software system determining module 12, and a system switching module 13.
A work area determining module 11, configured to determine a work area where the device is currently located.
In this embodiment, a working area where the communication node device currently accesses is determined, and then the working area where the communication node device is located is used as the working area where the device is currently located.
And if the working area of the communication node equipment currently accessed by the equipment is the underground coal mine working area, the working area of the equipment currently accessed is also the underground coal mine working area.
In the mine field, the communication node equipment is usually a base station, and when one base station is installed and networked, whether the base station is located on the ground or in the well is determined. The base station can continuously send out a private communication protocol (broadcast), equipment near the base station can receive the private protocol, the equipment capable of identifying and processing the private protocol is credible equipment, when the base station sends the private communication protocol, a special networking flag bit is added in the protocol while basic data/command information is sent to identify whether the base station is above the ground or below the ground, after the credible equipment receives the protocol information sent by the base station and analyzes the basic data/command information, the special networking flag bit is also analyzed from the protocol information, and the base station communicating with the equipment is determined to be above the ground or below the ground according to the analyzed networking flag bit, so that the equipment is determined to be above the ground or below the ground.
And the target software system determining module 12 is used for determining the target software system associated with the working area according to the working area.
And if the current working area of the equipment is the underground coal mine working area, the target software system is an underground system, and if the current working area of the equipment is the above-coal mine working area, the target software system is an above-ground system.
And the system switching module 13 is configured to determine whether a software system currently operated by the device is a target software system, and if not, switch the device to the target software system.
In the above example, the target software system is a downhole system, and if the software system currently operated by the equipment is an uphole system, the equipment is switched to the downhole system.
Considering that the currently running software system may have a task being executed, before switching the systems, it is determined whether the currently running software system of the device has the task being executed, if so, the currently executed task is processed through a preset task processing policy, and after the processing is completed, the device is switched to the target software system, otherwise, the device is directly switched to the target software system.
Among them, the task processing policy can be configured by the user, and the following exemplarily shows two policies:
1. and waiting for the completion of the execution of the task being executed, and simultaneously giving a corresponding prompt, such as 'the task is still being executed in the current system, and the task is automatically switched to a new system after the execution is completed'.
2. Task information (data, commands and the like required by the tasks) of the tasks being executed is collected and uploaded, for example, the task information is uploaded to a server in a background through an industrial ring network in a mine, a data processing center on the server processes unfinished tasks instead, and the device is notified after the processing is finished.
In summary, the automatic switching apparatus of an equipment system provided in the foregoing embodiments may execute the automatic switching method of an equipment system provided in the foregoing embodiments.
Similar to the above concept, the structure of the automatic switching apparatus of the equipment system shown in fig. 2 can be implemented as an electronic device, and fig. 3 is a block diagram schematically illustrating the structure of an electronic device according to an embodiment of the present invention.
Illustratively, the electronic device comprises a storage module 21 and a processor 22, the storage module 21 comprising instructions loaded and executed by the processor 22, the instructions, when executed, causing the processor 22 to perform the steps according to various exemplary embodiments of the present invention described in the above-mentioned one device system auto-switching method section of the present specification.
It should be understood that the processor 22 may be a Central Processing Unit (CPU), and that the processor 22 may be other general purpose processors, digital signal processors, etc
(digital signal processor, DSP), application specific integrated circuit
An Application Specific Integrated Circuit (ASIC), a Field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Also provided in an embodiment of the present invention is a computer-readable storage medium storing one or more programs which, when executed by a processor, implement the steps according to various exemplary embodiments of the present invention described in the above section of the apparatus system automatic switching method.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable storage media, which may include computer readable storage media (or non-transitory media) and communication media (or transitory media).
The term computer-readable storage medium includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer-readable storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
For example, the computer readable storage medium may be an internal storage unit of the electronic device of the foregoing embodiment, such as a hard disk or a memory of the electronic device. The computer readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk provided on the electronic device, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash card (FlashCard), and the like.
The electronic device and the computer-readable storage medium provided in the foregoing embodiments determine the associated target software system according to the working area where the device is currently located, and automatically switch to the target software system when the software system currently operated by the device is not the target software system, thereby providing convenience for a user, improving efficiency, and providing high security.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (9)

1. An automatic switching method of a device system is characterized by comprising the following steps:
s101, determining a working area where the equipment is located currently;
s102, determining a target software system associated with the working area according to the working area;
s103, determining whether the software system currently operated by the equipment is the target software system, and if not, switching the equipment to the target software system.
2. The method according to claim 1, wherein the S101 further comprises:
determining a working area where communication node equipment currently accessed by the equipment is located;
and taking the working area where the communication node equipment is located as the current working area where the equipment is located.
3. The method according to claim 2, wherein the communication node device is a base station, and the determining a working area of the communication node device to which the device currently accesses further comprises:
analyzing a networking flag bit from the broadcast transmitted by the base station;
and determining the working area of the base station according to the networking flag bit.
4. The method for automatic switching of equipment systems according to claim 3, wherein said S103 further comprises:
and determining whether the software system currently operated by the equipment has a task which is being executed, if so, processing the task which is being executed through a preset task processing strategy, and switching the equipment to the target software system after the processing is finished, otherwise, directly switching to the target software system.
5. The method according to claim 4, wherein the task processing policy is:
waiting for the executing task to complete execution;
or collecting and uploading task information of the executing task.
6. The automatic equipment system switching method according to claim 5, wherein the working areas comprise an upper coal mine working area and a lower coal mine working area, and the software system comprises an upper coal mine system associated with the upper coal mine working area and a lower coal mine system associated with the lower coal mine working area.
7. An automatic switching device of an equipment system, comprising:
the working area determining module is used for determining the current working area of the equipment;
the target software system determining module is used for determining a target software system associated with the working area according to the working area;
and the system switching module is used for determining whether the software system currently operated by the equipment is the target software system, and if not, switching the equipment to the target software system.
8. An electronic device comprising a memory module including instructions loaded and executed by a processor, the instructions when executed cause the processor to perform a method of device system auto-switching according to any of claims 1-6.
9. A computer-readable storage medium storing one or more programs, wherein the one or more programs, when executed by a processor, implement an equipment system auto-switching method of any one of claims 1-6.
CN202211434741.1A 2022-11-16 2022-11-16 Automatic switching method of equipment system, electronic equipment, device and readable storage medium Active CN115801748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211434741.1A CN115801748B (en) 2022-11-16 2022-11-16 Automatic switching method of equipment system, electronic equipment, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211434741.1A CN115801748B (en) 2022-11-16 2022-11-16 Automatic switching method of equipment system, electronic equipment, device and readable storage medium

Publications (2)

Publication Number Publication Date
CN115801748A true CN115801748A (en) 2023-03-14
CN115801748B CN115801748B (en) 2023-06-23

Family

ID=85438211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211434741.1A Active CN115801748B (en) 2022-11-16 2022-11-16 Automatic switching method of equipment system, electronic equipment, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN115801748B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0354987A (en) * 1989-05-26 1991-03-08 Hitachi Ltd Radio communication system
CN104219387A (en) * 2014-08-28 2014-12-17 深圳市金立通信设备有限公司 Automatic switching method of profile
CN107331228A (en) * 2017-08-23 2017-11-07 成都信息工程大学 Interactive mode teaching reponse system and method based on low-power consumption bluetooth technology
CN114153501A (en) * 2020-09-07 2022-03-08 中兴通讯股份有限公司 GEO positioning-based terminal multi-system switching method and device, and terminal
CN114968375A (en) * 2021-02-18 2022-08-30 Oppo广东移动通信有限公司 System switching method and device, electronic equipment and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0354987A (en) * 1989-05-26 1991-03-08 Hitachi Ltd Radio communication system
CN104219387A (en) * 2014-08-28 2014-12-17 深圳市金立通信设备有限公司 Automatic switching method of profile
CN107331228A (en) * 2017-08-23 2017-11-07 成都信息工程大学 Interactive mode teaching reponse system and method based on low-power consumption bluetooth technology
CN114153501A (en) * 2020-09-07 2022-03-08 中兴通讯股份有限公司 GEO positioning-based terminal multi-system switching method and device, and terminal
CN114968375A (en) * 2021-02-18 2022-08-30 Oppo广东移动通信有限公司 System switching method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN115801748B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
US10834015B2 (en) Dynamic resource allocation for sensor devices on a mixed-infrastructure network
US20190331501A1 (en) Method and device for planning route, server and robot
EP3800589A1 (en) Task processing method and apparatus
EP2977951A1 (en) Operating method and device for disaster information
CN101241365B (en) Method and apparatus for automatically recognizing a connection of a device to a building management system
CN106023642A (en) Parking stall reservation method, corresponding terminal, server and device
US20130148596A1 (en) Resource management system and method of centralized base station in mobile communication network
CN107612941B (en) Authority management method, device, equipment and storage medium
CN204990732U (en) Share and system of renting in parking stall or logistics storage space
EP3007385B1 (en) Terminal peripheral control method, m2m gateway, and communications system
CN103401988B (en) Mobile phone, based on the mobile communication control method of radio-frequency technique and system
CN103517243A (en) Emergency call establishment method, network equipment and communication system
CN112395107A (en) Tax control equipment control method and device, storage medium and electronic equipment
CN112150015A (en) Task allocation method and device
CN108268267B (en) Building intercom system and terminal equipment software upgrading method thereof
CN115801748B (en) Automatic switching method of equipment system, electronic equipment, device and readable storage medium
KR20210089409A (en) Apparatus for providing service using vehicle resource and operating method thereof
CN109693979B (en) Call calling method and device
CN105630584A (en) Operation control method and system of application program and terminal
CN114706526A (en) Automatic capacity expansion method, system and equipment for cloud native storage data volume
CN108243422B (en) Method and device for configuring cell carrier
CN112749158A (en) Energy system data processing method and device
CN112770292A (en) Unmanned aerial vehicle communication system, unmanned aerial vehicle communication method and device
CN108243045B (en) Northbound network management method and device based on rule engine
CN110751738A (en) Intelligent stereo garage service management method based on mobile internet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Room 209, 2nd Floor, Building 3, No. 588 Caolong Road, Songjiang District, Shanghai, 2016

Patentee after: Shanghai Sany Electronic Technology Co.,Ltd.

Country or region after: China

Address before: 201613 Room 611, Building 1, No. 299, Zhongchen Road, Songjiang District, Shanghai

Patentee before: Shanghai Sany Electronic Technology Co.,Ltd.

Country or region before: China