CN110673491B - Office area equipment automatic management method, office area equipment automatic management device, office area equipment automatic management medium and electronic equipment - Google Patents
Office area equipment automatic management method, office area equipment automatic management device, office area equipment automatic management medium and electronic equipment Download PDFInfo
- Publication number
- CN110673491B CN110673491B CN201910830445.5A CN201910830445A CN110673491B CN 110673491 B CN110673491 B CN 110673491B CN 201910830445 A CN201910830445 A CN 201910830445A CN 110673491 B CN110673491 B CN 110673491B
- Authority
- CN
- China
- Prior art keywords
- instruction
- request
- verification
- http request
- character string
- 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.)
- Active
Links
- 238000007726 management method Methods 0.000 title claims abstract description 65
- 238000012795 verification Methods 0.000 claims abstract description 68
- 238000000034 method Methods 0.000 claims abstract description 23
- 238000004378 air conditioning Methods 0.000 claims abstract description 6
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Telephonic Communication Services (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses an automatic management method, a device, a medium and electronic equipment for office area equipment, which comprises the following steps: receiving a control instruction sent by a management platform, wherein the control instruction comprises a service instruction and two http request heads, the service instruction comprises a light-on instruction, a printing instruction, an air-conditioning instruction or a door lock instruction, the first http request head is used for data splicing, and the second http request head is used for data comparison; locally acquiring verification data, and verifying through the verification data and the two http request headers; and when the verification is qualified, responding to the service instruction. The method can control the equipment in the office in a grading way, and the automatic control management is safer due to the arrangement of the safety verification method.
Description
Technical Field
The invention relates to the technical field of computers, in particular to an automatic management method, device, medium and electronic equipment for office area equipment.
Background
Office environments such as lights, curtains, air conditioners, printers, office and conference room door locks, etc. are often managed manually. For example, by conventional switches and remote controls. There is no connection between the controls, nor between the devices; the system can not be combined with the whole operation management of a company, and has no functions of authority management, redistribution and the like.
For some large office areas, hierarchical management is often required, each person can control own equipment and environment, and the upper level or unit main pipe has the right to control equipment and environment of subordinate or whole units. It has often been the case that individuals do not have control over their environment and equipment, which can be troublesome to the entire organization.
In addition, when centralized automatic control is performed, the security of the network system is also insufficient, which is likely to cause control confusion, and additional cost is brought to the management of the office.
Disclosure of Invention
The invention aims to provide an automatic management method, device, medium and electronic equipment for office area equipment, which can solve at least one technical problem mentioned above. The specific scheme is as follows:
according to a specific implementation manner of the present invention, in a first aspect, the present invention provides an automatic management method for office area equipment, including:
receiving a control instruction sent by a management platform, wherein the control instruction comprises a service instruction and two http request heads, the service instruction comprises a light-on instruction, a printing instruction, an air-conditioning instruction or a door lock instruction, the first http request head is used for data splicing, and the second http request head is used for data comparison;
locally acquiring verification data, and verifying through the verification data and the two http request headers;
and when the verification is qualified, responding to the service instruction.
Optionally, the verifying the http request header by the verification data includes:
splicing the first request header and the check data, and then coding according to a preset mode to obtain a first character string;
splicing the first character string with an http request body to form an intermediate character string, and encrypting the intermediate character string to form a second character string;
judging whether the second character string is consistent with a second request header;
if the two are consistent, the verification is qualified.
Optionally, the verifying the http request header by the verification data includes:
splicing the first request header, the check data and the uniform resource locator, and then coding according to a preset mode to obtain a third character string;
encrypting the third character string to form a fourth character string;
judging whether the fourth character string is consistent with the second request header;
if the two are consistent, the verification is qualified.
Optionally, when the verification is qualified, responding to the service instruction includes:
when the verification is qualified, executing a light-on command, and turning on a lamp corresponding to the light-on command; and/or the presence of a gas in the gas,
when the verification is qualified, executing a printing instruction, and printing the file under the specified path through a specified printer; and/or the presence of a gas in the gas,
when the verification is qualified, executing an air conditioner instruction, and starting or closing a specified air conditioner; and/or the presence of a gas in the gas,
and when the verification is qualified, executing a door lock instruction to open or close the door lock of the specified equipment.
Optionally, the receiving a control instruction sent by the management platform includes:
the management platform receives a request instruction sent by an ERP system or a mobile terminal, and generates a control instruction after performing data processing on the request instruction;
and sending the control instruction to an equipment terminal.
Optionally, the generating a control instruction after performing data processing on the request instruction includes:
checking the request instruction;
and after the verification is qualified, performing data processing according to the request instruction to generate a control instruction.
Optionally, the receiving, by the management platform, a request instruction sent by the ERP system or the mobile terminal, and generating a control instruction after performing data processing on the request instruction includes:
the management platform receives a request instruction sent by an ERP system or a mobile terminal;
analyzing the level of the request instruction according to the request instruction;
and generating control instructions of different levels after data processing is carried out according to the level of the request instruction.
According to a second aspect of the present invention, there is provided an automatic office area equipment management apparatus including:
the system comprises a receiving unit and a processing unit, wherein the receiving unit is used for receiving a control instruction sent by a management platform, the control instruction comprises a service instruction and two http request headers, the first http request header is used for data splicing, and the second http request header is used for data comparison;
the verification unit is used for locally acquiring verification data and verifying the verification data and the two http request headers;
and the response unit is used for responding to the service instruction when the verification is qualified.
According to a third aspect, the invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the above.
According to a fourth aspect of the present invention, there is provided an electronic apparatus including: one or two processors; storage means for storing one or both programs which, when executed by the one or both processors, cause the one or both processors to carry out a method as claimed in any one of the preceding claims.
Compared with the prior art, the scheme of the embodiment of the invention at least has the following beneficial effects: the invention provides a safe and reliable management system and method by providing an automatic management method, device, medium and electronic equipment for office area equipment. By the method, the equipment in the office can be controlled in a grading way, and the automatic control management is safer due to the arrangement of the safety verification method.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can also be derived from them without inventive effort. In the drawings:
fig. 1 shows a flowchart of an office area equipment automatic management method according to an embodiment of the present invention;
fig. 2 is a diagram showing an office area equipment automatic management method architecture according to an embodiment of the present invention;
fig. 3 shows a block diagram of an office area equipment automatic management apparatus according to an embodiment of the present invention;
fig. 4 shows a schematic diagram of an electronic device connection structure according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a plurality" typically includes at least two.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, third, etc. may be used to describe … … in embodiments of the present invention, these … … should not be limited to these terms. These terms are used only to distinguish … …. For example, the first … … can also be referred to as the second … … and similarly the second … … can also be referred to as the first … … without departing from the scope of embodiments of the present invention.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that an article or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such article or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in the article or device in which the element is included.
Alternative embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Example 1
As shown in fig. 1, according to an embodiment of the present invention, the present invention provides an automatic management method for office area equipment, comprising the following steps:
step S102: and receiving a control instruction sent by the management platform, wherein the control instruction comprises a service instruction and two http request heads, the service instruction comprises a light-on instruction, a printing instruction, an air-conditioning instruction or a door lock instruction, the first http request head is used for data splicing, and the second http request head is used for data comparison.
As shown in fig. 2, the management platform may be a server that centrally receives a request command sent by a service request end such as an ERP server and a mobile terminal, and after receiving the request, the management platform may perform operations such as checking, identifying, encrypting, and sending on the request command.
The ERP service request is that after a user logs in a service system, certain operation is performed by inputting an instruction, such as printing data through the ERP system, opening an air conditioner, a lamp, a door lock or a cabinet lock of a certain area, and the like.
The user can also send a request instruction to the management platform through the mobile terminal, and the request instruction is used for printing materials, opening an air conditioner, a lamp, a door lock or a cabinet lock in a certain area and the like.
Step S104: locally acquiring verification data, and verifying through the verification data and the two http request headers;
one embodiment is that, the verifying by the verification data and the two http request headers includes: splicing the first request header and the check data, and then coding according to a preset mode to obtain a first character string; splicing the first character string with an http request body to form an intermediate character string, and encrypting the intermediate character string to form a second character string; judging whether the second character string is consistent with a second request header; if the two are consistent, the verification is qualified.
Specifically, for a Request of a post type, a service party splices an http Request header X-Request-Timestamp and a check code verify _ sto and then encodes the spliced http Request header according to a 'UTF-10' to obtain a character string B1, splices the character string B1 to an http Request body to obtain a second character string B2, encrypts the second character string B2 by using a sha1 algorithm to obtain an encrypted character string B3, verifies whether the encrypted character string B3 is consistent with another http Request header X-Signature or not, and prestores the http Request header X-Signature to the service party. If the two are consistent, the source is safe, otherwise, the two are forged.
Another embodiment is that the verifying by the verification data and the two http request headers includes: splicing the first request header, the check data and the uniform resource locator, and then coding according to a predetermined mode to obtain a third character string; encrypting the third character string to form a fourth character string; judging whether the fourth character string is consistent with the second request header; if the two are consistent, the verification is qualified.
Specifically, for the get type Request, the service side splices the http Request header X-Request-Timestamp, the check code verify _ sto, and the URL, encodes the http Request header X-Request-Timestamp, the check code verify _ sto, and the URL according to the ('UTF-10'), and sends the http Request header X-Request-Timestamp, the check code verify _ sto, and the URL to a character string B4. And encrypting the character string B4 by using a sha1 algorithm to obtain a character string B5, and checking whether the character string B5 is consistent with the http request header X-Signature by the service side. If the two are consistent, the source is safe, otherwise, the two are forged.
Step S106: and when the verification is qualified, responding to the service instruction.
Optionally, when the verification is qualified, responding to the service instruction includes: when the verification is qualified, executing a light-on command, and turning on a lamp corresponding to the light-on command; and/or the presence of a gas in the gas,
when the verification is qualified, executing a printing instruction, and printing the file under the specified path through a specified printer; and/or the presence of a gas in the gas,
when the verification is qualified, executing an air conditioner instruction, and starting or closing a specified air conditioner; and/or the presence of a gas in the gas,
and when the verification is qualified, executing a door lock instruction, and opening or closing a door lock of the specified equipment.
Optionally, the receiving the control instruction sent by the management platform includes the following steps:
step S100: the management platform receives a request instruction sent by an ERP system or a mobile terminal, and generates a control instruction after performing data processing on the request instruction; and sending the control instruction to an equipment terminal.
Optionally, the generating a control instruction after performing data processing on the request instruction includes the following sub-steps:
step S1001: and checking the request instruction.
The management platform receives a request instruction sent by the ERP server or the mobile terminal, for example, a cabinet door of a certain storage cabinet is opened, and at this time, the management platform checks the request instruction and judges whether the request instruction is a legal request instruction. Such as whether the requested task is an executable instruction; for example, if the safe box opening instruction is requested, but the platform cannot execute the request instruction, the safe box opening instruction is directly judged to be an illegal instruction; for another example, if the request path is illegal, the user whose execution is allowed by the non-local lan or IP address is determined to be an illegal command.
Step S1002: and after the verification is qualified, performing data processing according to the request instruction to generate a control instruction.
And after the verification is qualified, loading a preset request head according to the request type of the request instruction, and then forming a control instruction and sending the control instruction to the terminal.
Optionally, the step of receiving, by the management platform, a request instruction sent by the ERP system or the mobile terminal, and generating a control instruction after performing data processing on the request instruction includes the following substeps:
step S1003: and the management platform receives a request instruction sent by the ERP system or the mobile terminal.
Step S1004: and analyzing the level of the request instruction according to the request instruction.
After determining that the request command is legal, one embodiment determines the level of the request command. For example, the levels can be divided into three levels, the first level can only open the storage cabinets of the first level, the second level can open the storage cabinets in a certain area, and the third level can open the storage cabinets in the whole area. And after a legal request instruction is received, judging which level belongs to, and opening different cabinet doors according to the level.
Step S1005: and generating control instructions of different levels after data processing is carried out according to the level of the request instruction.
The invention can control the equipment in the office in a grading way by providing the automatic management method for the equipment in the office area, and the automatic control management is safer due to the arrangement of the safety verification method.
Example 2
As shown in fig. 3, according to an embodiment of the present invention, there is provided an office area equipment automatic management apparatus including:
the receiving unit 302: and receiving a control instruction sent by the management platform, wherein the control instruction comprises a service instruction and two http request heads, the service instruction comprises a light-on instruction, a printing instruction, an air-conditioning instruction or a door lock instruction, the first http request head is used for data splicing, and the second http request head is used for data comparison.
As shown in fig. 2, the management platform may be a server that centrally receives a request command sent by a service request end, such as an ERP server or a mobile terminal, and after receiving the request, the management platform may perform operations such as verification, identification, encryption, sending, and the like on the request command.
The ERP service request is that after a user logs in a service system, certain operation is performed by inputting an instruction, such as printing data through the ERP system, opening an air conditioner, a lamp, a door lock or a cabinet lock of a certain area, and the like.
The user can also send a request instruction to the management platform through the mobile terminal, and the request instruction is used for printing materials, opening an air conditioner, a lamp, a door lock or a cabinet lock in a certain area and the like.
The verification unit 304: locally acquiring verification data, and verifying through the verification data and the two http request headers;
one embodiment is that, the verifying by the verification data and the two http request headers includes: after the first request head and the check data are spliced, coding according to a preset mode to obtain a first character string; splicing the first character string with an http request body to form an intermediate character string, and encrypting the intermediate character string to form a second character string; judging whether the second character string is consistent with a second request header; if the two are consistent, the verification is qualified.
Specifically, for a Request of a post type, a service party splices an http Request header X-Request-Timestamp and a check code verify _ sto and then encodes the spliced http Request header according to a 'UTF-10' to obtain a character string B1, splices the character string B1 to an http Request body to obtain a second character string B2, encrypts the second character string B2 by using a sha1 algorithm to obtain an encrypted character string B3, verifies whether the encrypted character string B3 is consistent with another http Request header X-Signature or not, and prestores the http Request header X-Signature to the service party. If the two are consistent, the source is safe, otherwise, the two are forged.
Another embodiment is that the checking by the check data and the two http request headers includes: splicing the first request header, the check data and the uniform resource locator, and then coding according to a preset mode to obtain a third character string; encrypting the third character string to form a fourth character string; judging whether the fourth character string is consistent with the second request header; if the two are consistent, the verification is qualified.
Specifically, for the get type Request, the service side splices the http Request header X-Request-Timestamp, the check code verify _ sto, and the URL, encodes the http Request header X-Request-Timestamp, the check code verify _ sto, and the URL according to the ('UTF-10'), and sends the http Request header X-Request-Timestamp, the check code verify _ sto, and the URL to a character string B4. And encrypting the character string B4 by using a sha1 algorithm to obtain a character string B5, and checking whether the character string B5 is consistent with the http request header X-Signature by the service party. If the two are consistent, the source is safe, otherwise, the two are forged.
The response unit 306: and when the verification is qualified, responding to the service instruction.
Optionally, when the verification is qualified, responding to the service instruction includes: when the verification is qualified, executing a light-on command, and turning on a lamp corresponding to the light-on command; and/or the presence of a gas in the atmosphere,
when the verification is qualified, executing a printing instruction, and printing the file under the designated path through a designated printer; and/or the presence of a gas in the gas,
when the verification is qualified, executing an air conditioner instruction, and starting or closing a specified air conditioner; and/or the presence of a gas in the gas,
and when the verification is qualified, executing a door lock instruction to open or close the door lock of the specified equipment.
Optionally, the receiving a control instruction sent by the management platform includes:
request unit (not shown): the method comprises the following steps that a management platform receives a request instruction sent by an ERP system or a mobile terminal, and generates a control instruction after performing data processing on the request instruction; and sending the control instruction to an equipment terminal.
Optionally, the generating a control instruction after performing data processing on the request instruction includes:
first, the request instruction is verified.
The management platform receives a request instruction sent by the ERP server or the mobile terminal, for example, a cabinet door of a certain storage cabinet is opened, and at this time, the management platform checks the request instruction and judges whether the request instruction is a legal request instruction. Such as whether the requested task is an executable instruction; for example, if the safe box command is requested to be opened, but the platform cannot execute the request command, the platform directly judges the command to be an illegal command; for another example, if the request path is illegal, the user whose execution is allowed by the non-local lan or IP address is determined to be an illegal command.
Secondly, after the verification is qualified, data processing is carried out according to the request instruction, and then a control instruction is generated.
And when the verification is qualified, loading a preset request header according to the request type of the request instruction, and then forming a control instruction and sending the control instruction to the terminal.
Optionally, the receiving, by the management platform, a request instruction sent by the ERP system or the mobile terminal, and generating a control instruction after performing data processing on the request instruction includes:
1. the management platform receives a request instruction sent by an ERP system or a mobile terminal;
2. and analyzing the level of the request instruction according to the request instruction.
After determining that the request command is legal, one embodiment determines the level of the request command. For example, the levels can be divided into three levels, the first level can only open the storage cabinets of the first level, the second level can open the storage cabinets in a certain area, and the third level can open the storage cabinets in the whole area. And after a legal request instruction is received, judging which level belongs to, and opening different cabinet doors according to the level.
3. And generating control instructions of different levels after data processing is carried out according to the level of the request instruction.
The invention can control the equipment in the office in a grading way by providing the automatic management device for the equipment in the office area, and the automatic control management is safer due to the arrangement of the safety verification method.
Example 3
As shown in fig. 4, an embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the one processor to cause the at least one processor to perform the method steps of the above embodiments.
Example 4
Embodiments of the present invention provide a non-volatile computer storage medium, where computer-executable instructions are stored, and the computer-executable instructions may perform the method steps described in the above embodiments.
Example 5
Referring now to FIG. 4, a block diagram of an electronic device 400 suitable for use in implementing embodiments of the present invention is shown. The terminal device in the embodiments of the present invention may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 4, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 406. An input/output (I/O) interface 406 is also connected to bus 406.
Generally, the following devices may be connected to the I/O interface 406: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 406 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, or the like; storage devices 408 including, for example, magnetic tape, hard disk, etc.; and a communication device 406. The communication means 406 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as a computer software program. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed via the communication device 406, or installed from the storage device 408, or installed from the ROM 402. The computer program performs the above-described functions defined in the methods of embodiments of the invention when executed by the processing apparatus 401.
It should be noted that the computer readable medium of the present invention may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium can be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or two wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be included in the electronic device or may exist separately without being incorporated in the electronic device.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the C language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer or to an external computer (e.g., through the Internet) by any means, including a Local Area Network (LAN) or a Wide Area Network (WAN).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or two executable instructions for implementing the specified logical function(s). It should be noted, however, that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
Claims (6)
1. An office area equipment automatic management method is characterized by comprising the following steps:
receiving a control instruction sent by a management platform, wherein the control instruction comprises a service instruction and two http request heads, the service instruction comprises a light-on instruction, a printing instruction, an air-conditioning instruction or a door lock instruction, the first http request head is used for data splicing, and the second http request head is used for data comparison;
locally acquiring verification data, and verifying through the verification data and the two http request headers;
when the verification is qualified, responding to the service instruction;
the verifying by the verification data and the two http request headers includes:
splicing the first http request header and the check data, and coding according to a predetermined mode to obtain a first character string;
splicing the first character string and an http request body to form an intermediate character string, and encrypting the intermediate character string to form a second character string;
judging whether the second character string is consistent with a second http request header or not;
if the two are consistent, the verification is qualified;
the receiving of the control instruction sent by the management platform includes: the management platform receives a request instruction sent by an ERP system or a mobile terminal, and generates a control instruction after performing data processing on the request instruction; sending the control instruction to an equipment terminal;
the management platform receives a request instruction sent by an ERP system or a mobile terminal, performs data processing on the request instruction and generates a control instruction, and the method comprises the following steps: the management platform receives a request instruction sent by an ERP system or a mobile terminal; analyzing the level of the request instruction according to the request instruction; and generating control instructions of different levels after data processing is carried out according to the level of the request instruction.
2. An office area equipment automatic management method is characterized by comprising the following steps:
receiving a control instruction sent by a management platform, wherein the control instruction comprises a service instruction and two http request heads, the service instruction comprises a light-on instruction, a printing instruction, an air-conditioning instruction or a door lock instruction, the first http request head is used for data splicing, and the second http request head is used for data comparison;
locally acquiring verification data, and verifying through the verification data and the two http request headers;
when the verification is qualified, responding to the service instruction;
the verifying by the verification data and the two http request headers includes:
splicing the first http request header, the check data and the uniform resource locator, and coding according to a predetermined mode to obtain a third character string;
encrypting the third character string to form a fourth character string;
judging whether the fourth character string is consistent with the second http request header;
if the two are consistent, the verification is qualified;
the receiving of the control instruction sent by the management platform includes: the management platform receives a request instruction sent by an ERP system or a mobile terminal, and generates a control instruction after performing data processing on the request instruction; sending the control instruction to an equipment terminal;
the management platform receives a request instruction sent by an ERP system or a mobile terminal, performs data processing on the request instruction and generates a control instruction, and the method comprises the following steps: the management platform receives a request instruction sent by an ERP system or a mobile terminal; analyzing the level of the request instruction according to the request instruction; and generating control instructions of different levels after data processing is carried out according to the level of the request instruction.
3. The method of claim 1 or 2, wherein said responding to said service instruction when said check is passed comprises:
when the verification is qualified, executing a light-on command, and turning on a lamp corresponding to the light-on command; and/or the presence of a gas in the gas,
when the verification is qualified, executing a printing instruction, and printing the file under the specified path through a specified printer; and/or the presence of a gas in the atmosphere,
when the verification is qualified, executing an air conditioner instruction, and starting or closing a specified air conditioner; and/or the presence of a gas in the gas,
and when the verification is qualified, executing a door lock instruction to open or close the door lock of the specified equipment.
4. The method of claim 3, wherein generating a control instruction after data processing the request instruction comprises:
checking the request instruction;
and after the verification is qualified, performing data processing according to the request instruction to generate a control instruction.
5. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 4.
6. An electronic device, comprising:
one or two processors;
storage means for storing one or both programs which, when executed by the one or both processors, cause the one or both processors to carry out the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910830445.5A CN110673491B (en) | 2019-09-02 | 2019-09-02 | Office area equipment automatic management method, office area equipment automatic management device, office area equipment automatic management medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910830445.5A CN110673491B (en) | 2019-09-02 | 2019-09-02 | Office area equipment automatic management method, office area equipment automatic management device, office area equipment automatic management medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110673491A CN110673491A (en) | 2020-01-10 |
CN110673491B true CN110673491B (en) | 2022-07-05 |
Family
ID=69076300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910830445.5A Active CN110673491B (en) | 2019-09-02 | 2019-09-02 | Office area equipment automatic management method, office area equipment automatic management device, office area equipment automatic management medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110673491B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006100581A2 (en) * | 2005-03-24 | 2006-09-28 | Arti Grafiche Julia S.P.A. | System and method for the analysis of security strings to be associated to goods such as products or services |
CN101061471A (en) * | 2004-09-24 | 2007-10-24 | 数据质量解决有限公司 | Business process management system and method |
CN101626293A (en) * | 2008-07-09 | 2010-01-13 | 上海格尔软件股份有限公司 | Method for encryption protection and decryption of data |
US7921450B1 (en) * | 2001-12-12 | 2011-04-05 | Klimenty Vainstein | Security system using indirect key generation from access rules and methods therefor |
CN104580185A (en) * | 2014-12-30 | 2015-04-29 | 北京工业大学 | Method and system for network access control |
WO2016026382A1 (en) * | 2014-08-19 | 2016-02-25 | 阿里巴巴集团控股有限公司 | Password setting method, apparatus and system |
CN106506552A (en) * | 2016-12-28 | 2017-03-15 | 北京奇艺世纪科技有限公司 | A kind of HTTP request transmission method and device |
WO2017071498A1 (en) * | 2015-10-26 | 2017-05-04 | 腾讯科技(深圳)有限公司 | Identity authentication method and device |
CN109327511A (en) * | 2018-09-18 | 2019-02-12 | 网宿科技股份有限公司 | A kind of data request method and server based on http protocol |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050146744A1 (en) * | 2004-01-07 | 2005-07-07 | Mcallister Timothy | Mobile-device print system and methods for remote printing |
JP4614392B2 (en) * | 2005-08-09 | 2011-01-19 | キヤノン株式会社 | Information processing apparatus, control method therefor, computer program, and computer-readable storage medium |
US8938067B2 (en) * | 2009-10-30 | 2015-01-20 | Voltage Security, Inc. | Format preserving encryption methods for data strings with constraints |
US8593659B2 (en) * | 2011-06-28 | 2013-11-26 | Konica Minolta Laboratory U.S.A., Inc. | System and method for third party authentication of web-based print-on-demand requests |
CA2938437A1 (en) * | 2014-01-31 | 2015-08-06 | Quick Response Lifescan, Llc | System and method for communicating protected health information |
JP2016174313A (en) * | 2015-03-17 | 2016-09-29 | 株式会社リコー | Transmission system, transmission terminal, method, and program |
-
2019
- 2019-09-02 CN CN201910830445.5A patent/CN110673491B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7921450B1 (en) * | 2001-12-12 | 2011-04-05 | Klimenty Vainstein | Security system using indirect key generation from access rules and methods therefor |
CN101061471A (en) * | 2004-09-24 | 2007-10-24 | 数据质量解决有限公司 | Business process management system and method |
WO2006100581A2 (en) * | 2005-03-24 | 2006-09-28 | Arti Grafiche Julia S.P.A. | System and method for the analysis of security strings to be associated to goods such as products or services |
CN101626293A (en) * | 2008-07-09 | 2010-01-13 | 上海格尔软件股份有限公司 | Method for encryption protection and decryption of data |
WO2016026382A1 (en) * | 2014-08-19 | 2016-02-25 | 阿里巴巴集团控股有限公司 | Password setting method, apparatus and system |
CN104580185A (en) * | 2014-12-30 | 2015-04-29 | 北京工业大学 | Method and system for network access control |
WO2017071498A1 (en) * | 2015-10-26 | 2017-05-04 | 腾讯科技(深圳)有限公司 | Identity authentication method and device |
CN106506552A (en) * | 2016-12-28 | 2017-03-15 | 北京奇艺世纪科技有限公司 | A kind of HTTP request transmission method and device |
CN109327511A (en) * | 2018-09-18 | 2019-02-12 | 网宿科技股份有限公司 | A kind of data request method and server based on http protocol |
Non-Patent Citations (3)
Title |
---|
佘新荷等.基于IPC/RDP模式的安全办公系统的设计与实现.《信息技术》.2010,(第06期),全文. * |
徐洪军等.机关办公自动化系统的设计与实现.《民营科技》.2018,(第09期),全文. * |
金华等.基于照明能耗的分级节能控制策略的研究.《延边大学学报(自然科学版)》.2017,(第01期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN110673491A (en) | 2020-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110414268B (en) | Access control method, device, equipment and storage medium | |
US7672483B2 (en) | Controlling and customizing access to spatial information | |
CN106778291B (en) | The partition method and isolating device of application program | |
US20130127591A1 (en) | Secure facilities access | |
CN107528830B (en) | Account login method, system and storage medium | |
US20140230040A1 (en) | Validation of Service Management Requests of a Mobile Device in a Geographically Bounded Space | |
CN112182635B (en) | Method, device, equipment and medium for realizing joint modeling | |
WO2020233062A1 (en) | Data processing method and apparatus for logistics goods distribution | |
CN115102744B (en) | Data access method and device | |
CN111447176A (en) | Method and device for safely accessing external network by internal network, computer equipment and storage medium | |
CN110941845A (en) | File acquisition method and device, computer equipment and storage medium | |
CN114640533B (en) | Method and device for transmitting message, storage medium and electronic equipment | |
US10097999B2 (en) | Satisfying virtual machine security criteria using remote sensor devices | |
CN110545542A (en) | Main control key downloading method and device based on asymmetric encryption algorithm and computer equipment | |
CN110135807A (en) | Electronic contract signs method, system, medium and electronic equipment | |
CN110673491B (en) | Office area equipment automatic management method, office area equipment automatic management device, office area equipment automatic management medium and electronic equipment | |
CN115277197B (en) | Model ownership verification method, electronic device, medium and program product | |
CN115906109A (en) | Data auditing method and device and storage medium | |
CN104021076B (en) | Application testing method and router | |
CN116630011A (en) | Customer verification method, system, electronic equipment and storage medium | |
CN113596600B (en) | Security management method, device, equipment and storage medium for live broadcast embedded program | |
CN114386113A (en) | Read-write control method, device and equipment for mobile storage equipment and storage medium | |
CN110851185A (en) | Automatic configuration method and device for equipment, electronic equipment and storage medium | |
CN113641966B (en) | Application integration method, system, equipment and medium | |
CN111953637A (en) | Application service method and device |
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 |