CN108717357B - Page display code conversion method, device, equipment and computer storage medium - Google Patents

Page display code conversion method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN108717357B
CN108717357B CN201810499736.6A CN201810499736A CN108717357B CN 108717357 B CN108717357 B CN 108717357B CN 201810499736 A CN201810499736 A CN 201810499736A CN 108717357 B CN108717357 B CN 108717357B
Authority
CN
China
Prior art keywords
converted
code
page
display
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810499736.6A
Other languages
Chinese (zh)
Other versions
CN108717357A (en
Inventor
许彦锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201810499736.6A priority Critical patent/CN108717357B/en
Publication of CN108717357A publication Critical patent/CN108717357A/en
Application granted granted Critical
Publication of CN108717357B publication Critical patent/CN108717357B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a page display code conversion method, a device, equipment and a computer storage medium, wherein the method comprises the following steps: when a code to be converted is received, reading a type identifier carried in the code to be converted, and determining a conversion template and a terminal type identifier according to the type identifier; invoking a conversion template to detect codes to be converted, judging whether preset conversion parameters in the conversion template exist in the codes to be converted line by line, and if so, determining the preset conversion parameters existing in the codes to be converted as the parameters to be converted of the codes to be converted; and determining a preset parameter value corresponding to the parameter to be converted in the conversion template according to the terminal type identifier, and replacing the parameter value of the parameter to be converted with the preset parameter value to convert the code to be converted into the page display code. The scheme is that a conversion template and a preset parameter value are preset, and codes to be converted are converted through the conversion template and the preset parameter value; multiple sets of page display codes are prevented from being developed aiming at the same application software, and development workload is reduced.

Description

Page display code conversion method, device, equipment and computer storage medium
Technical Field
The invention mainly relates to the technical field of application software, in particular to a page display code conversion method, a page display code conversion device, page display code conversion equipment and a computer storage medium.
Background
With the development of application software technology, many application software can be used on different terminals, such as computers, mobile phones, tablet computers, and the like. Different terminals have different hardware types, so that page display modes of application software are different, such as page display differences caused by display size differences of display devices in the terminals. In order to present the pages in the same application software on different terminals, different code versions for page presentation need to be developed for the same software to adapt to different terminals. The different code versions have similarity, and repeated development and testing processes increase the workload and consume a great deal of time and effort for staff.
Disclosure of Invention
The invention mainly aims to provide a page display code conversion method, a device, equipment and a computer storage medium, and aims to solve the problems that in the prior art, code versions for different terminal page displays are developed for the same software, and a great deal of time and effort are spent on workers.
In order to achieve the above object, the present invention provides a page presentation transcoding method, comprising the steps of:
when a code to be converted is received, reading a type identifier carried in the code to be converted, and determining a conversion template and a terminal type identifier according to the type identifier;
invoking the conversion template to detect the codes to be converted, determining parameters to be converted in the codes to be converted, judging whether preset conversion parameters in the conversion template exist in the codes to be converted line by line, and determining the preset conversion parameters in the codes to be converted as the parameters to be converted in the codes to be converted if the preset conversion parameters exist in the conversion template;
and determining a preset parameter value corresponding to the parameter to be converted in the conversion template according to the terminal type identifier, and replacing the parameter value of the parameter to be converted with the preset parameter value to convert the code to be converted into a page display code.
Preferably, the step of converting the code to be converted into page presentation code includes:
controlling the page display code to run, generating a running result, judging whether the running result is successful, and if the running result is successful, outputting prompt information that the page display code conversion is successful;
If the operation result is that the operation fails, a preset detection code is called to detect the validity of the form logic in the page display code, and a detection result is generated;
and obtaining a difference item between the code to be converted and the page display code, adding the difference item into the detection result to form a new detection result, and outputting the new detection result.
Preferably, the step of outputting the new detection result includes:
receiving a modification instruction sent based on the new detection result, and reading modification parameters and modification parameter values carried in the modification instruction;
and determining a target modification parameter in the page display code according to the modification parameter, and replacing a parameter value of the target modification parameter with the modification parameter value.
Preferably, the step of outputting the prompt information that the page shows that the transcoding is successful includes:
forming a key value corresponding relation between the page display code and the terminal type identifier, and storing the key value corresponding relation;
when a downloading request is received, determining the terminal type of a terminal from which the downloading request is sent according to a terminal request identifier carried in the downloading request;
And determining a page display code corresponding to the terminal type according to the corresponding relation of the key value pair, and transmitting the corresponding page display code to the terminal from which the downloading request is sent.
Preferably, before the step of issuing the corresponding page presentation code to the terminal from which the download request originates, the method includes:
and determining the display size of a display device on the terminal from which the downloading request is sent according to the downloading request, and arranging the display content in the corresponding page display code according to the display size to generate a terminal page display code.
Preferably, the step of arranging the display contents in the corresponding page display code according to the display size includes:
determining the adjustment type of a display picture in the display content according to the page identifier of the display content in the corresponding page display code;
when the adjustment type is scaling adjustment, scaling arrangement is carried out on the display pictures according to the display size;
and when the adjustment type is fixed arrangement, calling the display picture corresponding to the display size as the display picture in the display content to be arranged.
Preferably, the step of replacing the parameter value of the parameter to be converted with the preset parameter value comprises:
according to the corresponding relation between each parameter to be converted and the parameter annotation in a preset mapping table, determining the parameter annotation corresponding to the parameter to be converted;
and correspondingly adding the parameter annotation to a code row of the code to be converted where the parameter to be converted is located, and displaying the code row in a distinguishing way from other code rows in the code to be converted.
In addition, in order to achieve the above object, the present invention also provides a page presentation transcoding device, the page presentation transcoding device comprising:
the reading module is used for reading the type identifier carried in the code to be converted when the code to be converted is received, and determining a conversion template and a terminal type identifier according to the type identifier;
the calling module is used for calling the conversion template to detect the codes to be converted, judging whether preset conversion parameters in the conversion template exist in the codes to be converted line by line, and determining the preset conversion parameters existing in the codes to be converted as the parameters to be converted in the codes to be converted if the preset conversion parameters exist in the conversion template;
And the conversion module is used for determining a preset parameter value corresponding to the parameter to be converted in the conversion template according to the terminal type identifier, and replacing the parameter value of the parameter to be converted with the preset parameter value so as to convert the code to be converted into a page display code.
In addition, to achieve the above object, the present invention also proposes a page presentation transcoding device, comprising: a memory, a processor, a communication bus, and a page presentation transcoding program stored on the memory;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the page presentation transcoding program to implement the steps of:
when a code to be converted is received, reading a type identifier carried in the code to be converted, and determining a conversion template and a terminal type identifier according to the type identifier;
invoking the conversion template to detect the codes to be converted, judging whether preset conversion parameters in the conversion template exist in the codes to be converted line by line, and determining the preset conversion parameters existing in the codes to be converted as the parameters to be converted in the codes to be converted if the preset conversion parameters exist in the conversion template;
And determining a preset parameter value corresponding to the parameter to be converted in the conversion template according to the terminal type identifier, and replacing the parameter value of the parameter to be converted with the preset parameter value to convert the code to be converted into a page display code.
In addition, to achieve the above object, the present invention also provides a computer storage medium storing one or more programs executable by one or more processors for:
when a code to be converted is received, reading a type identifier carried in the code to be converted, and determining a conversion template and a terminal type identifier according to the type identifier;
invoking the conversion template to detect the codes to be converted, judging whether preset conversion parameters in the conversion template exist in the codes to be converted line by line, and determining the preset conversion parameters existing in the codes to be converted as the parameters to be converted in the codes to be converted if the preset conversion parameters exist in the conversion template;
and determining a preset parameter value corresponding to the parameter to be converted in the conversion template according to the terminal type identifier, and replacing the parameter value of the parameter to be converted with the preset parameter value to convert the code to be converted into a page display code.
According to the page display code conversion method, when a code to be converted is received, a type identifier carried in the code to be converted is read, and a conversion template and a terminal type identifier are determined according to the type identifier; calling a conversion template to detect codes to be converted, judging whether preset conversion parameters in the conversion template exist in the codes to be converted line by line, and if so, determining the preset conversion parameters existing in the codes to be converted as the parameters to be converted in the codes to be converted; and determining a preset parameter value corresponding to the parameter to be converted in the conversion template according to the terminal type identifier, and replacing the parameter value of the parameter to be converted with the preset parameter value to convert the code to be converted into the page display code. The method comprises the steps of setting a conversion mechanism for codes to be converted for page display, presetting conversion templates for converting page display codes of different application software, and presetting parameter values suitable for page display of different terminals; when a code to be converted is received, determining a conversion template of the type of the application software represented by the code to be converted through a type identifier in the code to be converted; detecting parameters to be converted in the codes to be converted through a conversion template, determining preset parameter values applicable to the types of the terminals to be converted of the codes to be converted through the terminal type identifiers, and replacing the parameter values of the parameters to be converted with the preset parameter values; the conversion of the page display codes of the same application software among different types of terminals is completed, the development of the page display codes of the same application software aiming at different types of terminals is avoided, the workload of staff is reduced, and the labor cost is reduced.
Drawings
FIG. 1 is a flow chart of a first embodiment of a page presentation transcoding method of the present invention;
FIG. 2 is a flow chart of a second embodiment of the page-showing transcoding method of the present invention;
FIG. 3 is a flow chart of a third embodiment of a page presentation transcoding method of the present invention;
FIG. 4 is a functional block diagram of a first embodiment of a page display transcoding device of the present invention;
FIG. 5 is a schematic diagram of a device architecture of a hardware operating environment involved in a method according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The invention provides a page display code conversion method.
Referring to fig. 1, fig. 1 is a flowchart illustrating a first embodiment of a transcoding method according to the present invention. In this embodiment, the page presentation transcoding method includes:
step S10, when a code to be converted is received, reading a type identifier carried in the code to be converted, and determining a conversion template and a terminal type identifier according to the type identifier;
The page display code conversion method is applied to the server and is suitable for converting the page display codes of the same application software among different types of terminals. The terminal can be a mobile phone, a tablet personal computer, a notebook computer and the like, can install application software, and displays pages of the application software for users to use. The displayed application software page is realized by codes, and the codes for realizing page display are taken as page display codes. Developing a page display code of the application software, such as a computer, by a developer aiming at a certain terminal so as to display the page of the application software on the terminal; the page presentation code is then converted to obtain a page presentation code that presents the application software page on another terminal. In addition, the page display code developed by a developer can be used as the code to be converted, instead of a specific terminal, a general code is developed first, and then the general code is respectively converted into the page display code for displaying the application software page on different terminals, and the general code is used as the code to be converted. In consideration of the fact that the application software which can be installed on different terminals is of a plurality of types, the content required to be displayed by the application software of different types is different, different types of page display codes are developed corresponding to the application software of different types, and the content required to be converted by the page display codes of different types is also different. In order to realize conversion of different types of page display codes, different conversion templates are preset for the different types of page display codes, so that the different conversion templates are called according to the types of the page display codes to perform conversion.
When a conversion requirement exists, a developer uploads a code to be converted, which is required to be converted and is tested successfully, to a server; in order to distinguish the types of the codes to be converted, a type identifier is set for the codes to be converted before uploading so as to characterize the type of the codes to be converted. The application type characterizes which application software to convert the code to be converted and the applicable terminal type characterizes which type of terminal to convert the code to be converted. Setting a type identifier F12, wherein 'F' represents the type identifier, namely the string of symbols is the type identifier, '1' represents the type of the application software, and '2' represents the applicable terminal type; presetting a corresponding relation between the type and the number of the application software: the number "1" corresponds to the application software "WeChat", the number "2" corresponds to the application software "Wake out Bao", and the number "3" corresponds to the application software "Wake out Bao"; meanwhile, the corresponding relation between the type and the number of the applicable terminal is preset: the number "1" corresponds to the terminal "notebook", the number "2" corresponds to the terminal "mobile phone", and the number "3" corresponds to the terminal "tablet"; thus, according to the type identifier F12, the page presentation code of the application software WeChat can be determined to be converted and is suitable for the mobile phone version. When the server receives the uploaded code to be converted, the type identifier carried in the code to be converted is read, and the application software type and the applicable terminal type represented by the content of the type identifier are determined according to the corresponding relation between the preset application software type and the number and the corresponding relation between the applicable terminal type and the number. The codes to be converted of the application software of different types are converted through different conversion templates, so that the corresponding conversion templates can be determined through the determined application software types; in order to determine which type of terminal the code to be converted of the application software needs to be converted into, the serial number corresponding to the applicable terminal type in the type identifier is used as the terminal type identifier to represent the terminal type to be converted; the method and the device realize the determination of the conversion template corresponding to the type of the application software and the characterization of the terminal type identification which needs to be converted into which type of terminal is applicable according to the read type identifier.
Step S20, the conversion template is called to detect the codes to be converted, whether preset conversion parameters in the conversion template exist in the codes to be converted or not is judged row by row, and if the preset conversion parameters exist in the conversion template, the preset conversion parameters existing in the codes to be converted are determined to be the parameters to be converted in the codes to be converted;
further, after determining the conversion template corresponding to the application software type, the conversion template is called to detect the template to be converted. The conversion template is essentially a detection code, wherein preset conversion parameters for representing the required conversion in the code to be converted are preset; the code in the code to be converted exists in the form of code lines, the conversion template is controlled to run during detection, the code to be converted is read line by line, whether preset conversion parameters exist in each line of the code to be converted is judged, and if the preset conversion parameters exist in the code to be converted and the preset conversion parameters in the code to be converted are determined as the parameters to be converted, which are required to be converted in the code to be converted. If the font size and the picture size in the code to be converted need to be converted, presetting contents M1 and M2 representing the two items into a conversion template as preset conversion parameters, detecting the contents of each row in the code to be converted through the conversion template, judging whether the M1 and the M2 exist in each row, and determining the M1 and the M2 existing in each row as the parameters to be converted.
Step S30, according to the terminal type identifier, determining a preset parameter value corresponding to the parameter to be converted in the conversion template, and replacing the parameter value of the parameter to be converted with the preset parameter value to convert the code to be converted into a page display code.
Further, corresponding preset parameter values are preset in the conversion template corresponding to each parameter to be converted, after the parameter to be converted required in the code to be converted is determined, the preset parameter value corresponding to the parameter to be converted in the conversion template is further determined, and the corresponding preset parameter value is used for replacing the original parameter value in the parameter to be converted. However, it is considered that the code to be converted can be converted between different types of terminals, and the contents supported by the different types of terminals are different, or the display modes of the supported contents are different. Setting a plurality of preset parameter values for the same parameter to be converted in the conversion template aiming at the requirements of different types of terminals, for example, setting preset parameter values n1 and n2 for the parameter to be converted 'font size' in the conversion template aiming at a computer and a mobile phone respectively. Because there may be a plurality of corresponding preset parameter values of the parameters to be converted in the conversion template, and each preset parameter value is related to the terminal type; so that it is determined which preset parameter value to use for the replacement by determining which type of terminal to apply to the transcoding to be converted before the replacement of the original parameter value of the parameter to be converted. The terminal type identifier is used for representing the terminal type, so that according to the page display type, the terminal type can be determined to be suitable for which type of terminal needs to be converted, further, a preset parameter value corresponding to the parameter to be converted in the conversion template is determined, and the preset parameter value is called to replace the parameter value of the parameter to be converted. If the terminal type represented by the terminal type identifier is a computer, determining that n1 is a preset parameter value corresponding to the to-be-converted parameter "font size", and calling n1 to replace the original parameter of "font size". Understandably, after replacing all parameter values of parameters to be converted in the codes to be converted, converting the codes to be converted by the replacing operation into page display codes applicable to terminals corresponding to the terminal type identifier; the page of the application software is displayed on the terminal, so that a developer is prevented from repeatedly developing codes for the terminal.
According to the page display code conversion method, when a code to be converted is received, a type identifier carried in the code to be converted is read, and a conversion template and a terminal type identifier are determined according to the type identifier; calling a conversion template to detect codes to be converted, judging whether preset conversion parameters in the conversion template exist in the codes to be converted line by line, and if so, determining the preset conversion parameters existing in the codes to be converted as the parameters to be converted in the codes to be converted; and determining a preset parameter value corresponding to the parameter to be converted in the conversion template according to the terminal type identifier, and replacing the parameter value of the parameter to be converted with the preset parameter value to convert the code to be converted into the page display code. The method comprises the steps of setting a conversion mechanism for codes to be converted for page display, presetting conversion templates for converting page display codes of different application software, and presetting parameter values suitable for page display of different terminals; when a code to be converted is received, determining a conversion template of the type of the application software represented by the code to be converted through a type identifier in the code to be converted; detecting parameters to be converted in the codes to be converted through a conversion template, determining preset parameter values applicable to the types of the terminals to be converted of the codes to be converted through the terminal type identifiers, and replacing the parameter values of the parameters to be converted with the preset parameter values; the conversion of the page display codes of the same application software among different types of terminals is completed, the development of the page display codes of the same application software aiming at different types of terminals is avoided, the workload of staff is reduced, and the labor cost is reduced.
Further, referring to fig. 2, a second embodiment of the page display code conversion method according to the present invention is provided on the basis of the first embodiment of the page display code conversion method according to the present invention, in the second embodiment, the step of converting the code to be converted into the page display code includes:
step S40, controlling the page display code to run, generating a running result, judging whether the running result is successful, and if the running result is successful, outputting prompt information that the page display code conversion is successful;
it will be appreciated that after conversion to the page-showing code, testing of the converted page-showing code is required in order to ensure that the converted page-showing code is functioning properly. When in test, the control page displays code operation, and generates an operation result whether the code can normally operate; wherein, the normal operation can generate an operation result with successful operation; but the normal operation can not be generated to generate an operation result of operation failure; judging whether the operation is successful or not according to the state of normal operation in the operation result. When judging that the operation is successful according to the state of whether the operation can be normally operated or not in the operation result, the page display code is indicated to be normally operated, and prompt information of the successful operation of the page display code is output so as to prompt that the converted page display code can be operated on a terminal corresponding to the terminal type identifier.
Step S50, if the operation result is that the operation fails, a preset detection code is called to detect the validity of form logic in the page display code, and a detection result is generated;
and when judging that the operation fails according to the state of whether the operation can be performed normally or not in the operation result, namely, the page display code cannot be performed normally, the converted page display code cannot be performed on the terminal corresponding to the terminal type identifier. And outputting prompt information of failure in running the page display code so as to modify the converted page display code according to the prompt information. Considering that the precondition of normal running of codes is that the formal logic of the codes is effective, codes which do not meet the format requirement or the logic requirement do not exist, so that in order to quickly and conveniently find out the incorrect position of the formal logic in the page display code, a mechanism for detecting the running failure caused by the formal logic problem by presetting the detection code is arranged in the embodiment. And when the operation result is judged to be failure operation, calling a preset detection code to carry out traversal scanning on the page display code so as to detect the validity of form logic in the page display code. Wherein the validity of formal logic includes variable definition valid, numerical valid, logic valid, etc.; variable definitions effectively represent variables used in the code are defined, not randomly occurring variables; the value effectively indicates that when the variable is assigned, the assigned value is matched with the type defined by the variable; the logic effectively indicates that the running logic in the code is normal, and no contradiction and confusion phenomenon exists. If the value of the variable a defined as byte (byte) is-10, the range of byte is 0-255, and cannot be used for defining negative numbers, so that when the variable a is-10, the value requirement of the byte type variable is not met, and the operation is abnormal. After traversing the page display code by the preset detection code, generating a detection result to determine the formal logic problem in the page display code according to the detection result.
Step S60, obtaining a difference item between the code to be converted and the page display code, adding the difference item to the detection result to form a new detection result, and outputting the new detection result.
Further, since the converted page presentation code has a variety, all the form logic problems contained therein may not be detected when detected by the preset detection code, i.e., the generated detection result indicates that the page presentation code is normal, or only some of the form logic problems are detected. At this time, in order to facilitate the user to find the reason causing the failure, a difference term between the code to be converted and the page presentation code is read, wherein the difference term is used for representing the difference of the code to be converted before conversion and after conversion. Adding the read difference item to a detection result to form a new detection result, and outputting the new detection result; and determining the cause of the page display code operation failure by combining the detection result generated by the preset detection code and the difference items before and after conversion. Because the code to be converted before conversion is the code which is tested to run normally, if abnormal running occurs after conversion, the problem exists in the conversion process; thereby facilitating the rapid determination of formal logic problems in the page presentation code by the term of differences between the two.
Further, on the basis of the second embodiment of the page display transcoding method, a third embodiment of the page display transcoding method is provided, and in the third embodiment, the step of outputting the new detection result includes:
step S60-1, receiving a modification instruction sent based on the new detection result, and reading modification parameters and modification parameter values carried in the modification instruction;
further, after adding the difference item to the generated detection result, forming a new detection result and outputting the new detection result; the developer can check the detection result and determine according to the reasons which are characterized in the new detection result and possibly cause the page presentation code to fail to run. When determining, checking the new detection result, and determining whether the new detection result comprises a formal logic problem of page display codes or not; if the page display code is not included, checking the difference item in the page display code, and judging whether a cause causing the page display code to fail in operation exists in the page display code; if the method comprises the steps of modifying the form logic problem in the page display code, controlling the page display code to run again after modification, and judging whether the running is successful or not. If successful, explaining that the cause of the page presentation code operation failure is the formal logic problem pointed out in the new detection result; if not, checking the difference item in the new detection result, and judging whether a cause causing the page display code to fail in operation exists. In this embodiment, a modification operation made according to a cause or possible cause of the operation failure is taken as a modification instruction, where the modification operation taken as the modification instruction includes a parameter to be modified and a parameter value to be modified for this parameter. When a modification instruction sent based on a new detection result is received, the modification parameter and the modification parameter value carried in the modification instruction are read, so that the value corresponding to the modification parameter is modified into the modification parameter value. If the fact that the parameter a in the page display code fails to run due to incorrect naming is detected, the naming Aa of the parameter a is output as a detection result; therefore, the modification parameter carried in the modification instruction sent based on the detection result is a, the modification parameter value is AA, and the naming AA of the parameter a is modified to AA.
And step S60-2, determining a target modification parameter in the page display code according to the modification parameter, and replacing the parameter value of the target modification parameter with the modification parameter value.
Further, after the modification parameter and the modification parameter value are read, the target modification parameter in the page display code can be determined according to the modification parameter, and as the target modification parameter corresponding to the modification parameter a is all a in the page display code, the original parameter value in the page display code a is replaced by the modification parameter value, namely the parameter value Aa is replaced by the modification parameter value Aa, so that the modification of the page display code is realized, and the operation success of the page display code is ensured.
Further, referring to fig. 3, a fourth embodiment of the page presentation transcoding method according to the present invention is provided on the basis of the second embodiment of the page presentation transcoding method according to the present invention, and in the fourth embodiment, the step of outputting the prompt message that the page presentation transcoding is successful includes:
step S70, forming a key value corresponding relation between the target conversion code and the page display type, and storing the key value corresponding relation;
it can be understood that, on the premise that the code to be converted is not updated in an ascending manner, the target conversion code obtained by converting the code to be converted is suitable for the terminal corresponding to the terminal type identifier, that is, the terminal with the terminal type identifier can download and use the target conversion code. Considering that the types of terminals required to be transcoded are various, in order to carry out differentiated downloading on the target transcoded aiming at different terminal types when downloading and using; the embodiment converts the page display code and the token into the corresponding relation of the key value pair formed by the terminal type identifier applicable to which type of terminal, namely the page display code and the terminal type identifier of the terminal type applicable to the token page display code form the corresponding relation of the key value pair, and the formed corresponding relation of the key value pair is stored in a storage unit of the server. The corresponding relation of the key-value pairs (key) forms a corresponding mapping relation by keys and values (value), and the value corresponding to the key can be determined through key inquiry. When the page display code and the terminal type identifier form a key value pair, the terminal type identifier is used as a key, and the page display code is used as a value; the method and the device are used for determining the page display code corresponding to the terminal type to be downloaded according to the terminal type to be downloaded, namely the terminal type identifier, and downloading and using the page display code.
Step S80, when a downloading request is received, determining the terminal type of a terminal from which the downloading request originates according to a terminal request identifier carried in the downloading request;
further, when the page display code conversion is successful and the function can be realized through test, the converted page display code is introduced to the market for users with requirements. When a user has a use requirement, the page display code needs to be downloaded first, and a download request is sent to the service terminal through the terminal held by the user so as to request the page display code to be downloaded to the terminal held by the user. Because the storage unit of the server stores the page display codes corresponding to different types of terminals, the terminal type of the terminal from which the downloading request is sent needs to be determined before downloading, so that the page display codes corresponding to the terminal type are downloaded. The download request may be issued by the user triggering a download virtual key on the terminal, and during the triggering process, an identifier indicating the type of the terminal, such as the type of the terminal, the type of the part used on the terminal, etc., is read, and such an identifier indicating the type of the terminal is added to the download request as a terminal request identifier, and is sent to the server together with the download request. When the server receives the downloading request, the terminal request identifier carried in the downloading request is read, so that the terminal type is determined according to the terminal request identifier, and the page display code corresponding to the terminal type is downloaded.
And step S90, determining a page display code corresponding to the terminal type according to the corresponding relation of the key value pairs, and transmitting the corresponding page display code to the terminal from which the downloading request is sent.
Further, because the corresponding relation of the key value pairs stored in the server storage unit is the mapping relation between the page display code and the terminal type identifier of the terminal type applicable to the characterization page display code; after determining the terminal type of the terminal from which the downloading request originates, determining a terminal type identifier corresponding to the terminal type according to the determined terminal type; therefore, according to the corresponding relation between the page display code and the terminal type identifier in the corresponding relation of the key value pairs, the page display code corresponding to the terminal type identifier can be determined. The corresponding page display code is the page display code corresponding to the terminal type of the terminal from which the downloading request is sent, and is applicable to the terminal from which the downloading request is sent; and the page display code is issued to a terminal from which the downloading request is sent to display the page of the application software on the terminal.
Further, on the basis of the fourth embodiment of the page display transcoding method, a fifth embodiment of the page display transcoding method is provided, and in the fifth embodiment, before the step of issuing the corresponding page display code to the terminal from which the download request originates, the method includes:
And determining the display size of a display device on the terminal from which the downloading request is sent according to the downloading request, and arranging the display content in the corresponding page display code according to the display size to generate a terminal page display code.
It is understood that terminals of different models in the same type have display devices of different sizes, such as 12-inch and 14-inch displays in notebook computers. If the page display codes corresponding to the same type of terminal are all set to be identical in downloading, namely the page display codes downloaded to different types of terminals are identical, the problem of abnormal display content can occur; in a terminal having a display device with a large display size, the displayed content may not be completely spread over the display device; in a terminal having a display device with a smaller display size, contents to be displayed may not be completely displayed. In order to avoid such problems, the present embodiment is provided with a mechanism of arranging desired display contents with respect to the display size of the display device. Specifically, before a page display code is issued to a terminal from which a download request originates, the display size of a display device mounted on the terminal from which the download request originates is acquired in accordance with the download request. Because the download request carries the terminal request identifier, the terminal request can characterize the terminal model besides the terminal type, the identifier representing the terminal model in the terminal is read in the process of triggering the download request, and the identifier representing the terminal model is added into the download request. Reading an identifier representing the terminal model from the downloading request to determine the terminal model of the terminal from which the downloading request originates; and the display size of the display device can be determined according to the terminal model, wherein the display size is a display available interval in the terminal, such as a screen size interval of a mobile phone or a computer.
After the display size of the display device on the terminal is determined, the display content in the page display code can be arranged according to the display size; the display content in the page display code is content displayed on the display device through the code, and the content comprises characters, pictures, icons and the like. The pages of the application software are displayed in a page mode, such as a login page, a head page and the like, are all one page. The content in the different pages is not the same, but there is a limit to the number, i.e. the number of text, pictures or icons is limited. When arranging according to the display size of the display device, arranging is performed with respect to the difference in the number of contents that are present in different pages, wherein the arrangement includes, but is not limited to, position adjustment, size adjustment, and the like. If the number of the pictures in a certain page is 9, equally dividing the display interval into 9 grids, and placing each picture in each grid; or for 5 icons positioned at the bottom of the display device, dividing the display size of the bottom of the display device into 5 areas equally, and occupying one area after each icon is reduced. After the display contents in the page display codes are arranged, the arranged page display codes are fully applicable to the downloading terminal for sending the downloading request, the page display codes after the arrangement of the display contents are used as terminal page display codes, and then the terminal page display codes are issued to the terminal from which the downloading request is sent, so that the page of the application software is displayed on the terminal.
Further, the position adjustment rule in the arrangement process is not limited and can be adjusted according to the requirement; but the size adjustment of the display picture in the display content is based on the adjustment type of the display picture. Specifically, the step of arranging the display content in the corresponding page display code according to the display size includes:
step q1, determining the adjustment type of a display picture in the display content according to the page identifier of the display content in the corresponding page display code;
the display content in the page display code is preset with a page identifier, and the page identifier is used for representing the type of a display picture in the display content, wherein the type of the display picture comprises a zoom type and a fixed type. The zoom type display picture is that a variable is set for the display picture in a code, and the display picture is enlarged or reduced by controlling the different values of the variable; while the fixed display picture is of a fixed size, for the display picture of the same content, there are a plurality of different sizes to be suitable for different scenes. In the arrangement process, reading a page identifier of the display content in the page display code, and determining the adjustment type of the display picture in the display content according to the identifier. When the type of the display picture is determined to be a zoom type through the page identifier, determining the adjustment type of the display picture in the display content to be zoom adjustment; when the type of the display picture is determined to be fixed through the page identifier, the adjustment type of the display picture in the display content is determined to be fixed arrangement; according to different adjustment types, the arrangement of the display pictures is realized through different adjustment modes.
Q2, when the adjustment type is scaling adjustment, scaling and arranging the display pictures according to the arrangement size;
when the adjustment type of the display pictures in the display content is determined to be zoom adjustment, the display pictures are zoomed according to the display size. Specifically, according to the size of the display size and the number of the display pictures; and controlling the value of a variable in the display picture, and performing an enlarging or reducing operation on the display picture so as to enable the display picture to be uniformly distributed in a display interval represented by the display size.
And q3, when the adjustment type is fixed arrangement, calling the display pictures corresponding to the arrangement size as the display pictures in the display content to be arranged.
And when the adjustment type of the display pictures in the display content is determined to be fixed arrangement, calling the display pictures corresponding to the display size as the display pictures in the display content, and arranging the display pictures. Specifically, sets of display picture sets are set for different display sizes, such as display picture set a for display size a and display picture set B for display size B. And determining a display picture set corresponding to the display size according to the display size of the display device during arrangement, calling the display picture set, and performing arrangement operation on the display picture set as the display picture in the display content. And the sizes of the called pictures in the display picture set are preset to correspond to the display size of the current terminal display device, so that the called pictures are used as the display pictures in the display content, and the display pictures can be uniformly distributed in the display interval represented by the display size.
Further, on the basis of another embodiment of the page display transcoding method of the present invention, the step of replacing the parameter value of the parameter to be converted with the preset parameter value includes:
step p1, determining parameter comments corresponding to parameters to be converted according to the corresponding relation between the parameters to be converted and the parameter comments in a preset mapping table;
it will be appreciated that after the replacement operation of the parameter values of the parameters to be converted with the preset parameter values, there may be a need to view the content replaced in the code to be converted. In order to facilitate rapid determination of the content represented by each replaced parameter to be converted in the viewing process, the embodiment sets parameter annotation on the parameter to be converted, and annotates the content represented by the parameter to be converted through parameter annotation. And forming a corresponding relation between each parameter to be converted and the corresponding parameter annotation, and placing the corresponding relation into a preset mapping table which is a data table preset for storing the parameter to be converted and the corresponding parameter annotation. After the replacement operation is performed on the parameters to be converted, determining parameter comments corresponding to the parameters to be converted for the replacement operation according to the corresponding relation between the parameters to be converted and the parameter comments in the preset mapping table, and determining which contents in the codes to be converted are subjected to the replacement operation through the parameter comments.
And p2, correspondingly adding the parameter annotation to a code row of the code to be converted where the parameter to be converted is located, and displaying the code row in a distinguishing manner from other code rows in the code to be converted.
Further, since each code in the code to be converted is arranged in a line form, that is, the code to be converted includes a plurality of lines of codes, each line of codes is taken as a code line of the code to be converted. The parameters to be converted which need to be converted exist in different code lines, after parameter comments corresponding to the parameters to be converted for replacement operation are determined, the parameter comments are correspondingly added into the code line of the codes to be converted where the parameters to be converted for replacement operation are located, and after the codes of the code line of the parameters to be converted are finished, the corresponding parameter comments are subjected to addition operation. If the parameter W to be converted is in line 19 in the code to be converted, determining the parameter annotation corresponding to W as W according to a preset mapping table, and adding W to the position of the code end in line 19. Meanwhile, the code line where the parameter to be converted is located and other code lines without the parameter to be converted are displayed in a distinguishing mode, and the distinguishing mode can be distinguished through colors or fonts. By adding parameter annotation and distinguishing display, the code row where the parameter to be converted in the replacing operation is located is conveniently determined according to the code row in distinguishing display, and further, replaced content can be determined according to the annotation added in the code row, so that the viewing operation is convenient.
In addition, referring to fig. 4, the present invention provides a page display transcoding device, in a first embodiment of the present invention, the page display transcoding device includes:
the reading module 10 is configured to, when receiving a code to be converted, read a type identifier carried in the code to be converted, and determine a conversion template and a terminal type identifier according to the type identifier;
the calling module 20 is configured to call the conversion template to detect the code to be converted, judge whether a preset conversion parameter in the conversion template exists in the code to be converted line by line, and determine the preset conversion parameter existing in the code to be converted as the parameter to be converted in the code to be converted if the preset conversion parameter exists in the conversion template;
and the conversion module 30 is configured to determine a preset parameter value corresponding to the parameter to be converted in the conversion template according to the terminal type identifier, and replace the parameter value of the parameter to be converted with the preset parameter value, so as to convert the code to be converted into a page display code.
When receiving the code to be converted, the reading module 10 reads the type identifier carried in the code to be converted, and determines the conversion template and the terminal type identifier according to the type identifier; the calling module 20 calls the conversion template to detect the code to be converted line by line and judges whether the code to be converted has preset conversion parameters in the conversion template, if so, the preset conversion parameters in the code to be converted are determined to be the parameters to be converted in the code to be converted; the conversion module 30 determines a preset parameter value corresponding to the parameter to be converted in the conversion template according to the terminal type identifier, and replaces the parameter value of the parameter to be converted with the preset parameter value to convert the code to be converted into the page display code. The method comprises the steps of setting a conversion mechanism for codes to be converted for page display, presetting conversion templates for converting page display codes of different application software, and presetting parameter values suitable for page display of different terminals; when a code to be converted is received, determining a conversion template of the type of the application software represented by the code to be converted through a type identifier in the code to be converted; detecting parameters to be converted in the codes to be converted through a conversion template, determining preset parameter values applicable to the types of the terminals to be converted of the codes to be converted through the terminal type identifiers, and replacing the parameter values of the parameters to be converted with the preset parameter values; the conversion of the page display codes of the same application software among different types of terminals is completed, the development of the page display codes of the same application software aiming at different types of terminals is avoided, the workload of staff is reduced, and the labor cost is reduced.
The virtual function modules of the above-mentioned page display transcoding device are stored in the memory 1005 of the page display transcoding device shown in fig. 5, and when the processor 1001 executes the page display transcoding program, the functions of the modules in the embodiment shown in fig. 4 are implemented.
Referring to fig. 5, fig. 5 is a schematic device structure of a hardware running environment related to a method according to an embodiment of the present invention.
The page display code conversion equipment of the embodiment of the invention can be a PC (personal computer ) or terminal equipment such as a smart phone, a tablet personal computer, an electronic book reader, a portable computer and the like.
As shown in fig. 5, the page presentation transcoding device may include: a processor 1001, such as a CPU (Central Processing Unit ), a memory 1005, and a communication bus 1002. Wherein a communication bus 1002 is used to enable connected communication between the processor 1001 and a memory 1005. The memory 1005 may be a high-speed RAM (random access memory ) or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the page presentation transcoding device may also include a user interface, a network interface, a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, wiFi (Wireless Fidelity, wireless broadband) modules, and the like. The user interface may comprise a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface may further comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
Those skilled in the art will appreciate that the page-presented transcoding device architecture shown in fig. 5 does not constitute a limitation of the page-presented transcoding device, and may include more or fewer components than illustrated, or may combine certain components, or may be a different arrangement of components.
As shown in fig. 5, an operating system, a network communication module, and a page presentation transcoding program may be included in a memory 1005, which is a computer storage medium. The operating system is a program that manages and controls the page-exposing transcoding device hardware and software resources, supporting the execution of page-exposing transcoding programs and other software and/or programs. The network communication module is used to enable communication between components within the memory 1005 and with other hardware and software in the page presentation transcoding device.
In the page presentation transcoding device shown in fig. 5, the processor 1001 is configured to execute a page presentation transcoding program stored in the memory 1005, and implement the steps in the embodiments of the above page presentation transcoding method.
The present invention provides a computer storage medium storing one or more programs that are further executable by one or more processors for implementing the steps in the embodiments of the page presentation transcoding method described above.
It should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a computer storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structural changes made by the specification and drawings of the present invention or direct/indirect application in other related technical fields are included in the scope of the present invention.

Claims (7)

1. A method of page presentation transcoding, the method comprising the steps of:
when a code to be converted is received, reading a type identifier carried in the code to be converted, and determining a conversion template and a terminal type identifier according to the type identifier;
wherein the types include two aspects of application software type and applicable terminal type; when a conversion requirement exists, a developer uploads a code to be converted, which is required to be converted and is tested successfully, to a server; in order to distinguish the types of the codes to be converted, setting a type identifier for the codes to be converted before uploading to characterize the type of the codes to be converted, wherein the type comprises two aspects of an application software type and an applicable terminal type;
invoking the conversion template to detect the code to be converted, judging whether preset conversion parameters in the conversion template exist in the code to be converted line by line, and determining the preset conversion parameters existing in the code to be converted as the parameters to be converted in the code to be converted if the preset conversion parameters exist in the conversion template;
According to the terminal type identifier, determining a preset parameter value corresponding to the parameter to be converted in the conversion template, and replacing the parameter value of the parameter to be converted with the preset parameter value to convert the code to be converted into a page display code;
the step of converting the code to be converted into the page display code comprises the following steps:
controlling the page display code to run, generating a running result, judging whether the running result is successful, and if the running result is successful, outputting prompt information that the page display code conversion is successful;
if the operation result is that the operation fails, a preset detection code is called to detect the validity of form logic in the page display code, and a detection result is generated;
obtaining a difference item between the code to be converted and the page display code, adding the difference item to the detection result to form a new detection result, and outputting the new detection result;
the step of outputting the prompt information that the page presentation transcoding is successful comprises the following steps:
forming a key value corresponding relation between the page display code and the terminal type identifier, and storing the key value corresponding relation;
When a downloading request is received, determining the terminal type of a terminal from which the downloading request is sent according to a terminal request identifier carried in the downloading request;
determining a page display code corresponding to the terminal type according to the corresponding relation of the key value pairs, and transmitting the corresponding page display code to the terminal from which the downloading request is sent;
the step of issuing the corresponding page presentation code to the terminal from which the download request originates includes:
and determining the display size of a display device on the terminal from which the downloading request is sent according to the downloading request, and arranging the display content in the corresponding page display code according to the display size to generate a terminal page display code.
2. The page presentation transcoding method of claim 1, wherein said step of outputting said new detection result comprises, after:
receiving a modification instruction sent based on the new detection result, and reading modification parameters and modification parameter values carried in the modification instruction;
and determining a target modification parameter in the page display code according to the modification parameter, and replacing a parameter value of the target modification parameter with the modification parameter value.
3. The page presentation transcoding method of claim 1, wherein said step of arranging display contents in said corresponding page presentation code according to said display size comprises:
determining the adjustment type of a display picture in the display content according to the page identifier of the display content in the corresponding page display code;
when the adjustment type is scaling adjustment, scaling arrangement is carried out on the display pictures according to the display size;
and when the adjustment type is fixed arrangement, calling the display picture corresponding to the display size as the display picture in the display content to be arranged.
4. A page presentation transcoding method as claimed in any one of claims 1 to 3, wherein said step of replacing the parameter values of said parameters to be converted with said preset parameter values comprises, after said step of:
according to the corresponding relation between each parameter to be converted and the parameter annotation in a preset mapping table, determining the parameter annotation corresponding to the parameter to be converted;
and correspondingly adding the parameter annotation to a code row of the code to be converted where the parameter to be converted is located, and displaying the code row in a distinguishing way from other code rows in the code to be converted.
5. A page presentation transcoding apparatus, said page presentation transcoding apparatus comprising:
the reading module is used for reading the type identifier carried in the code to be converted when the code to be converted is received, and determining a conversion template and a terminal type identifier according to the type identifier;
wherein the types include two aspects of application software type and applicable terminal type; when a conversion requirement exists, a developer uploads a code to be converted, which is required to be converted and is tested successfully, to a server; in order to distinguish the types of the codes to be converted, setting a type identifier for the codes to be converted before uploading to characterize the type of the codes to be converted, wherein the type comprises two aspects of an application software type and an applicable terminal type;
the calling module is used for calling the conversion template to detect the codes to be converted, judging whether preset conversion parameters in the conversion template exist in the codes to be converted line by line, and determining the preset conversion parameters existing in the codes to be converted as the parameters to be converted in the codes to be converted if the preset conversion parameters exist in the conversion template;
The conversion module is used for determining a preset parameter value corresponding to the parameter to be converted in the conversion template according to the terminal type identifier, and replacing the parameter value of the parameter to be converted with the preset parameter value so as to convert the code to be converted into a page display code;
the page presentation transcoding device is used for realizing:
controlling the page display code to run, generating a running result, judging whether the running result is successful, and if the running result is successful, outputting prompt information that the page display code conversion is successful;
if the operation result is that the operation fails, a preset detection code is called to detect the validity of form logic in the page display code, and a detection result is generated;
obtaining a difference item between the code to be converted and the page display code, adding the difference item to the detection result to form a new detection result, and outputting the new detection result;
the page presentation transcoding device is used for realizing: forming a key value corresponding relation between the page display code and the terminal type identifier, and storing the key value corresponding relation;
When a downloading request is received, determining the terminal type of a terminal from which the downloading request is sent according to a terminal request identifier carried in the downloading request;
determining a page display code corresponding to the terminal type according to the corresponding relation of the key value pairs, and transmitting the corresponding page display code to the terminal from which the downloading request is sent;
the page presentation transcoding device is used for realizing:
and determining the display size of a display device on the terminal from which the downloading request is sent according to the downloading request, and arranging the display content in the corresponding page display code according to the display size to generate a terminal page display code.
6. A page presentation transcoding device, the page presentation transcoding device comprising: a memory, a processor, a communication bus, and a page presentation transcoding program stored on the memory;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the page presentation transcoding program to implement the steps of the page presentation transcoding method as claimed in any one of claims 1 to 4.
7. A computer storage medium having stored thereon a page presentation transcoding program which when executed by a processor implements the steps of the page presentation transcoding method of any of claims 1 to 4.
CN201810499736.6A 2018-05-23 2018-05-23 Page display code conversion method, device, equipment and computer storage medium Active CN108717357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810499736.6A CN108717357B (en) 2018-05-23 2018-05-23 Page display code conversion method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810499736.6A CN108717357B (en) 2018-05-23 2018-05-23 Page display code conversion method, device, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN108717357A CN108717357A (en) 2018-10-30
CN108717357B true CN108717357B (en) 2023-11-10

Family

ID=63900457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810499736.6A Active CN108717357B (en) 2018-05-23 2018-05-23 Page display code conversion method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN108717357B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515623B (en) * 2019-07-09 2023-01-20 北京达佳互联信息技术有限公司 Method and device for realizing graphic operation, electronic equipment and storage medium
CN110928539B (en) * 2019-11-20 2021-01-29 北京城市网邻信息技术有限公司 Code engineering generation method and device, electronic equipment and readable storage medium
CN114996226B (en) * 2021-11-05 2023-03-31 荣耀终端有限公司 Icon detection method, electronic device, readable storage medium, and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945081A (en) * 2009-07-06 2011-01-12 北京易路联动技术有限公司 Code conversion method, system and server of class webpage applications
CN103544019A (en) * 2013-11-01 2014-01-29 上海北鸥信息科技有限公司 E-book application program automatic generation achieving method based on application program template
CN104346146A (en) * 2013-07-29 2015-02-11 腾讯科技(深圳)有限公司 Method and device for cross-platform conversion of application codes
CN107589946A (en) * 2017-09-12 2018-01-16 中国银行股份有限公司 A kind of Net silver gas producing formation code automatic generation method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9329849B2 (en) * 2013-08-26 2016-05-03 Facebook, Inc. Systems and methods for converting typed code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945081A (en) * 2009-07-06 2011-01-12 北京易路联动技术有限公司 Code conversion method, system and server of class webpage applications
CN104346146A (en) * 2013-07-29 2015-02-11 腾讯科技(深圳)有限公司 Method and device for cross-platform conversion of application codes
CN103544019A (en) * 2013-11-01 2014-01-29 上海北鸥信息科技有限公司 E-book application program automatic generation achieving method based on application program template
CN107589946A (en) * 2017-09-12 2018-01-16 中国银行股份有限公司 A kind of Net silver gas producing formation code automatic generation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于自适应模板的异构数据转换技术研究与实现;严宏;中国民航飞行学院学报;第24卷(第03期);第43-47、54页 *

Also Published As

Publication number Publication date
CN108717357A (en) 2018-10-30

Similar Documents

Publication Publication Date Title
CN108768875B (en) Application gray level publishing method and device and computer readable storage medium
CN108717357B (en) Page display code conversion method, device, equipment and computer storage medium
CN109901881B (en) Plug-in loading method and device of application program, computer equipment and storage medium
US8576233B2 (en) Program generation device, program generation method, and computer-readable storage medium
CN107807841B (en) Server simulation method, device, equipment and readable storage medium
CN111475390A (en) Log collection system deployment method, device, equipment and storage medium
US20170111531A1 (en) Scan processing system, information processing system, and cooperative processing method
CN107426588B (en) Method, system and storage device for acquiring television set configuration information
CN109710510B (en) Code submitting method, device, equipment and readable storage medium
CN112423024A (en) Video transcoding method and device, computer equipment and storage medium
CN115913913B (en) Network card pre-starting execution environment function fault positioning method and device
CN116301866A (en) Cloud rendering method, device, equipment and storage medium based on custom software
US20200394247A1 (en) Information processing system, server apparatus, and information processing method
CN110049374B (en) Focus frame determination method and device
CN111614676B (en) Login method, device, equipment and medium
CN110908684B (en) Method and device for updating silk-screen information of configuration page memory
CN113590564A (en) Data storage method and device, electronic equipment and storage medium
JP6903978B2 (en) Mobile terminals, server devices, information processing systems, control methods, and programs
CN112433783A (en) Configuration method and related equipment
CN111309613A (en) Application testing method, device, equipment and computer readable storage medium
US20190149614A1 (en) Storage medium, information processing device, and processing method
CN111352023A (en) Crystal oscillator detection method and device and computer readable storage medium
CN112491799B (en) Remote repair method and device for communication module, computer equipment and storage medium
CN115469909B (en) Instruction updating method, working method, device, equipment and medium of software platform
CN111309326A (en) Path script generation method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant