[go: up one dir, main page]

CN110083354A - A kind of graphical interfaces document generating method and device - Google Patents

A kind of graphical interfaces document generating method and device Download PDF

Info

Publication number
CN110083354A
CN110083354A CN201910343525.8A CN201910343525A CN110083354A CN 110083354 A CN110083354 A CN 110083354A CN 201910343525 A CN201910343525 A CN 201910343525A CN 110083354 A CN110083354 A CN 110083354A
Authority
CN
China
Prior art keywords
content
script
pel
graphical interfaces
different product
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
CN201910343525.8A
Other languages
Chinese (zh)
Other versions
CN110083354B (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.)
Zhongkong Technology Co ltd
Original Assignee
Zhejiang Supcon 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 Zhejiang Supcon Technology Co Ltd filed Critical Zhejiang Supcon Technology Co Ltd
Priority to CN201910343525.8A priority Critical patent/CN110083354B/en
Publication of CN110083354A publication Critical patent/CN110083354A/en
Application granted granted Critical
Publication of CN110083354B publication Critical patent/CN110083354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

This application provides a kind of graphical interfaces document generating method and devices, method includes: in different product softwares, for target pel, same graph primitive Description standard is respectively adopted and generates pel content, and same script Description standard is respectively adopted and generates and the associated content for script of pel content;Respectively by based on the pel content generated in different product softwares and content for script preservation, graphical interfaces file is obtained.In this application, the graphical interfaces that can identify other side between different product softwares mutually may be implemented in the above manner.

Description

A kind of graphical interfaces document generating method and device
Technical field
This application involves field of automation technology, in particular to a kind of graphical interfaces document generating method and device.
Background technique
It typically is provided with the processing function of industrial automation graphical interfaces in industrial products software, e.g., draws, storage, exhibition Existing graphical interfaces.
There may be the demands of the graphical interfaces of mutual identification other side between different product softwares, but how to realize not With the graphical interfaces for identifying other side between product software mutually, become problem.
Summary of the invention
In order to solve the above technical problems, the embodiment of the present application provides a kind of graphical interfaces document generating method and device, with Achieve the purpose that realize the graphical interfaces that can identify other side between different product softwares mutually, technical solution is as follows:
A kind of graphical interfaces document generating method, comprising:
In different product softwares, for target pel, same graph primitive Description standard generation figure is respectively adopted First content, and same script Description standard is respectively adopted and generates and the associated content for script of pel content;
Respectively by based on the pel content generated in the different product softwares and content for script preservation, figure is obtained Interface file.
Preferably, described to be protected respectively based on the pel content generated in the different product softwares and content for script It deposits, obtains graphical interfaces file, comprising:
Pel content encryption algorithm and content for script Encryption Algorithm are obtained from the different product softwares respectively;
It is utilized respectively the pel content encryption algorithm obtained from the different product softwares, in corresponding product software The pel content of middle generation is encrypted, and encryption pel content is obtained;
It is utilized respectively the content for script Encryption Algorithm obtained from the different product softwares, in corresponding product software The content for script of middle generation is encrypted, and encryption content for script is obtained;
It is based respectively on the pel content generated in the different product softwares and content for script, generates digital signature, And it is respectively that the pel content encryption algorithm, the content for script Encryption Algorithm and the digital signature write-in corresponding product is soft Graphical interfaces the file information in part, the graphical interfaces the file information in the different product softwares are all made of same figure Interface file information Description standard generates;
It respectively will be based on the encryption pel content in the different product softwares, encryption content for script and comprising in pel The graphical interfaces the file information for holding Encryption Algorithm, content for script Encryption Algorithm and digital signature saves, and obtains graphical interfaces file.
Preferably, the same graph primitive Description standard is to be retouched using the same graph primitive that JSON language is write State specification;
The same script Description standard is the same script Description standard write using BSON language.
Preferably, the same graph primitive Description standard is to be retouched using the same graph primitive that BSON language is write State specification;
The same script Description standard is the same script Description standard write using BSON language.
Preferably, described to be protected respectively based on the pel content generated in the different product softwares and content for script It deposits, obtains graphical interfaces file, comprising:
It is based respectively on the pel content generated in the different product softwares, generates the pel content of BSON format;
Respectively by based on the BSON format generated in the different product softwares pel content and content for script protect It deposits, obtains graphical interfaces file.
A kind of graphical interfaces file creating apparatus, comprising:
Generation module, for for target pel, same graph primitive being respectively adopted and retouches in different product softwares It states specification and generates pel content, and be respectively adopted in same script Description standard generation and the associated script of pel content Hold;
Preserving module, for respectively will be based on the pel content and content for script generated in the different product softwares It saves, obtains graphical interfaces file.
Preferably, the preserving module, comprising:
Acquisition submodule, for being obtained in pel content encryption algorithm and script from the different product softwares respectively Hold Encryption Algorithm;
First encryption submodule is calculated for being utilized respectively the pel content-encrypt obtained from the different product softwares Method encrypts the pel content generated in corresponding product software, obtains encryption pel content;
Second encryption submodule is calculated for being utilized respectively the content for script obtained from the different product softwares encryption Method encrypts the content for script generated in corresponding product software, obtains encryption content for script;
First generates submodule, for being based respectively on the pel content generated in the different product softwares and script Content generates digital signature, and respectively by the pel content encryption algorithm, the content for script Encryption Algorithm and the number The graphical interfaces the file information in corresponding product software is written in signature, the graphical interfaces file letter in the different product softwares Breath is all made of same graphical interfaces the file information Description standard and generates;
First save submodule, for respectively will based in the different product softwares encryption pel content, encryption Content for script and graphical interfaces the file information comprising pel content encryption algorithm, content for script Encryption Algorithm and digital signature are protected It deposits, obtains graphical interfaces file.
Preferably, the same graph primitive Description standard is to be retouched using the same graph primitive that JSON language is write State specification;
The same script Description standard is the same script Description standard write using BSON language.
Preferably, the same graph primitive Description standard is to be retouched using the same graph primitive that BSON language is write State specification;
The same script Description standard is the same script Description standard write using BSON language.
Preferably, the preserving module, comprising:
Second generates submodule, for being based respectively on the pel content generated in the different product softwares, generates The pel content of BSON format;
Second saves submodule, for respectively by the figure based on the BSON format generated in the different product softwares First content and content for script save, and obtain graphical interfaces file.
Compared with prior art, the application has the beneficial effect that
In this application, based on using identical Description standard to describe in pel perhaps script in different product softwares The principle of content generates perhaps content for script in pel, realizes the figure that can identify other side mutually in different product softwares First content and content for script guarantee based on the pel content and content for script generation in different product software on this basis Graphical interfaces file can be identified in different product softwares, realizing can identify mutually between different product softwares The graphical interfaces of other side.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of flow chart of graphical interfaces document generating method provided by the present application;
Fig. 2 is the flow chart of another graphical interfaces document generating method provided by the present application;
Fig. 3 is the flow chart of another graphical interfaces document generating method provided by the present application;
Fig. 4 is the flow chart of another graphical interfaces document generating method provided by the present application;
Fig. 5 is the flow chart of another graphical interfaces document generating method provided by the present application;
Fig. 6 is the flow chart of another graphical interfaces document generating method provided by the present application;
Fig. 7 is a kind of logical construction schematic diagram of graphical interfaces file creating apparatus provided by the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The embodiment of the present application discloses a kind of graphical interfaces document generating method, comprising: in different product softwares, needle To target pel, same graph primitive Description standard is respectively adopted and generates pel content, and same script is respectively adopted and retouches Specification is stated to generate and the associated content for script of pel content;It respectively will be based on generating in the different product softwares Pel content and content for script save, and obtain graphical interfaces file.In this application, it may be implemented between different product softwares The graphical interfaces of other side can be identified mutually.
Next graphical interfaces document generating method disclosed in the embodiment of the present application is introduced, as shown in Figure 1, it is A kind of flow chart of graphical interfaces document generating method embodiment 1 provided by the present application, this method are applied to a computer equipment, Method includes the following steps:
Step S11, in different product softwares, for target pel, same graph primitive description rule are respectively adopted Model generates pel content, and same script Description standard is respectively adopted and generates and the associated content for script of pel content.
In different product softwares, it may be applied to identical graph primitive, identical graph primitive can be used as Target pel, e.g., one or more of round pel and rectangular element
Pel content, it can be understood as the description information of target pel, e.g., the attribute information of target pel is (e.g., several What attribute, animation attributes, interaction attributes and custom attributes).
With the associated content for script of pel content, it is possible to understand that are as follows: description target pel movement and function it is interior Hold.
In different product softwares, for target pel, same graph primitive Description standard generation figure is respectively adopted First content, and same script Description standard generation and the associated content for script of pel content is respectively adopted, it realizes In different product softwares, for target pel, pel content is generated using identical graph primitive Description standard, and use phase Same script Description standard generates and the associated content for script of pel content.
Preferably, between different product softwares, a graph primitive Description standard can be negotiated, as same figure Pel Description standard, and negotiate a script Description standard, as same script Description standard.
Same graph primitive Description standard, it is possible to understand that are as follows: the same description negotiated between different product softwares The specification of the attribute information of graph primitive.
It should be noted that the present embodiment is not intended to limit the language for writing same graph primitive Description standard.
Same script Description standard, it is possible to understand that are as follows: the same description figure negotiated between different product softwares The movement of pel and the specification of function.
The present embodiment is not intended to limit the language for writing same script Description standard.
Step S12, it will be saved respectively based on the pel content generated in the different product softwares and content for script, Obtain graphical interfaces file.
It, respectively will be based on the pel content generated in the different product softwares and content for script guarantor in the present embodiment The file for preserving pel content and content for script in one file is deposited as graphical interfaces file.
In this application, based on using identical Description standard to describe in pel perhaps script in different product softwares The principle of content generates perhaps content for script in pel, realizes the figure that can identify other side mutually in different product softwares First content and content for script guarantee based on the pel content and content for script generation in different product software on this basis Graphical interfaces file can be identified in different product softwares, realizing can identify mutually between different product softwares The graphical interfaces of other side.
As another alternative embodiment of the application, referring to Fig. 2, for a kind of graphical interfaces file generated side provided by the present application The flow diagram of method embodiment 2, the present embodiment are mainly the graphical interfaces document generating method described to above-described embodiment 1 Refinement scheme, as shown in Fig. 2, this method may include but be not limited to following steps:
Step S21, in different product softwares, for target pel, same graph primitive description rule are respectively adopted Model generates pel content, and same script Description standard is respectively adopted and generates and the associated content for script of pel content.
The detailed process of step S21 may refer to the related introduction of step S11 in embodiment 1, and details are not described herein.
Step S22, pel content encryption algorithm and content for script encryption are obtained from the different product softwares respectively Algorithm.
Step S23, it is utilized respectively the pel content encryption algorithm obtained from the different product softwares, in correspondence The pel content generated in product software is encrypted, and encryption pel content is obtained.
In the present embodiment, using pel content encryption algorithm, pel content is encrypted, pel content can be improved Confidentiality.
It now illustrates to the pel content encryption algorithm obtained from the different product softwares is utilized respectively, in correspondence The pel content generated in product software is encrypted, and is obtained encryption pel content and is introduced, for example, different product softwares Respectively product software A, B and C obtains pel content encryption algorithm a from product software A, utilizes pel content encryption algorithm a The pel content generated in product software A is encrypted;Pel content encryption algorithm b is obtained from product software B, utilizes figure First content encryption algorithm b encrypts the pel content generated in product software B;Pel content is obtained from product software C Encryption Algorithm c encrypts the pel content generated in product software C using pel content encryption algorithm c.
Step S24, it is utilized respectively the content for script Encryption Algorithm obtained from the different product softwares, in correspondence The content for script generated in product software is encrypted, and encryption content for script is obtained.
In the present embodiment, using content for script Encryption Algorithm, content for script is encrypted, content for script can be improved Confidentiality.
It now illustrates to the content for script Encryption Algorithm obtained from the different product softwares is utilized respectively, in correspondence The content for script generated in product software is encrypted, and is obtained encryption content for script and is introduced, for example, different product softwares Respectively product software A, B and C obtains content for script Encryption Algorithm a from product software A, utilizes content for script Encryption Algorithm a The content for script generated in product software A is encrypted;Content for script Encryption Algorithm b is obtained from product software B, utilizes foot This content encryption algorithm b encrypts the content for script generated in product software B;Content for script is obtained from product software C Encryption Algorithm c encrypts the content for script generated in product software C using content for script Encryption Algorithm c.
Step S25, it is based respectively on the pel content generated in the different product softwares and content for script, generates number Word signature, and respectively by the write-in pair of the pel content encryption algorithm, the content for script Encryption Algorithm and the digital signature The graphical interfaces the file information in product software is answered, the graphical interfaces the file information in the different product softwares is all made of together A kind of graphical interfaces the file information Description standard generation.
Same graphical interfaces the file information Description standard, it is possible to understand that are as follows: that negotiates between different product softwares is same A kind of specification describing graphical interfaces the file information.
Pel content encryption algorithm and content for script Encryption Algorithm in graphical interfaces the file information can be used for showing mould The content of encryption is decrypted in block, and pel is shown in interface.
It is based respectively on the encrypted content generated in the different product softwares and content for script, generates digital signature, The tamper-resistance of pel content and content for script can be improved.
It now illustrates to the pel content generated in the different product softwares and content for script is based respectively on, generates number Word signature, and respectively by the write-in pair of the pel content encryption algorithm, the content for script Encryption Algorithm and the digital signature Answer the graphical interfaces the file information in product software to be introduced, for example, different product softwares be respectively product software A, B and C generates digital signature a1 based on the product software A pel content generated and content for script, will be in the pel in product software A Hold the graphical interfaces the file information in Encryption Algorithm a2, content for script Encryption Algorithm a3 and digital signature a1 write-in product software A; Based on the product software B pel content generated and content for script, digital signature b1 is generated, by the pel content in product software B The graphical interfaces the file information in product software B is written in Encryption Algorithm b2, content for script Encryption Algorithm b3 and digital signature b1;Base In the product software C pel content generated and content for script, digital signature c is generated, by the pel content-encrypt in product software C The graphical interfaces the file information in product software C is written in algorithm c2, content for script Encryption Algorithm c3 and digital signature c1.
It step S26, respectively will be based on encryption pel content, encryption content for script and the packet in the different product softwares The graphical interfaces the file information of content encryption algorithm containing pel, content for script Encryption Algorithm and digital signature saves, and obtains figure Interface file.
It, respectively will be based on the encryption pel content in the different product softwares, encryption content for script in the present embodiment And the graphical interfaces the file information comprising pel content encryption algorithm, content for script Encryption Algorithm and digital signature is stored in one In file, encryption pel content, encryption content for script are preserved and comprising pel content encryption algorithm, content for script Encryption Algorithm And the file of the graphical interfaces the file information of digital signature is as graphical interfaces file.
As another alternative embodiment of the application, referring to Fig. 3, for a kind of graphical interfaces file generated side provided by the present application The flow diagram of method embodiment 3, the present embodiment are mainly the graphical interfaces document generating method described to above-described embodiment 1 Refinement scheme, as shown in figure 3, this method may include but be not limited to following steps:
Step S31, in different product softwares, for target pel, be respectively adopted write using JSON language it is same A kind of graph primitive Description standard generation pel content, and the same script description rule write using BSON language are respectively adopted Model generates and the associated content for script of pel content.
In the present embodiment, write using JSON (JavaScript Object Notation, JS object numbered musical notation) language Graph primitive Description standard generates pel content, can promote the readability, maintainability and scalability of pel content.
It is generated using the script Description standard that BSON (Binary Serialized Document Format) language is write With the associated content for script of pel content, the size that content for script occupies memory space can be reduced.
Step S32, it will be saved respectively based on the pel content generated in the different product softwares and content for script, Obtain graphical interfaces file.
It is generated and the associated content for script of pel content, reduction in the script Description standard write using BSON language On the basis of content for script occupies the size of memory space, the size that graphical interfaces file occupies memory space can be reduced.
As another alternative embodiment of the application, referring to Fig. 4, for a kind of graphical interfaces file generated side provided by the present application The flow diagram of method embodiment 4, the present embodiment are mainly the graphical interfaces document generating method described to above-described embodiment 3 Refinement scheme, as shown in figure 4, this method may include but be not limited to following steps:
Step S41, in different product softwares, for target pel, be respectively adopted write using JSON language it is same A kind of graph primitive Description standard generation pel content, and the same script description rule write using BSON language are respectively adopted Model generates and the associated content for script of pel content.
The detailed process of step S41 may refer to the related introduction of step S31 in embodiment 3, and details are not described herein.
Step S42, it is based respectively on the pel content generated in the different product softwares, generates the figure of BSON format First content.
It is based respectively on the pel content generated in the different product softwares, generates the pel content of BSON format, The size that pel content occupies memory space can be reduced.
Step S43, respectively by pel content and foot based on the BSON format generated in the different product softwares This content saves, and obtains graphical interfaces file.
On the basis of the size and content for script for reducing pel content occupancy memory space occupy the size of memory space, The size that graphical interfaces file occupies memory space can be further decreased.
As another alternative embodiment of the application, referring to Fig. 5, for a kind of graphical interfaces file generated side provided by the present application The flow diagram of method embodiment 5, the present embodiment are mainly the graphical interfaces document generating method described to above-described embodiment 1 Refinement scheme, as shown in figure 5, this method may include but be not limited to following steps:
Step S51, in different product softwares, for target pel, be respectively adopted write using BSON language it is same A kind of graph primitive Description standard generation pel content, and the same script description rule write using BSON language are respectively adopted Model generates and the associated content for script of pel content.
In the present embodiment, pel content is generated using the graph primitive Description standard that BSON language is write, figure can be reduced First content occupies the size of memory space.
The script Description standard generation write using BSON language and the associated content for script of pel content, can drop Low content for script occupies the size of memory space.
Step S52, it will be saved respectively based on the pel content generated in the different product softwares and content for script, Obtain graphical interfaces file.
Pel content is generated in the graph primitive Description standard write using BSON language, pel content is reduced and occupies storage The size in space and the script Description standard write using BSON language are generated and the associated content for script of pel content, drop On the basis of low content for script occupies the size of memory space, the size that graphical interfaces file occupies memory space can be reduced.
As another alternative embodiment of the application, referring to Fig. 6, for a kind of graphical interfaces file generated side provided by the present application The flow diagram of method embodiment 6, the present embodiment are mainly the graphical interfaces document generating method described to above-described embodiment 1 Refinement scheme, as shown in fig. 6, this method may include but be not limited to following steps:
Step S61, in different product softwares, for target pel, same graph primitive description rule are respectively adopted Model generates pel content, and same script Description standard generation and the associated content for script of pel content is respectively adopted, And it is generated and the associated image content of pel content using same picture Description standard.
In the present embodiment, at graphing interface, in addition to target pel can be used, it is also possible to will use except target pel Except exterior artwork, it is raw using same picture Description standard in the case where detecting the picture with target figure element At with the associated image content of pel content.
Script Description standard and picture Description standard can be write using identical language, such as BSON language.Using BSON language writes script Description standard and picture Description standard, can reduce content for script and image content occupies memory space Size.
It step S62, respectively will be based on pel content, content for script and the picture generated in the different product softwares Content saves, and obtains graphical interfaces file.
In the present embodiment, respectively by based on generated in the different product softwares pel content, content for script and Image content saves in one file, preserves the file of pel content, content for script and image content as graphical interfaces File.
Next graphical interfaces document generating method provided by the embodiments of the present application is introduced, the figure being introduced below Interface file generating means can correspond to each other reference with graphical interfaces file creating apparatus described above.
Fig. 7 is referred to, graphical interfaces file creating apparatus includes: generation module 11 and preserving module 12.
Generation module, for for target pel, same graph primitive being respectively adopted and retouches in different product softwares It states specification and generates pel content, and be respectively adopted in same script Description standard generation and the associated script of pel content Hold;
Preserving module, for respectively will be based on the pel content and content for script generated in the different product softwares It saves, obtains graphical interfaces file.
In the present embodiment, preserving module may include:
Acquisition submodule, for being obtained in pel content encryption algorithm and script from the different product softwares respectively Hold Encryption Algorithm;
First encryption submodule is calculated for being utilized respectively the pel content-encrypt obtained from the different product softwares Method encrypts the pel content generated in corresponding product software, obtains encryption pel content;
Second encryption submodule is calculated for being utilized respectively the content for script obtained from the different product softwares encryption Method encrypts the content for script generated in corresponding product software, obtains encryption content for script;
First generates submodule, for being based respectively on the pel content generated in the different product softwares and script Content generates digital signature, and respectively by the pel content encryption algorithm, the content for script Encryption Algorithm and the number The graphical interfaces the file information in corresponding product software is written in signature, the graphical interfaces file letter in the different product softwares Breath is all made of same graphical interfaces the file information Description standard and generates;
First save submodule, for respectively will based in the different product softwares encryption pel content, encryption Content for script and graphical interfaces the file information comprising pel content encryption algorithm, content for script Encryption Algorithm and digital signature are protected It deposits, obtains graphical interfaces file.
In the present embodiment, the same graph primitive Description standard can be the same figure write using JSON language Shape pel Description standard;
The same script Description standard can be the same script Description standard write using BSON language.
In the present embodiment, the same graph primitive Description standard can be the same figure write using BSON language Shape pel Description standard;
The same script Description standard can be the same script Description standard write using BSON language.
It is the same figure write using JSON language in the same graph primitive Description standard in the present embodiment Pel Description standard, the same script Description standard are the feelings for the same script Description standard write using BSON language Under condition, the preserving module may include:
Second generates submodule, for being based respectively on the pel content generated in the different product softwares, generates The pel content of BSON format;
Second saves submodule, for respectively by the figure based on the BSON format generated in the different product softwares First content and content for script save, and obtain graphical interfaces file.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the certain of each embodiment of the application or embodiment Method described in part.
A kind of graphical interfaces document generating method provided herein and device are described in detail above, herein In apply specific case the principle and implementation of this application are described, the explanation of above example is only intended to sides Assistant solves the present processes and its core concept;At the same time, for those skilled in the art, the think of according to the application Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair The limitation of the application.

Claims (10)

1. a kind of graphical interfaces document generating method characterized by comprising
In different product softwares, for target pel, same graph primitive Description standard is respectively adopted and generates in pel Hold, and same script Description standard is respectively adopted and generates and the associated content for script of pel content;
Respectively by based on the pel content generated in the different product softwares and content for script preservation, graphical interfaces is obtained File.
2. the method according to claim 1, wherein described respectively will be based in the different product softwares The pel content and content for script of generation save, and obtain graphical interfaces file, comprising:
Pel content encryption algorithm and content for script Encryption Algorithm are obtained from the different product softwares respectively;
It is utilized respectively the pel content encryption algorithm obtained from the different product softwares, to raw in corresponding product software At pel content encrypted, obtain encryption pel content;
It is utilized respectively the content for script Encryption Algorithm obtained from the different product softwares, to raw in corresponding product software At content for script encrypted, obtain encryption content for script;
It is based respectively on the pel content generated in the different product softwares and content for script, generates digital signature, and divide The pel content encryption algorithm, the content for script Encryption Algorithm and the digital signature are not written in corresponding product software Graphical interfaces the file information, the graphical interfaces the file information in the different product softwares is all made of same graphical interfaces The file information Description standard generates;
Respectively by based in the different product softwares encryption pel content, encryption content for script and add comprising pel content The graphical interfaces the file information of close algorithm, content for script Encryption Algorithm and digital signature saves, and obtains graphical interfaces file.
3. the method according to claim 1, wherein the same graph primitive Description standard is to use JSON The same graph primitive Description standard that language is write;
The same script Description standard is the same script Description standard write using BSON language.
4. the method according to claim 1, wherein the same graph primitive Description standard is to use BSON The same graph primitive Description standard that language is write;
The same script Description standard is the same script Description standard write using BSON language.
5. according to the method described in claim 3, it is characterized in that, described respectively will be based in the different product softwares The pel content and content for script of generation save, and obtain graphical interfaces file, comprising:
It is based respectively on the pel content generated in the different product softwares, generates the pel content of BSON format;
Respectively by pel content and content for script preservation based on the BSON format generated in the different product softwares, obtain To graphical interfaces file.
6. a kind of graphical interfaces file creating apparatus characterized by comprising
Generation module, for for target pel, same graph primitive description rule to be respectively adopted in different product softwares Model generates pel content, and same script Description standard is respectively adopted and generates and the associated content for script of pel content;
Preserving module, for that will be protected respectively based on the pel content generated in the different product softwares and content for script It deposits, obtains graphical interfaces file.
7. device according to claim 6, which is characterized in that the preserving module, comprising:
Acquisition submodule, for acquisition pel content encryption algorithm and content for script to add from the different product softwares respectively Close algorithm, the graphical interfaces the file information in the different product softwares are all made of same graphical interfaces the file information description Specification generates;
First encryption submodule, for being utilized respectively the pel content encryption algorithm obtained from the different product softwares, The pel content generated in corresponding product software is encrypted, encryption pel content is obtained;
Second encryption submodule, for being utilized respectively the content for script Encryption Algorithm obtained from the different product softwares, The content for script generated in corresponding product software is encrypted, encryption content for script is obtained;
First generates submodule, for being based respectively in the pel content generated in the different product softwares and script Hold, generate digital signature, and respectively signs the pel content encryption algorithm, the content for script Encryption Algorithm and the number The graphical interfaces the file information in corresponding product software, the graphical interfaces the file information in the different product softwares is written in name Same graphical interfaces the file information Description standard is all made of to generate;
First save submodule, for respectively will based in the different product softwares encryption pel content, encryption script Content and graphical interfaces the file information comprising pel content encryption algorithm, content for script Encryption Algorithm and digital signature save, Obtain graphical interfaces file.
8. device according to claim 6, which is characterized in that the same graph primitive Description standard is to use JSON The same graph primitive Description standard that language is write;
The same script Description standard is the same script Description standard write using BSON language.
9. device according to claim 6, which is characterized in that the same graph primitive Description standard is to use BSON The same graph primitive Description standard that language is write;
The same script Description standard is the same script Description standard write using BSON language.
10. device according to claim 8, which is characterized in that the preserving module, comprising:
Second generates submodule, for being based respectively on the pel content generated in the different product softwares, generates BSON The pel content of format;
Second saves submodule, for respectively will be in the pel based on the BSON format generated in the different product softwares Hold and content for script saves, obtains graphical interfaces file.
CN201910343525.8A 2019-04-26 2019-04-26 Graphical interface file generation method and device Active CN110083354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910343525.8A CN110083354B (en) 2019-04-26 2019-04-26 Graphical interface file generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910343525.8A CN110083354B (en) 2019-04-26 2019-04-26 Graphical interface file generation method and device

Publications (2)

Publication Number Publication Date
CN110083354A true CN110083354A (en) 2019-08-02
CN110083354B CN110083354B (en) 2023-08-01

Family

ID=67416967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910343525.8A Active CN110083354B (en) 2019-04-26 2019-04-26 Graphical interface file generation method and device

Country Status (1)

Country Link
CN (1) CN110083354B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030098880A1 (en) * 2001-07-26 2003-05-29 Reddy Sreedhar Sannareddy System and apparatus for programming system views in an object oriented environment
US20030105778A1 (en) * 2001-11-30 2003-06-05 Intel Corporation File generation apparatus and method
US20070179644A1 (en) * 2006-01-31 2007-08-02 National Instruments Corporation Automatically generating code from drawing specifications for use in motion control
CN102867021A (en) * 2012-08-08 2013-01-09 中国电力科学研究院 Conversion method for vector graphics of transformer substation
CN103136768A (en) * 2011-11-25 2013-06-05 广东省电力调度中心 Electric power communication network graph standardized software
CN103309660A (en) * 2013-05-27 2013-09-18 北京尚友通达信息技术有限公司 Mobile application cross-platform development method
CN103390252A (en) * 2013-07-30 2013-11-13 国家电网公司 Method for interacting graphic information between dispatching center and intelligent substation
CN104166568A (en) * 2014-08-13 2014-11-26 国电南瑞科技股份有限公司 Power system graphic file parallel loading method based on CIM/G
US9430195B1 (en) * 2010-04-16 2016-08-30 Emc Corporation Dynamic server graphics
CN108762731A (en) * 2018-05-21 2018-11-06 中国电力科学研究院有限公司 A kind of general field model panorama visualization method and system
CN109445776A (en) * 2018-10-25 2019-03-08 北京科东电力控制系统有限责任公司 Mixing picture method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030098880A1 (en) * 2001-07-26 2003-05-29 Reddy Sreedhar Sannareddy System and apparatus for programming system views in an object oriented environment
US20030105778A1 (en) * 2001-11-30 2003-06-05 Intel Corporation File generation apparatus and method
US20070179644A1 (en) * 2006-01-31 2007-08-02 National Instruments Corporation Automatically generating code from drawing specifications for use in motion control
US9430195B1 (en) * 2010-04-16 2016-08-30 Emc Corporation Dynamic server graphics
CN103136768A (en) * 2011-11-25 2013-06-05 广东省电力调度中心 Electric power communication network graph standardized software
CN102867021A (en) * 2012-08-08 2013-01-09 中国电力科学研究院 Conversion method for vector graphics of transformer substation
CN103309660A (en) * 2013-05-27 2013-09-18 北京尚友通达信息技术有限公司 Mobile application cross-platform development method
CN103390252A (en) * 2013-07-30 2013-11-13 国家电网公司 Method for interacting graphic information between dispatching center and intelligent substation
CN104166568A (en) * 2014-08-13 2014-11-26 国电南瑞科技股份有限公司 Power system graphic file parallel loading method based on CIM/G
CN108762731A (en) * 2018-05-21 2018-11-06 中国电力科学研究院有限公司 A kind of general field model panorama visualization method and system
CN109445776A (en) * 2018-10-25 2019-03-08 北京科东电力控制系统有限责任公司 Mixing picture method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李强;黄晨;严义;邬惠峰;: "基于XML的嵌入式异构域图编程数据的描述方法", 计算机工程与应用, no. 15, pages 179 - 182 *
魏玉山, 北京邮电大学出版社 *

Also Published As

Publication number Publication date
CN110083354B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
CN106875303A (en) The method and apparatus for realizing electronic protocol signing
CN115997207A (en) Detecting a sub-image region of interest in an image using a pilot signal
US9292697B2 (en) Matrix code for encryption, storage, and transmission of data
CN107463370A (en) Striding course rendering intent and system
National Research Council et al. Continuing innovation in information technology
CN107103890A (en) Display application on fixed-direction display
Ouannas et al. On the Q–S Chaos Synchronization of Fractional‐Order Discrete‐Time Systems: General Method and Examples
US20180032487A1 (en) Scalable vector graphics bundles
CN113486406A (en) Electronic signature protection and restoration method and system, electronic equipment and storage medium
Zhang et al. Nonequal-length image encryption based on bitplane chaotic mapping
CN114444108B (en) Homomorphic encryption processing method and related equipment
US20130124153A1 (en) Method and apparatus for computer aided design of human-machine interface animated graphical elements
US20240289335A1 (en) Secure equi-join apparatus, secure equi-join method, and program
CN110083354A (en) A kind of graphical interfaces document generating method and device
US10542176B2 (en) Enhancing graph visualization with supplemental data
CN114006689A (en) Data processing method, device and medium based on federal learning
CN105378645A (en) Virtualizing applications for multi-monitor environments
Sharma et al. Visualization of big data with augmented reality
Zhang et al. A chunked and disordered data privacy protection algorithm: application to resource platform systems
CN108985109B (en) Data storage method and device
US20220269486A1 (en) Final exponentiation calculation device, pairing operation device, cryptographic processing device, final exponentiation calculation method, and computer readable medium
US20020169808A1 (en) System and method for reordering data
CN115618307A (en) Anti-counterfeit verification method, device, electronic equipment and medium for printout documents
CN114357042A (en) CAD data processing method, device, electronic equipment and computer program product
CN114189331A (en) Key storage and reading method, device, equipment and storage medium

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
CP03 Change of name, title or address

Address after: No. 309 Liuhe Road, Binjiang District, Hangzhou City, Zhejiang Province (High tech Zone)

Patentee after: Zhongkong Technology Co.,Ltd.

Country or region after: China

Address before: No. six, No. 309, Binjiang District Road, Hangzhou, Zhejiang

Patentee before: ZHEJIANG SUPCON TECHNOLOGY Co.,Ltd.

Country or region before: China