CN107861713A - Data calling method, device and computer-readable recording medium - Google Patents
Data calling method, device and computer-readable recording medium Download PDFInfo
- Publication number
- CN107861713A CN107861713A CN201710617383.0A CN201710617383A CN107861713A CN 107861713 A CN107861713 A CN 107861713A CN 201710617383 A CN201710617383 A CN 201710617383A CN 107861713 A CN107861713 A CN 107861713A
- Authority
- CN
- China
- Prior art keywords
- data
- interface
- dictionary
- type
- calling
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
The present invention discloses a kind of data calling method, device and computer-readable recording medium, and methods described includes:Recalls information and the dictionary information collection that H5 interfaces are sent are received, and recalls information is split to obtain and splits data, wherein splitting datagram includes the interface name and demand parameter of current H5 interfaces calling interface;The data type of demand parameter is converted into the dictionary type matched with dictionary information collection by character string type, and the demand parameter that will convert into dictionary type is concentrated from dictionary information as keyword and obtains parameter value corresponding with keyword;Calling interface is determined according to interface name, parameter value handled by calling interface, completes data call.Demand parameter in recalls information is converted to the keyword of dictionary type, to concentrate the value that gets parms from dictionary information according to keyword, calling interface completes data call to parameter value processing, and the maintenance of dictionary information collection need to only be directed to keyword and parameter value, interface data coupling is reduced, it is easy to maintenance.
Description
Technical field
The invention mainly relates to technical field of data processing, specifically, it is related to a kind of data calling method, device and can
Read storage medium.
Background technology
H5 is HTML the 5th version, and HTML is webpage descriptive language, for design website, APP front end, can be real
Existing cross-platform use;Native is the exploitation based on native system kernel, it is necessary to be opened according to Platform Type using different language
Hair, such as the Java and ios of Android Swift.Current APP typically uses Hybrid mixed developing pattern, is led to by Native
The methods of crossing JSBridge provides unified interface (API), then with H5+JS come the logic on realistic border, calling API, this mould
Under formula, due to Android, iOS API typically has uniformity, and the final page is also to be shown in webview, so
There is cross-platform effect.
But the interface parameters that native ends interact with H5 in Hybrid mixed developings pattern on the market is defined as
The array formats of the character string of strict coupling, wherein in order to search, by reference order and number of parameters according to strict rule
Then set, it is necessary to be modified with H5 to native ends when later maintenance increases or changes parameter, otherwise can cause collapse,
It is unfavorable for extending and safeguards.
The content of the invention
The main object of the present invention is to provide a kind of data calling method, device and computer-readable recording medium, it is intended to
It is high to solve the coupling of data interaction in the prior art, the problem of being unfavorable for extending and safeguard.
To achieve the above object, the present invention provides a kind of data calling method, and the data calling method includes following step
Suddenly:
Recalls information and the dictionary information collection that H5 interfaces are sent are received, and the recalls information is split and torn open
Divided data, wherein splitting datagram include the interface name and demand parameter of current H5 interfaces calling interface;
The data type of the demand parameter is converted into the dictionary type matched with dictionary information collection by character string type,
And the demand parameter that will convert into dictionary type is concentrated from dictionary information as keyword and obtains ginseng corresponding with the keyword
Numerical value;
Calling interface is determined according to the interface name, the parameter value handled by calling interface, completes data
Call.
Preferably, it is described that calling interface is determined according to the interface name, by calling interface to the parameter value at
The step of managing, completing data call includes:
Calling interface, and the data mould according to corresponding to the calling interface determines calling interface are determined according to the interface name
Type;
The keyword and parameter value are converted into data entity model corresponding with the data model, connect by calling
Mouth is handled the data entity model, completes data call.
Preferably, it is described that the data entity model is handled by calling interface, complete data call the step of
Include afterwards:
Judge whether include feedback information in the recalls information, when including feedback information in the recalls information, root
According to the feedback information complex data is fed back to H5 interfaces.
Preferably, the fractionation data also include protocol header, and the data type by the demand parameter is by character string
Type includes before being converted to the step of dictionary type matched with dictionary information collection:
Judge the protocol header whether be setting protocol type, when the protocol header be setting protocol type when, perform general
The step of data type of the demand parameter is converted to the dictionary type matched with dictionary information collection by character string type.
Preferably, include before the step of reception H5 interfaces are sent recalls information and dictionary information collection:
Initial configuration information is received, initial configuration is carried out to all interfaces called for H5 interface communications, to connect
When receiving the recalls information of H5 interfaces transmission, the recalls information is responded.
In addition, to achieve the above object, the present invention also proposes a kind of data call device, the data call device bag
Include:Memory, processor, communication bus and the data call program being stored on the memory;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform the data call program, to realize following steps:
Recalls information and the dictionary information collection that H5 interfaces are sent are received, and the recalls information is split and torn open
Divided data, wherein splitting datagram include the interface name and demand parameter of current H5 interfaces calling interface;
The data type of the demand parameter is converted into the dictionary type matched with dictionary information collection by character string type,
And the demand parameter that will convert into dictionary type is concentrated from dictionary information as keyword and obtains ginseng corresponding with the keyword
Numerical value;
Calling interface is determined according to the interface name, the parameter value handled by calling interface, completes data
Call.
Preferably, it is described that calling interface is determined according to the interface name, by calling interface to the parameter value at
The step of managing, completing data call includes:
Calling interface, and the data mould according to corresponding to the calling interface determines calling interface are determined according to the interface name
Type;
The keyword and parameter value are converted into data entity model corresponding with the data model, connect by calling
Mouth is handled the data entity model, completes data call.
Preferably, it is described that the data entity model is handled by calling interface, complete data call the step of
Afterwards, the processor is used to perform the data call program, to realize following steps:
Judge whether include feedback information in the recalls information, when including feedback information in the recalls information, root
According to the feedback information complex data is fed back to H5 interfaces.
Preferably, the fractionation data also include protocol header, and the data type by the demand parameter is by character string
Before type is converted to the step of dictionary type matched with dictionary information collection, the processor is used to perform the data call
Program, to realize following steps:
Judge the protocol header whether be setting protocol type, when the protocol header be setting protocol type when, perform general
The step of data type of the demand parameter is converted to the dictionary type matched with dictionary information collection by character string type.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable
Storage medium is stored with one or more than one program, one either more than one program can by one or one with
On computing device for:
Recalls information and the dictionary information collection that H5 interfaces are sent are received, and the recalls information is split and torn open
Divided data, wherein splitting datagram include the interface name and demand parameter of current H5 interfaces calling interface;
The data type of the demand parameter is converted into the dictionary type matched with dictionary information collection by character string type,
And the demand parameter that will convert into dictionary type is concentrated from dictionary information as keyword and obtains ginseng corresponding with the keyword
Numerical value;
Calling interface is determined according to the interface name, the parameter value handled by calling interface, completes data
Call.
The data calling method of the present embodiment, when receiving the recalls information and dictionary information collection of H5 interfaces transmission,
Split to obtain the interface name and demand parameter of current H5 interfaces calling interface to recalls information, and by the number of demand parameter
The dictionary type matched with dictionary information collection is converted to by character string type according to type, using the demand parameter of this dictionary type as
Keyword, parameter value corresponding with this keyword is obtained to be concentrated from dictionary information, passes through calling interface pair corresponding to interface name
The processing of this parameter value, the interface function of current H5 interfaces calling interface is realized, completes data call.This programme is by receiving dictionary
Information collection, the demand parameter of character string type in recalls information is converted to the demand of the dictionary type matched with dictionary information collection
Parameter, and using the demand parameter of this dictionary type as keyword, because dictionary information lumped parameter is deposited in the form of key_value
So as to which corresponding parameter value (value) can be obtained from dictionary information according to the keyword (key) after conversion, passing through word
Allusion quotation information collection reduce H5 interfaces communicated with native call coupling, be added, be deleted or modified maintenance extension
When, it is only necessary to keyword key and corresponding value values are added, are deleted or modified, avoid H5 interfaces and
Be mutually related high coupling between native, safeguards that extension needs for H5 interfaces and native while carried out, passes through calling
Interface carries out the processing related to calling interface type to parameter value corresponding to keyword, realizes the function of calling interface, completes
Data call.Communication interface coupling between H5 interfaces and native is low, maintainability and favorable expandability.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the data calling method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the data calling method second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the data calling method 3rd embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the data calling method fourth embodiment of the present invention;
Fig. 5 is the device structure schematic diagram for the hardware running environment that present invention method is related to.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of data calling method.
Fig. 1 is refer to, Fig. 1 is the schematic flow sheet of data calling method first embodiment of the present invention.In the present embodiment,
The data calling method includes:
Step S10, recalls information and dictionary information collection that H5 interfaces are sent are received, and the recalls information is torn open
Get and split data, wherein splitting datagram includes the interface name and demand parameter of current H5 interfaces calling interface.
At present, various APP are installed on the intelligent terminal such as mobile phone, tablet personal computer on the market
(Application abbreviation), to improve the deficiency of primal system and meet the various demands of user.Current APP is opened
Hair pattern mainly has following several big types:Native App, Web App, Hybrid App and React Native App.Its
Middle Native App are traditional primary APP development modes, and Android is based on Java language, and bottom calls Google API to enter
Row exploitation;IOS is based on OC or Swift language, and the API that bottom calls App officials to provide is developed;Web App are movement
The Website development pattern at end, by page deployment on the server, then user uses major browser access, typically refers to SPA
The website that (Single Page Application) mode development goes out;Hybrid App are mixed developing pattern, are led to by Native
The methods of crossing JSBridge provides unified API, then with Html5+JS come the logic on realistic border, calling API, this pattern
Under, because Android and iOS API typically has uniformity, and the final page is also to be shown in webview, so across
Platform effect is preferable;React Native App are the APP development plans of increasing income that Facebook is initiated, primary using JS+ parts
Grammer realizes function, can also be realized by good encapsulation most cross-platform.
The communication that this programme is primarily adapted for use in Hybrid APP mixed developing pattern between H5 interfaces and native is adjusted
With.H5 interfaces are the interface based on H5 language developments, and native is the interface (API) that a Java calls non-Java code, H5
Interface calls native to realize the function of this native corresponding interface, if some native function be timing, H5 interfaces calling
Clocking capability can be achieved in this interface.Specifically, communication port is established in H5 interfaces with native, and H5 interfaces send to native and adjusted
With information and dictionary information, recalls information is used to call the resource at native ends to realize the recalls information pair sent with H5 interfaces
The function of answering, dictionary information integrate the dictionary information collection as json forms, and json (JavaScript Object Notation, JS
Object tag) it is a kind of data interchange format of lightweight, there are two kinds of data structures of object and array.The wherein data knot of object
Structure is the tactic pattern of key_value key/value pair, and the application believes the tactic pattern of this key_value key/value pair as dictionary
Breath collection, wherein there is numerous key_value key/value pair, key represents parameter, and value represents the numerical value of parameter, for representing parameter
Characteristic.As H5 interfaces send recalls information for call native picture go forward side by side action picture show that then dictionary information collection can
With the quantity including calling picture, the often title of each picture, display time of pictures etc., so that key1_value1,
Key2_value2, key3_value3 ... keyi_valuei, keyj_valuej={ quantity _ a, picture 1_b, picture 2_c ... figures
Piece i_m, display time _ n }.Keyword (key) is usually character string (string) type, and parameter value (value) can be
The fundamental types such as character string (string) type, double-precision floating point type (double), integer (int), can also a nested key/
Value pair or an array, the types of the data inside array can be fundamental types, or key/value pair.
When receiving the recalls information and dictionary information collection of H5 interfaces transmission, recalls information is split.It can manage
Xie Di, H5 interface are communicated with native, it is necessary to certain communication protocol are followed, according to the regulation of this communication protocol to calling
Information is split to obtain the fractionation data of interface name and demand parameter including current H5 interfaces calling interface.Such as communication protocol
Provide that information that H5 interfaces send must be using 8 byte for minimum transmission unit, and wherein the first two byte is interface name, rear 6
Individual byte is demand parameter, i.e., the information carried in byte0, byte1 represents interface name, the information carried in byte2~byte7
Represent demand parameter, so as to when receiving recalls information, recalls information be split as byte0~byte7, crawl byte0 and
Information in byte1 captures the information in byte2~byte7 as recalls information as interface name.In addition can also be according to it
His rule of communication is split, to this without limiting.In the communications field, in order to simplify the work of developer, raising is opened
The development efficiency of hair personnel, it will usually some interfaces are provided and called for developer, interface (API) is some pre-defined letters
Number, there is provided called to developer to realize a certain function, without being how to realize inside concerned interface.The present embodiment H5 circle
The recalls information that face is sent is used to call the interface related to recalls information to realize interface function, by the way that recalls information is torn open
Get the interface name and demand parameter of current H5 interfaces calling interface, the interface of current H5 interfaces calling interface is entitled to be used in fact
The interface name that existing H5 interfaces are currently called, demand parameter are used for the demand for characterizing H5 interfaces calling interface, i.e. calling interface work(
Can be used for what to do.The dictionary information collection of reception includes the multipair key/value pair related to data call, splits the demand in data
Parameter also turns type with the character of json forms to be present, and this demand parameter and dictionary information collection is changed, to obtain correspondingly
Key/value pair, realize data call function.Such as when the primary login interface that Native APP are jumped to from H5 interfaces is used
During the register of family, user clicks on login virtual key after log-on message is inputted on client login interface, according to this login
The log-on message that user inputs is sent to native, pull-up by the trigger action of virtual key, H5 interfaces
Native is logged in.This log-on message as recalls information is being received, log-on message split in acquisition log-on message
Login module name, login account name, login password and identifying code etc. split data, the wherein entitled interface name of login module,
Login account name, login password and identifying code are demand parameter.So as to according to interface name, demand parameter and dictionary information collection
The calling at H5 interfaces is realized, completes register.
Step S20, the data type of the demand parameter is converted to what is matched with dictionary information collection by character string type
Dictionary type, and the demand parameter that will convert into dictionary type is concentrated from dictionary information and obtained and the key as keyword
Parameter value corresponding to word.
Further, the data in the recalls information sent by H5 interfaces exist in the form of character string type, so as to right
The demand parameter that recalls information splits to obtain in fractionation data still exists with character string type.Character string (String) is by counting
Word, letter, a string of characters of underscore composition, are typically designated as s=" a1a2an " (n>=0) data of text, are represented
Type.Character string similar character array in storage, so its individual element of each can all extract, such as s=
" abcdefghij ", then s [0]=" a ", s [9]=" j ", and the zero-bit of character string represents the length of character string, such as s [0]=10,
10 characters are then included in this character string.The data that the present embodiment dictionary information is concentrated are deposited in the form of key_value key/value pair
A keyword (key) and parameter value (value) are being given, once the parameter value (value) is stored, can used corresponding
Keyword (key) retrieval.The similar mapping of the supplemental characteristic of dictionary type, is considered the list as key/value pair.Will
The data type of demand parameter is the dictionary type that is matched with dictionary information collection by Program transformation by character string type, such as character
Go here and there s=" picture ", the keyword picture being converted into by program language in dictionary information, and by this dictionary class after changing
As keyword, that is, the demand parameter after changing exists the demand parameter of type in the form of key, so as to be believed by key from dictionary
Breath, which is concentrated, obtains value, avoids with character string forms storing H5 interfaces and native messaging parameter, it is necessary to according to storage
Sequential search, and in extension, it is necessary to the supplemental characteristic of extension be arranged in sequence, to prevent the ginseng having influence on before extending
Number Data Position, cause to search confusion.Specifically, in one embodiment, deposited when the parameter set at native ends is formed with character string
, and when its parameter set is v1, v2, v3, v4 and v5, can only be according to the arrangement of parameter when the recalls information for receiving H5 interfaces
Position obtains the corresponding data of recalls information, and the recalls information as H5 interfaces are sent shows that it needs to call V3, then native roots
According to arrangement positions of the v3 in parameter set, i.e., the 3rd is found v3.So that when needing to be extended, before not influenceing extension
Searched according to the arrangement position of parameter, it is impossible to change the arrangement position of its parameter, can only be led by increased parameter toward heel row
Cause H5 interfaces and native interface parameters coupling high.And parameter exists with the dictionary information collection of json forms, and it includes 5
To dictionary type parameter set:K1_value1, k2_value2, k3_value3, k4_value4, k5_value5, when needing to extend
During one parameter M, M keyword k6 and corresponding value value6, i.e. k6_value6 are increased in parameter set, be not required to
Consider the reference order in parameter set.When needing to call, H5 interfaces send the dictionary information after recalls information X and extension
Collection, carries out fractionation to this recalls information and is converted to keyword k1, searched according to k1, because the dictionary information of reception concentrates k1 corresponding
Value1, so obtaining value1 according to k1.So as to by sending dictionary information mode set, only needed in extension by key with
And corresponding value values storage, it is not necessary to strict ordinal relation is followed, because key and value is corresponding, according to key
Value is found, extension is convenient, and coupling is low.
Step S30, calling interface is determined according to the interface name, and the parameter value is handled by calling interface,
Complete data call.
Understandably, as the development of intelligent terminal, the appearance of various function, the species of interface are more and more.No
Same interface realizes different functions, can be by way of docking port is named, and the difference of docking port function makes a distinction.H5
Interface sends recalls information according to the function to be realized, thus would know that specific calling by the interface name in recalls information
Interface, to carry out the processing related to interface function to the parameter value in recalls information by this calling interface, complete data and adjust
With realizing the function at H5 interfaces, such as when the interface of calling is login interface, its function is to realize the login of user, calls letter
Parameter value in breath includes account name and password, then calls this login interface, account name and password are verified, no matter verify
Success or failure, the calling of login interface function is completed, user logins successfully or failure.Thus, according to calling interface type
Difference, calling interface has differences to the processing mode of parameter value, to realize different interface work(according to calling interface type
Can, complete data call.
The data calling method of the present embodiment includes, and receives recalls information and dictionary information collection that H5 interfaces are sent, and
The recalls information is split to obtain and splits data, wherein splitting datagram includes the interface name of current H5 interfaces calling interface
And demand parameter;The data type of the demand parameter is converted into the dictionary class matched with dictionary information collection by character string type
Type, and the demand parameter that will convert into dictionary type concentrates acquisition corresponding with the keyword as keyword from dictionary information
Parameter value;Calling interface is determined according to the interface name, the parameter value handled by calling interface, completes data
Call.The demand parameter of character string type in recalls information is converted to and believed with dictionary by receiving dictionary information collection by this programme
The demand parameter of the dictionary type of breath collection matching, and using the demand parameter of this dictionary type as keyword, because of dictionary information collection
Middle parameter exists in the form of key_value, so as to obtain phase from dictionary information according to the keyword (key) after conversion
The parameter value (value) answered, H5 interfaces are reduced by dictionary information collection and communicated with native the coupling that calls, are being added
During the maintenance extension add, being deleted or modified, it is only necessary to which keyword key and corresponding value values are added, deleted or repaiied
Change, avoid the high coupling that is mutually related between H5 interfaces and native, safeguard extension need for H5 interfaces and
Native is carried out simultaneously, and the processing related to calling interface type is carried out to parameter value corresponding to keyword by calling interface,
The function of calling interface is realized, completes data call.Communication interface coupling between H5 interfaces and native is low, maintainability and
Favorable expandability.
Further, it is described to determine to call according to the interface name in another embodiment of data calling method of the present invention
The step of interface, being handled by calling interface the parameter value, completing data call includes:
Step S31, calling interface is determined according to the interface name, and determine that calling interface is corresponding according to the calling interface
Data model.
Step S32, the keyword and parameter value are converted into data entity model corresponding with the data model, led to
Cross calling interface to handle the data entity model, complete data call.
Further, because interface is used to realize function according to calling, and interface internal concrete implementation mode is not relevant for,
And in the case where needing to check, the keyword key of this interface by the way that program is run, can only be also checked from the program of operation
Number, attribute and corresponding parameter value, in the case where program is not run, the keyword key of this interface number, attribute
And corresponding parameter value value also has no way of finding out about it.Such as in the interface for realizing page layout switch function, the keyword bag of interface
Return key, left switch key and right switch key are included, and parameter value value corresponding to three is 0 and 1,0 expression button is not touched
Hair, rests on current page and does not switch, and 1 represents button triggering, carries out page return or left cut is changed or right cut is changed, developer exists
Find that return key does not work during test, it is impossible to return operation is carried out, because that can not find out from the program of off-duty
Reason, the keyword key that program operation just finds return key is lacked, so as to cause return key to run.It is this to run
Check that key_value mode is inconvenient for operation under state, make the readability of program poor.In the present embodiment, docking port is passed through
Data model is set, to reflect the essential informations such as whether the parameter species of interface function is complete, interface function type.Work as interface
When function can not be realized, pass through data model, you can tentatively judge reason.Because the function that distinct interface is realized differs, so as to
The type of data model also differs, and such as the above-mentioned interface for realizing page layout switch function, its corresponding data model is use
The data model that page layout switch instruction is established.Determined to realize the calling interface of function according to interface name, and it is true according to calling interface
Fixed data model corresponding with its function, data entity mould corresponding with this data model is converted to by keyword with parameter value
Type, the data entity model is handled by calling interface, complete data call.Dynamic reflective skill can wherein be passed through
Art, key_value is imparted in data model, using this data model as data entity model.Be converted to data entity
After model, by checking data pattern file content in program, you can know interface keyword key number and attribute.It is right
In the above-mentioned embodiment for realizing page layout switch functional interface, by keyword return key, left switch key and right switch key, and three couple
The parameter value value0 answered and 1, is imparted in data model, as data entity model.Equally because the key of return key
Word key missings cause in the case that return key do not work, to send out as long as checking the number of keyword in data pattern file
Referring back to the missing of key keyword, without operation program.By the way that key_value is converted into data entity model, it is being not required to
Key_value number and attribute is would know that in the case of running, facilitates the correctness of determining program, strengthen program can
The normalization of the property read and interface.
Further, reference picture 2, Fig. 2 is the schematic flow sheet of data calling method second embodiment of the present invention, based on this
The first embodiment of invention data calling method proposes the second embodiment of the present invention.
In the present embodiment, it is described that the data entity model is handled by calling interface, complete data call
The step of after include:
Step S40, judge whether include feedback information in the recalls information, when including feedback letter in the recalls information
During breath, complex data is fed back to H5 interfaces according to the feedback information.
In the present embodiment, in calling interface logarithm, factually body Model is handled, after completing data call, to calling
Whether judged in information comprising feedback information, wherein feedback information is Xiang Fa after the calling function of complete call information
The H5 interfaces for going out recalls information return to the return information for calling and completing.Because recalls information is sent by H5 interfaces, when H5 interfaces
When it is expected to receive the feedback information of recalls information, it can increase specific fields in recalls information, when in the recalls information of fractionation
During comprising this field, then illustrate that H5 interfaces need to feed back recalls information, specific feedback content can be by feedback information
Comprising H5 interfaces need it is what kind of feedback determine.Such as when recalls information is that APP is logged in, login is performed in native
After information, judge H5 interfaces need to log-on message feedback login successfully or failure and failure cause feedback information, from
And this feedback information is based on, when native judges log-on message matching, the reply data logined successfully are fed back to H5 interfaces, and
When native judges code error in log-on message, then login failure is fed back to H5 interfaces, and be the reason for login failure
The reply data of code error.Wherein feeding back to complex data to H5 interfaces can be by the communication port between H5 interfaces and native
Carry out, according to the feedback information for embodying H5 interface requirements, generate the reply data of recalls information, and this reply data is passed through and led to
Letter passage feeds back to H5 interfaces.To the reply data of H5 interfaces feedback recalls information, complete to react to H5 while data call
The implementation status for the recalls information that interface is sent.And when not including feedback data in recalls information, then illustrate that H5 interfaces are not required to
Recalls information is fed back, factually body Model is handled calling interface logarithm, completes data call.
Further, reference picture 3, Fig. 3 is the schematic flow sheet of data calling method 3rd embodiment of the present invention, based on this
The second embodiment of invention data calling method proposes the third embodiment of the present invention.
In the present embodiment, the fractionation data also include protocol header, the data type by the demand parameter by
Character string type includes before being converted to the step of dictionary type matched with dictionary information collection:
Step S50, judge whether the protocol header is setting protocol type, when the protocol header is setting protocol type
When, perform and the data type of the demand parameter is converted into the dictionary type matched with dictionary information collection by character string type
Step.
In the present embodiment, splitting data also includes protocol header, and the recalls information sent to H5 interfaces is split to obtain
Splitting datagram include protocol header, interface name and parameter.Before the data type of parameter is changed, it is necessary to fractionation
Protocol header is verified, to determine that this protocol header corresponds to whether protocol type is setting protocol type.Understandably, H5 interfaces are used
Family is numerous, when being communicated with different types of native, it is necessary to establish different types of communication protocol to make a distinction.For determining
H5 interfaces and native, set the communication protocol uniquely determined between the two, this setting communication protocol be set association
Discuss type.Such as a certain H5 interfaces, and native of its communication has A, B, C tri-, its protocol header is respectively aa, bb, cc,
Only when the protocol header for judging A is aa, just communicated with H5 interfaces;Accordingly when the protocol header for judging B is bb,
Just communicated with H5 interfaces;When the protocol header for judging C is cc, just communicated with H5 interfaces.Recalls information is carried out
The protocol header for obtaining communication protocol is split, and this protocol header and setting protocol type are compared, to judge whether recalls information is come
From in the H5 interfaces to be communicated with native, when coming from the H5 interfaces with this native communications, by the data of demand parameter
Type is changed, and when being not from the H5 interfaces with native communications, then explanation has communication mistake or other danger
Situations such as dangerous attack, this is not processed, to ensure communication security, prevent dangerous communication request from being attacked to native
Hit, cause the system failure;The data in communication protocol are only received simultaneously, are avoided to the data receiver in non-communicating agreement, increase
The burden of communication port, improve communication accuracy rate.
Further, reference picture 4, Fig. 4 is the schematic flow sheet of data calling method fourth embodiment of the present invention, based on this
The 3rd embodiment of invention data calling method proposes the fourth embodiment of the present invention.
In the present embodiment, wrapped before the step of reception H5 interfaces are sent recalls information and dictionary information collection
Include:
Step S60, initial configuration information is received, carrying out initialization to all interfaces called for H5 interface communications matches somebody with somebody
Put, when receiving the recalls information of H5 interfaces transmission, to be responded to the recalls information.
Further, this programme with H5 interface communications call before, it is necessary to which the interface called with H5 interface communications is entered
Row initial configuration, because the function of interface is realized by interface module, thus docking port module is needed to carry out initial configuration, because can
The interface module called with H5 interface communications is numerous, so should carry out all interface modules that can be called with H5 interface communications just
Beginningization configures.According to the different recalls informations for receiving the transmission of H5 interfaces, to call corresponding interface module to this recalls information
Respond, realize the calling function at H5 interfaces.In addition this programme is provided with data interaction administrative center, to receive H5 circle
After the recalls information in face, turn-on data interaction is unified by data interaction administrative center fractured operation is carried out to recalls information, kept away
Exempt from the difference according to the recalls information for receiving H5 interfaces, open different data interactions, system resource can be saved, reduce internal memory
Consumption.Initial configuration need to be carried out to data interactive maintenance center accordingly, specifically include initial configuration file array
Configuration file array readfilelist and initialization js interfaces and model mappings had been read to obtain in filelist, initialization
Relation dictionary modelinfo, and loading configuration file.Wherein loading configuration file the step of include:Judge whether to have loaded this
Configuration file, when having loaded, skip and do not handle;When not loading, configuration file is parsed, the configuration file is recorded to having read
List readfilelist is taken, reads the profile list extended in the configuration file to filelist, and read the configuration
Interface and model relationship maps to modelinfo in file in each interface module, complete the initial of data interaction administrative center
Change configuration.
Further, after initial configuration is carried out to the interface module of all interfaces that can be called with H5 interface communications,
Also need to the interface module information of this all interface that can be called with H5 interface communications being injected into H5 interfaces, so as to H5 interfaces
All interface modules being in communication with are known, to send recalls information according to demand.Wherein to H5 interfaces grouting socket
The step of module information, includes:Judge whether, with loading interface module information, if interface module information does not load, to search interface
Configuration file where module, and judge whether to find this configuration file, if not finding, skip and do not handle and check that configuration is
It is no correct, the configuration file where loading interface module if finding;If interface module information has loaded, from mapping relations word
Allusion quotation modelinfo obtains the interface dope vector of all configurations of interface module, and travels through the interface array of total interface module
Information, it can be adjusted after splicing the interface of interface module to H5 interfaces grouting socket module information, completion by all with H5 interface communications
The interface module information of interface is injected into the operation in H5 interfaces.
Reference picture 5, Fig. 5 are the device structure schematic diagrams for the hardware running environment that present invention method is related to.
Data call of embodiment of the present invention device can be PC or smart mobile phone, tablet personal computer, e-book reading
Device, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio
Aspect 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression
Standard audio aspect 3) terminal device such as player, pocket computer.
As shown in figure 5, the data call device can include:Processor 1001, such as CPU, memory 1005, communication are total
Line 1002.Wherein, communication bus 1002 is used to realize the connection communication between processor 1001 and memory 1005.Memory
1005 can be high-speed RAM memory or stable memory (non-volatile memory), such as disk is deposited
Reservoir.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
Alternatively, the data call device can also include user interface, network interface, camera, RF (Radio
Frequency, radio frequency) circuit, sensor, voicefrequency circuit, WiFi module etc..User interface can include display screen
(Display), input block such as keyboard (Keyboard), optional user interface can also include wireline interface, the nothing of standard
Line interface.Network interface can optionally include wireline interface, the wave point (such as WI-FI interfaces) of standard.
It will be understood by those skilled in the art that structure paired data does not call the data call apparatus structure shown in Fig. 5
The restriction of device, it can include than illustrating more or less parts, either combine some parts or different part cloth
Put.
As shown in figure 5, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network
Believe module and data call program.Operating system is the program of management and control data calling device hardware and software resource,
Support the operation of data call program and other softwares and/or program.Network communication module is used to realize in memory 1005
Communication between each component in portion, and with being communicated in data call device between other hardware and softwares.
In the data call device shown in Fig. 5, processor 1001 is used to perform the data tune stored in memory 1005
With program, following steps are realized:
Recalls information and the dictionary information collection that H5 interfaces are sent are received, and the recalls information is split and torn open
Divided data, wherein splitting datagram include the interface name and demand parameter of current H5 interfaces calling interface.
The data type of the demand parameter is converted into the dictionary type matched with dictionary information collection by character string type,
And the demand parameter that will convert into dictionary type is concentrated from dictionary information as keyword and obtains ginseng corresponding with the keyword
Numerical value.
Calling interface is determined according to the interface name, the parameter value handled by calling interface, completes data
Call.
Further, it is described that calling interface is determined according to the interface name, the parameter value is carried out by calling interface
The step of handling, completing data call includes:
Calling interface, and the data mould according to corresponding to the calling interface determines calling interface are determined according to the interface name
Type.
The keyword and parameter value are converted into data entity model corresponding with the data model, connect by calling
Mouth is handled the data entity model, completes data call.
Further, it is described that the data entity model is handled by calling interface, complete the step of data call
After rapid, the processor 1001 is used to perform the data call program, to realize following steps:
Judge whether include feedback information in the recalls information, when including feedback information in the recalls information, root
According to the feedback information complex data is fed back to H5 interfaces.
Further, the fractionation data also include protocol header, and the data type by the demand parameter is by character
Before string type is converted to the step of dictionary type matched with dictionary information collection, the processor 1001 is used to perform the number
According to caller, to realize following steps:
Judge the protocol header whether be setting protocol type, when the protocol header be setting protocol type when, perform general
The step of data type of the demand parameter is converted to the dictionary type matched with dictionary information collection by character string type.
Further, before the step of reception H5 interfaces are sent recalls information and dictionary information collection, the place
Reason device 1001 is used to perform the data call program, to realize following steps:
Initial configuration information is received, initial configuration is carried out to all interfaces called for H5 interface communications, to connect
When receiving the recalls information of H5 interfaces transmission, the recalls information is responded.
Data call device embodiment of the present invention and each embodiment of above-mentioned data calling method are essentially identical, herein
Repeat no more.
The invention provides a kind of computer-readable recording medium, the computer-readable recording medium storage have one or
More than one program of person, one either more than one program can also by one or more than one computing device with
In:
Recalls information and the dictionary information collection that H5 interfaces are sent are received, and the recalls information is split and torn open
Divided data, wherein splitting datagram include the interface name and demand parameter of current H5 interfaces calling interface.
The data type of the demand parameter is converted into the dictionary type matched with dictionary information collection by character string type,
And the demand parameter that will convert into dictionary type is concentrated from dictionary information as keyword and obtains ginseng corresponding with the keyword
Numerical value.
Calling interface is determined according to the interface name, the parameter value handled by calling interface, completes data
Call.
Further, it is described that calling interface is determined according to the interface name, the parameter value is carried out by calling interface
The step of handling, completing data call includes:
Calling interface, and the data mould according to corresponding to the calling interface determines calling interface are determined according to the interface name
Type.
The keyword and parameter value are converted into data entity model corresponding with the data model, connect by calling
Mouth is handled the data entity model, completes data call.
Further, it is described that the data entity model is handled by calling interface, complete the step of data call
After rapid, one either more than one program can also by one or more than one computing device for:
Judge whether include feedback information in the recalls information, when including feedback information in the recalls information, root
According to the feedback information complex data is fed back to H5 interfaces.
Further, the fractionation data also include protocol header, and the data type by the demand parameter is by character
Before string type is converted to the step of dictionary type matched with dictionary information collection, one or more than one program may be used also
By one or more than one computing device for:
Judge the protocol header whether be setting protocol type, when the protocol header be setting protocol type when, perform general
The step of data type of the demand parameter is converted to the dictionary type matched with dictionary information collection by character string type.
Further, before the step of reception H5 interfaces are sent recalls information and dictionary information collection, described one
Individual either more than one program can also by one or more than one computing device for:
Initial configuration information is received, initial configuration is carried out to all interfaces called for H5 interface communications, to connect
When receiving the recalls information of H5 interfaces transmission, the recalls information is responded.
Computer-readable recording medium embodiment of the present invention and the basic phase of each embodiment of above-mentioned data calling method
Together, will not be repeated here.
It should also be noted that, herein, term " comprising ", "comprising" or its any other variant are intended to non-
It is exclusive to include, so that process, method, article or device including a series of elements not only include those key elements,
But also the other element including being not expressly set out, or also include solid by this process, method, article or device
Some key elements.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including
Other identical element also be present in the process of the key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone,
Computer, server, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every at this
Under the design of invention, the equivalent structure transformation made using description of the invention and accompanying drawing content, or directly/it is used in indirectly
He is included in the scope of patent protection of the present invention related technical field.
Claims (10)
1. a kind of data calling method, it is characterised in that the data calling method comprises the following steps:
Recalls information and the dictionary information collection that H5 interfaces are sent are received, and the recalls information is split to obtain and splits number
According to wherein splitting datagram includes the interface name and demand parameter of current H5 interfaces calling interface;
The data type of the demand parameter is converted into the dictionary type matched with dictionary information collection by character string type, and will
The demand parameter of dictionary type is converted into as keyword, is concentrated from dictionary information and obtains parameter corresponding with the keyword
Value;
Calling interface is determined according to the interface name, the parameter value handled by calling interface, completes data call.
2. data calling method as claimed in claim 1, it is characterised in that described to determine that calling connects according to the interface name
Mouthful, the parameter value is handled by calling interface, complete data call the step of include:
Calling interface, and the data model according to corresponding to the calling interface determines calling interface are determined according to the interface name;
The keyword and parameter value are converted into data entity model corresponding with the data model, pass through calling interface pair
The data entity model is handled, and completes data call.
3. data calling method as claimed in claim 2, it is characterised in that described real to the data by calling interface
Body Model is handled, complete data call the step of after include:
Judge whether include feedback information in the recalls information, when including feedback information in the recalls information, according to institute
State feedback information and feed back to complex data to H5 interfaces.
4. data calling method as claimed in claim 2, it is characterised in that the fractionation data also include protocol header,
The data type by the demand parameter is converted to the dictionary type matched with dictionary information collection by character string type
The step of before include:
Judge whether the protocol header is setting protocol type, when the protocol header is setting protocol type, perform by described in
The step of data type of demand parameter is converted to the dictionary type matched with dictionary information collection by character string type.
5. the data calling method as described in claim any one of 1-4, it is characterised in that the tune that the reception H5 interfaces are sent
Included with before the step of information and dictionary information collection:
Initial configuration information is received, initial configuration is carried out to all interfaces called for H5 interface communications, to receive
During the recalls information that H5 interfaces are sent, the recalls information is responded.
6. a kind of data call device, it is characterised in that the data call device includes:Memory, processor, communication bus
And it is stored in the data call program on the memory;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform the data call program, to realize following steps:
Recalls information and the dictionary information collection that H5 interfaces are sent are received, and the recalls information is split to obtain and splits number
According to wherein splitting datagram includes the interface name and demand parameter of current H5 interfaces calling interface;
The data type of the demand parameter is converted into the dictionary type matched with dictionary information collection by character string type, and will
The demand parameter of dictionary type is converted into as keyword, is concentrated from dictionary information and obtains parameter corresponding with the keyword
Value;
Calling interface is determined according to the interface name, the parameter value handled by calling interface, completes data call.
7. data call device as claimed in claim 6, it is characterised in that described to determine that calling connects according to the interface name
Mouthful, the parameter value is handled by calling interface, complete data call the step of include:
Calling interface, and the data model according to corresponding to the calling interface determines calling interface are determined according to the interface name;
The keyword and parameter value are converted into data entity model corresponding with the data model, pass through calling interface pair
The data entity model is handled, and completes data call.
8. data call device as claimed in claim 7, it is characterised in that it is described by calling interface to the data entity
Model is handled, complete data call the step of after, the processor be used for perform the data call program, with realize
Following steps:
Judge whether include feedback information in the recalls information, when including feedback information in the recalls information, according to institute
State feedback information and feed back to complex data to H5 interfaces.
9. data call device as claimed in claim 7, it is characterised in that the fractionation data also include protocol header,
The data type by the demand parameter is converted to the dictionary type matched with dictionary information collection by character string type
The step of before, the processor be used for perform the data call program, to realize following steps:
Judge whether the protocol header is setting protocol type, when the protocol header is setting protocol type, perform by described in
The step of data type of demand parameter is converted to the dictionary type matched with dictionary information collection by character string type.
10. a kind of computer-readable recording medium, it is characterised in that the computer class is read to be stored with data tune in storage medium
With program, the data call as any one of claim 1-5 is realized when the data call program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710617383.0A CN107861713B (en) | 2017-07-25 | 2017-07-25 | Data calling method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710617383.0A CN107861713B (en) | 2017-07-25 | 2017-07-25 | Data calling method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107861713A true CN107861713A (en) | 2018-03-30 |
CN107861713B CN107861713B (en) | 2020-10-27 |
Family
ID=61699244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710617383.0A Active CN107861713B (en) | 2017-07-25 | 2017-07-25 | Data calling method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107861713B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733377A (en) * | 2018-05-14 | 2018-11-02 | 广东蜂助手网络技术股份有限公司 | The JS exchange methods of page end and mobile phone terminal in a kind of App |
CN108804082A (en) * | 2018-05-10 | 2018-11-13 | 北京酷我科技有限公司 | A kind of implementation method of plug-in unit JSBridge |
CN108920218A (en) * | 2018-05-23 | 2018-11-30 | 北京五八信息技术有限公司 | A kind of reflection call method, device, terminal and computer readable storage medium |
CN109377348A (en) * | 2018-09-27 | 2019-02-22 | 深圳市佰仟金融服务有限公司 | Applied to the business interface call method for helping loan operation system and help loan operation system |
CN109688158A (en) * | 2019-01-23 | 2019-04-26 | 平安科技(深圳)有限公司 | Finance executes chain authentication method, electronic device and storage medium |
CN109814965A (en) * | 2019-01-10 | 2019-05-28 | 北京城市网邻信息技术有限公司 | Processing method, device, electronic equipment and the storage medium of the H5 page |
CN110069248A (en) * | 2019-03-16 | 2019-07-30 | 平安城市建设科技(深圳)有限公司 | Call method, device, equipment and the computer readable storage medium of interface data |
CN110222286A (en) * | 2019-05-21 | 2019-09-10 | 平安普惠企业管理有限公司 | Information acquisition method, device, terminal and computer readable storage medium |
CN110674376A (en) * | 2019-09-09 | 2020-01-10 | 中国平安财产保险股份有限公司 | Interface parameter checking method, device, equipment and computer readable storage medium |
CN110750738A (en) * | 2018-07-06 | 2020-02-04 | 武汉斗鱼网络科技有限公司 | Method for adding label to anchor and electronic equipment |
CN111338819A (en) * | 2020-02-24 | 2020-06-26 | 政采云有限公司 | Method, system, equipment and readable storage medium for processing business object |
CN111352741A (en) * | 2018-12-21 | 2020-06-30 | 马上消费金融股份有限公司 | Interface calling method and device, intelligent terminal and storage device |
CN111382378A (en) * | 2018-12-28 | 2020-07-07 | 北京字节跳动网络技术有限公司 | Resource loading method and device, mobile terminal and storage medium |
CN111381824A (en) * | 2020-03-11 | 2020-07-07 | 苏州金羲智慧科技有限公司 | Method, system, device and medium for synchronizing user data in multi-architecture |
CN111858368A (en) * | 2020-07-27 | 2020-10-30 | 成都新潮传媒集团有限公司 | Data processing method, device and storage medium |
CN116302041A (en) * | 2023-04-06 | 2023-06-23 | 北京拙河科技有限公司 | Optimization method and device for light field camera interface module |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150293797A1 (en) * | 2014-04-14 | 2015-10-15 | Chall Fry | Methods and systems for key value observing |
CN105204824A (en) * | 2014-05-30 | 2015-12-30 | 北大方正集团有限公司 | Method and device for communication between application and mobile terminal |
CN105607895A (en) * | 2014-11-21 | 2016-05-25 | 阿里巴巴集团控股有限公司 | Operation method and device of application program on the basis of application program programming interface |
CN105739967A (en) * | 2016-01-19 | 2016-07-06 | 四川长虹电器股份有限公司 | Method of asynchronously calling native by js in mobile application |
CN105824626A (en) * | 2016-03-14 | 2016-08-03 | 广东电网有限责任公司电力科学研究院 | External shared service method for data pool |
US20170109218A1 (en) * | 2015-10-15 | 2017-04-20 | PokitDok, Inc. | System and method for dynamic metadata persistence and correlation on api transactions |
CN106897162A (en) * | 2017-02-23 | 2017-06-27 | 腾讯科技(深圳)有限公司 | The communication mode system of selection of component, communication system and mobile terminal in a kind of application |
-
2017
- 2017-07-25 CN CN201710617383.0A patent/CN107861713B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150293797A1 (en) * | 2014-04-14 | 2015-10-15 | Chall Fry | Methods and systems for key value observing |
CN105204824A (en) * | 2014-05-30 | 2015-12-30 | 北大方正集团有限公司 | Method and device for communication between application and mobile terminal |
CN105607895A (en) * | 2014-11-21 | 2016-05-25 | 阿里巴巴集团控股有限公司 | Operation method and device of application program on the basis of application program programming interface |
US20170109218A1 (en) * | 2015-10-15 | 2017-04-20 | PokitDok, Inc. | System and method for dynamic metadata persistence and correlation on api transactions |
CN105739967A (en) * | 2016-01-19 | 2016-07-06 | 四川长虹电器股份有限公司 | Method of asynchronously calling native by js in mobile application |
CN105824626A (en) * | 2016-03-14 | 2016-08-03 | 广东电网有限责任公司电力科学研究院 | External shared service method for data pool |
CN106897162A (en) * | 2017-02-23 | 2017-06-27 | 腾讯科技(深圳)有限公司 | The communication mode system of selection of component, communication system and mobile terminal in a kind of application |
Non-Patent Citations (2)
Title |
---|
WZMFLA: "解析json字符串,根据key得到对应的value的方法", 《HTTPS://BLOG.CSDN.NET/WZMFLA/ARTICLE/DETAILS/60872952》 * |
张帆: "移动运维系统的设计与实现", 《中国优秀硕士学位论文全文数据库 科技辑》 * |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108804082A (en) * | 2018-05-10 | 2018-11-13 | 北京酷我科技有限公司 | A kind of implementation method of plug-in unit JSBridge |
CN108733377A (en) * | 2018-05-14 | 2018-11-02 | 广东蜂助手网络技术股份有限公司 | The JS exchange methods of page end and mobile phone terminal in a kind of App |
CN108920218A (en) * | 2018-05-23 | 2018-11-30 | 北京五八信息技术有限公司 | A kind of reflection call method, device, terminal and computer readable storage medium |
CN110750738B (en) * | 2018-07-06 | 2023-11-24 | 乐万家财富(北京)科技有限公司 | Method for adding tag to anchor and electronic equipment |
CN110750738A (en) * | 2018-07-06 | 2020-02-04 | 武汉斗鱼网络科技有限公司 | Method for adding label to anchor and electronic equipment |
CN109377348A (en) * | 2018-09-27 | 2019-02-22 | 深圳市佰仟金融服务有限公司 | Applied to the business interface call method for helping loan operation system and help loan operation system |
CN111352741A (en) * | 2018-12-21 | 2020-06-30 | 马上消费金融股份有限公司 | Interface calling method and device, intelligent terminal and storage device |
CN111352741B (en) * | 2018-12-21 | 2021-04-06 | 马上消费金融股份有限公司 | Interface calling method and device, intelligent terminal and storage device |
CN111382378B (en) * | 2018-12-28 | 2023-04-25 | 北京字节跳动网络技术有限公司 | Resource loading method and device, mobile terminal and storage medium |
CN111382378A (en) * | 2018-12-28 | 2020-07-07 | 北京字节跳动网络技术有限公司 | Resource loading method and device, mobile terminal and storage medium |
CN109814965A (en) * | 2019-01-10 | 2019-05-28 | 北京城市网邻信息技术有限公司 | Processing method, device, electronic equipment and the storage medium of the H5 page |
CN109814965B (en) * | 2019-01-10 | 2021-06-04 | 北京城市网邻信息技术有限公司 | H5 page processing method and device, electronic equipment and storage medium |
CN109688158B (en) * | 2019-01-23 | 2022-07-08 | 平安科技(深圳)有限公司 | Financial execution chain authentication method, electronic device and storage medium |
CN109688158A (en) * | 2019-01-23 | 2019-04-26 | 平安科技(深圳)有限公司 | Finance executes chain authentication method, electronic device and storage medium |
CN110069248A (en) * | 2019-03-16 | 2019-07-30 | 平安城市建设科技(深圳)有限公司 | Call method, device, equipment and the computer readable storage medium of interface data |
CN110222286A (en) * | 2019-05-21 | 2019-09-10 | 平安普惠企业管理有限公司 | Information acquisition method, device, terminal and computer readable storage medium |
CN110674376A (en) * | 2019-09-09 | 2020-01-10 | 中国平安财产保险股份有限公司 | Interface parameter checking method, device, equipment and computer readable storage medium |
CN111338819A (en) * | 2020-02-24 | 2020-06-26 | 政采云有限公司 | Method, system, equipment and readable storage medium for processing business object |
CN111381824A (en) * | 2020-03-11 | 2020-07-07 | 苏州金羲智慧科技有限公司 | Method, system, device and medium for synchronizing user data in multi-architecture |
CN111858368A (en) * | 2020-07-27 | 2020-10-30 | 成都新潮传媒集团有限公司 | Data processing method, device and storage medium |
CN116302041A (en) * | 2023-04-06 | 2023-06-23 | 北京拙河科技有限公司 | Optimization method and device for light field camera interface module |
CN116302041B (en) * | 2023-04-06 | 2023-11-21 | 北京拙河科技有限公司 | Optimization method and device for light field camera interface module |
Also Published As
Publication number | Publication date |
---|---|
CN107861713B (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107861713A (en) | Data calling method, device and computer-readable recording medium | |
US10284705B2 (en) | Method and apparatus for controlling smart device, and computer storage medium | |
CN103077185B (en) | A kind of method of object-based self-defined extension information | |
WO2019072201A1 (en) | Webpage content extraction method and terminal device | |
CN109725901A (en) | Development approach, device, equipment and the computer storage medium of front-end code | |
US20170083495A1 (en) | Method for Modifying Webpage and Apparatus for Modifying Webpage | |
CN109522018A (en) | Page processing method, device and storage medium | |
CN106815524B (en) | Malicious script file detection method and device | |
CN109726108B (en) | Front-end code testing method, device, system and medium based on analog data | |
WO2016011879A1 (en) | Web page display method and apparatus | |
CN104679627A (en) | Testing method and device | |
CN106406844A (en) | A method and a device for realizing a communication interaction platform official account menu | |
CN113536185B (en) | Application page loading method, storage medium and related equipment | |
CN111931102A (en) | Method, device and system for constructing page | |
CN114036425A (en) | Page access method, client, server and system | |
CN106503111A (en) | Webpage code-transferring method, device and client terminal | |
CN103812946B (en) | Method and system for online cloud updating of AR application program | |
CN114610372A (en) | Processing method and device for review file, storage medium, processor and terminal | |
CN103079194B (en) | Service adaptation method, apparatus and system | |
CN109032693A (en) | Method and device for loading display information, electronic equipment and readable storage medium | |
CN110532494A (en) | Users' personal allocation method, system and the computer equipment of B/S application | |
CN109446052B (en) | Verification method and device for application program | |
CN105426183A (en) | Form verification method | |
CN109901859A (en) | Dynamic configuration official documents and correspondence method, electronic device and storage medium | |
CN112395138B (en) | Method and device for checking parameters |
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 |