CN109358932A - Common software interface flow control method - Google Patents
Common software interface flow control method Download PDFInfo
- Publication number
- CN109358932A CN109358932A CN201811142955.5A CN201811142955A CN109358932A CN 109358932 A CN109358932 A CN 109358932A CN 201811142955 A CN201811142955 A CN 201811142955A CN 109358932 A CN109358932 A CN 109358932A
- Authority
- CN
- China
- Prior art keywords
- data
- interface
- memory structure
- linear memory
- storage
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/468—Specific access rights for resources, e.g. using capability register
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of common software interface flow control methods, include the following steps: to establish storing step: establishing a linear memory structure, the linear memory structure includes multiple storage cells for storing data;Data point reuse step: being based on the linear memory structure, formulates the process of adjustment data;Interface storing step: being based on the linear memory structure, formulates the process at storage interface;Interface return step: the process based on the storage interface formulates the process that interface returns.The present invention uses linear memory structure, and the position of centrally stored interface information has standardized the data format of storage;The present invention has unified interface process, solves the problems, such as that traditional software interface process scalability is poor;The present invention reduces the cost of multi agent cooperation exchange using linear memory structure, reduces the degree of coupling of more people's exploitations, solves the problems, such as that traditional software interface process and specific operation flow degree of coupling are high.
Description
Technical field
The present invention relates to field of interface control, and in particular, to a kind of common software interface flow control method.
Background technique
When carrying out the operation of software interface, corresponding software interface is stored user, in order to which user transfers,
Traditional software interface does not standardize, and the storage at traditional software interface often uses different storage sides according to different interfaces
The storage format of formula, none memory space concentrated and standardization stores, and does not form standardization.In addition, traditional
Software interface process newly increases an interface, generally requires to rewrite interface process for this interface, therefore can generate software
The problem of interface process scalability is looked into.Further, traditional software needs to know one another the logic of other side in exploitation, cooperation
It is at high cost, cause traditional software interface process and specific operation flow degree of coupling high.
Application No. is the patents of invention of CN201710046599.6 to disclose a kind of method that the page returns and identifies stacking
And system, the method that the page returns comprise determining that the instruction type of the return operational order of the user's input received;Based on institute
Instruction type is stated, calls the page corresponding with described instruction type to transfer method, to transfer corresponding page info.It sets in this way
It sets and is able to use family and reaches the page for needing to reach using more shirtsleeve operation, the troublesome operation before simplifying alleviates
End pressure is serviced, the response of client more rapidly, optimizes user experience.But there are following disadvantages by the present invention: 1, not advising
The storage information unit at generalized interface causes the maintenance cost of system high, does not form standardization;2, each page needs one
A mark causes page management system and writing for specific business to there is very big coupling.
Summary of the invention
For the defects in the prior art, the object of the present invention is to provide a kind of common software interface flow control methods.
A kind of common software interface flow control method provided according to the present invention, includes the following steps:
Establish storing step: establishing a linear memory structure, the linear memory structure include it is multiple for storing data
Storage cell;
Data point reuse step: being based on the linear memory structure, formulates the process of adjustment data;
Interface storing step: being based on the linear memory structure, formulates the process at storage interface;
Interface return step: the process based on the storage interface formulates the process that interface returns.
Preferably, the storage cell includes clear data information storage space and graphical information memory space.
Preferably, the graphical information memory space can read data information from clear data information storage space;Figure
The data information shown in shape information storage space is corresponding according to the change of the data information in clear data information storage space
Change.
Preferably, the multiple storage cell linear ordering, the position of n-th of storage cell are n, and wherein n is positive integer;
Linear memory structural support obtains the length I of current stored storage cell, and wherein I is positive integer;
Linear memory structure can obtain the data of n-th of storage cell, and wherein n is the positive integer less than or equal to I.
Preferably, the process of the adjustment data includes the process for adding data and the process for deleting data, in which:
The process of addition data includes: first data of storage since first storage cell, stores nth data
The position of storage cell is n;
The process for deleting data includes: first data of deletion since the last one storage cell, deletes nth data
The position of storage cell be I-n+1, I is the length of the stored storage cell of linear memory structure.
Preferably, the data of linear memory structure i-th storage cell are the interface currently shown, and I is linear memory knot
The length of the stored storage cell of structure.
Preferably, the process for formulating storage interface includes: that the data standard at each interface is melted into the data of storage cell,
When opening n-th of interface A n, interface A n is stored into the storage cell of nth position using linear memory structure.
Preferably, formulating and returning to the process at interface includes: to delete n-th of the interface A n opened using linear memory structure
Data.
Compared with prior art, the present invention have it is following the utility model has the advantages that
1, the present invention uses linear memory structure, and the position of centrally stored interface information has standardized the data format of storage;
2, the present invention has unified interface process, solves the problems, such as that traditional software interface process scalability is poor;
3, the present invention reduces the cost of multi agent cooperation exchange using linear memory structure, reduces the coupling of more people's exploitations
Degree, solves the problems, such as that traditional software interface process and specific operation flow degree of coupling are high.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon:
Fig. 1 is the control flow chart of linear memory structure of the invention.
Specific embodiment
The present invention is described in detail combined with specific embodiments below.Following embodiment will be helpful to the technology of this field
Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill of this field
For personnel, without departing from the inventive concept of the premise, several changes and improvements can also be made.These belong to the present invention
Protection scope.
As shown in Figure 1, a kind of common software interface flow control method provided according to the present invention, comprising: establish storage
Step: establishing a linear memory structure, and the linear memory structure includes multiple storage cells for storing data;Data tune
Synchronizing is rapid: being based on the linear memory structure, formulates the process of adjustment data;Interface storing step: it is based on the linear memory
Structure formulates the process at storage interface;Interface return step: the process based on the storage interface formulates the stream that interface returns
Journey.
Further, the storage cell includes clear data information storage space and graphical information memory space, the figure
Shape information storage space can read data information from clear data information storage space;It is shown in graphical information memory space
Data information accordingly changes according to the change of the data information in clear data information storage space.
More specifically, the position of the multiple storage cell linear ordering, n-th of storage cell is n, and wherein n is positive
Integer;Linear memory structural support obtains the length I of current stored storage cell, and wherein I is positive integer;Linear memory
Structure can obtain the data of n-th of storage cell, and wherein n is the positive integer less than or equal to I.Linear memory structure addition n-th
When a data, if storage cell is inadequate, continue to distribute new storage cell backward.
Further, the process of the adjustment data includes the process of the process and deletion data of addition data, wherein
The process of addition data includes: first data of storage since first storage cell, stores the storage cell of nth data
Position be n;The process for deleting data includes: first data of deletion since the last one storage cell, deletes nth
According to the position of storage cell be I-n+1, I is the length of the stored storage cell of linear memory structure.
More specifically, the process for formulating storage interface includes: the data standard chemical conversion storage cell at each interface
Data when opening n-th of interface A n, are stored interface A n into the storage cell of nth position using linear memory structure.Boundary
In the information flow of face, the interface currently shown is the interface of linear memory structure finally added, i.e., in linear memory structure
I-th data, I are the stored length of linear memory structure.
Formulating and returning to the process at interface includes: that the data of n-th of the interface A n opened are deleted using linear memory structure.It is false
If that when front opening is n-th of interface A n, it is assumed that need to return the interface A of a upper leveln-1, then once linear storage knot is called
The deletion data of structure, then the data of current linear storage organization are An-1, therefore, the interface process of a upper level is returned, is not needed
It is concerned about the particular content of a upper level, the deletion data of once linear storage organization is only called, to realize and have
The unrelated logic of body business.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited to above-mentioned
Particular implementation, those skilled in the art can make a variety of changes or modify within the scope of the claims, this not shadow
Ring substantive content of the invention.In the absence of conflict, the feature in embodiments herein and embodiment can any phase
Mutually combination.
Claims (8)
1. a kind of common software interface flow control method, which comprises the steps of:
It establishes storing step: establishing a linear memory structure, the linear memory structure includes multiple depositing for storing data
Store up unit;
Data point reuse step: being based on the linear memory structure, formulates the process of adjustment data;
Interface storing step: being based on the linear memory structure, formulates the process at storage interface;
Interface return step: the process based on the storage interface formulates the process that interface returns.
2. common software interface according to claim 1 flow control method, which is characterized in that the storage cell includes
Clear data information storage space and graphical information memory space.
3. common software interface according to claim 2 flow control method, which is characterized in that the graphical information storage
Space can read data information from clear data information storage space;The data information root shown in graphical information memory space
Accordingly change according to the change of the data information in clear data information storage space.
4. common software interface according to claim 1 flow control method, which is characterized in that the multiple storage cell
Linear ordering, the position of n-th of storage cell are n, and wherein n is positive integer;
Linear memory structural support obtains the length I of current stored storage cell, and wherein I is positive integer;
Linear memory structure can obtain the data of n-th of storage cell, and wherein n is the positive integer less than or equal to I.
5. common software interface according to claim 1 flow control method, which is characterized in that the stream of the adjustment data
Journey includes the process for adding data and the process for deleting data, in which:
The process of addition data includes: first data of storage since first storage cell, stores the storage of nth data
The position of unit is n;
The process for deleting data includes: first data of deletion since the last one storage cell, deletes depositing for nth data
The position for storing up unit is I-n+1, and I is the length of the stored storage cell of linear memory structure.
6. common software interface according to claim 1 flow control method, which is characterized in that linear memory structure I
The data of a storage cell are the interface currently shown, and I is the length of the stored storage cell of linear memory structure.
7. common software interface according to claim 1 flow control method, which is characterized in that formulate the stream at storage interface
Journey includes: that the data of the data standard chemical conversion storage cell at each interface utilize linear memory when opening n-th of interface A n
Structure stores interface A n into the storage cell of nth position.
8. common software interface according to claim 1 flow control method, which is characterized in that formulate the stream for returning to interface
Journey includes: that the data of n-th of the interface A n opened are deleted using linear memory structure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811142955.5A CN109358932A (en) | 2018-09-28 | 2018-09-28 | Common software interface flow control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811142955.5A CN109358932A (en) | 2018-09-28 | 2018-09-28 | Common software interface flow control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109358932A true CN109358932A (en) | 2019-02-19 |
Family
ID=65348253
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811142955.5A Pending CN109358932A (en) | 2018-09-28 | 2018-09-28 | Common software interface flow control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109358932A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005566A (en) * | 2007-01-10 | 2007-07-25 | 中兴通讯股份有限公司 | Page returning method for electronic program list navigation |
US20160299651A1 (en) * | 2013-06-09 | 2016-10-13 | Apple Inc. | Stacked Tab View |
CN106095568A (en) * | 2016-06-01 | 2016-11-09 | 努比亚技术有限公司 | Memory management device, mobile terminal and method |
CN106484862A (en) * | 2016-10-10 | 2017-03-08 | 聚好看科技股份有限公司 | Page control method and device |
CN107506430A (en) * | 2017-08-22 | 2017-12-22 | 四川长虹电器股份有限公司 | A kind of route control method and system based on mixed developing |
CN107609199A (en) * | 2017-10-24 | 2018-01-19 | 网易无尾熊(杭州)科技有限公司 | A kind of method, equipment and storage medium for handling and recovering the page |
CN107678780A (en) * | 2017-10-26 | 2018-02-09 | 深圳乐信软件技术有限公司 | A kind of EMS memory management process, device, storage medium and terminal device |
CN108345479A (en) * | 2017-01-22 | 2018-07-31 | 北京优朋普乐科技有限公司 | A kind of page returns and the method and system of mark stacking |
-
2018
- 2018-09-28 CN CN201811142955.5A patent/CN109358932A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005566A (en) * | 2007-01-10 | 2007-07-25 | 中兴通讯股份有限公司 | Page returning method for electronic program list navigation |
US20160299651A1 (en) * | 2013-06-09 | 2016-10-13 | Apple Inc. | Stacked Tab View |
CN106095568A (en) * | 2016-06-01 | 2016-11-09 | 努比亚技术有限公司 | Memory management device, mobile terminal and method |
CN106484862A (en) * | 2016-10-10 | 2017-03-08 | 聚好看科技股份有限公司 | Page control method and device |
CN108345479A (en) * | 2017-01-22 | 2018-07-31 | 北京优朋普乐科技有限公司 | A kind of page returns and the method and system of mark stacking |
CN107506430A (en) * | 2017-08-22 | 2017-12-22 | 四川长虹电器股份有限公司 | A kind of route control method and system based on mixed developing |
CN107609199A (en) * | 2017-10-24 | 2018-01-19 | 网易无尾熊(杭州)科技有限公司 | A kind of method, equipment and storage medium for handling and recovering the page |
CN107678780A (en) * | 2017-10-26 | 2018-02-09 | 深圳乐信软件技术有限公司 | A kind of EMS memory management process, device, storage medium and terminal device |
Non-Patent Citations (3)
Title |
---|
TUACY: ""Android任务和返回栈简单总结"", 《HTTPS://BLOG.CSDN.NET/WUYUXING24/ARTICLE/DETAILS/78429876》 * |
刘钧 等编著: "《光学设计(第2版)》", 31 July 2016, 北京:国防工业出版社 * |
魏连锁 等编: "《数据结构》", 31 July 2018, 哈尔滨:哈尔滨工程大学出版社 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106599104A (en) | Mass data association method based on redis cluster | |
CN110109996A (en) | A kind of industry internet equipment real-time data acquisition and storage method and system | |
CN106528786B (en) | Method and system of the multi-source heterogeneous power grid big data of fast transferring to HBase | |
CN103885887B (en) | User data storage method, read method and system | |
CN105760534A (en) | User-defined serializable data structure, hadoop cluster, server and application method thereof | |
CN104253858B (en) | A kind of mobile data synchronization conflict pretreatment and digestion procedure based on packet | |
CN102014282A (en) | Distributed video transcoding scheduling method and system | |
CN103019689A (en) | Universal object serialization realizing method | |
CN103491176A (en) | Method and system for automatically releasing micro-blogs | |
CN106156227A (en) | A kind of data transmission method and device | |
CN101170436B (en) | A method for managing template in network management system | |
CN103761262A (en) | Repetition log control method based on syslogd | |
CN105468793A (en) | Automated management method for simulation model data | |
CN102567419B (en) | Mass data storage device and method based on tree structure | |
CN103064749B (en) | Inter-process communication method | |
CN107423431A (en) | A kind of remotely-sensed data storage method and system based on distributed file system | |
CN109358932A (en) | Common software interface flow control method | |
CN105930100B (en) | A kind of implementation method optimizing usim card file read-write speed and frequency | |
CN102724061B (en) | A kind of network interface management method | |
CN101404797B (en) | Storage method, storage management apparatus and storage system for long and short messages | |
CN103281383B (en) | A kind of time sequence information recording method of Based on Distributed data source | |
CN105701179A (en) | Windows access method of distributed file system based on UniWhale | |
CN104794567A (en) | HBase-based infectious disease data management methods | |
CN104133895A (en) | Intelligent substation secondary device connection diagram encoding algorithm based on binary tree | |
CN102902748A (en) | Establishing method and managing method for file systems and random access memory (RAM) and communication chip of file systems |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190219 |